• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

neovim / neovim / 1001
77%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2014 05:17AM UTC
Jobs 2
Files 163
Run time 9min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1001

Pull #466

travis-ci

philix
Remove simpler cases of OOM error handling (after *alloc calls)

By simpler cases I mean cases where the OOM error is not expected to be handled
by the caller of the function that calls `alloc`, `lalloc`, `xrealloc`,
`xmalloc`, `alloc_clear`, and `lalloc_clear`.

These are the functions that:

 - Do not return an allocated buffer
 - Have OOM as the only error condition

I took note of the functions that expect the caller to handle the OOM error and
will go through them to check all the callers that may be handling OOM error in
future commits.

I'm ignoring eval.c and ex_*.c in this series of commits as these files are
being heavily refactored by @ZyX-I.
Pull Request #466: [RFC] Remove simpler cases of OOM error handling (after *alloc calls)

620 of 620 new or added lines in 32 files covered. (100.0%)

64583 of 112808 relevant lines covered (57.25%)

90767.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
57
100.0
src/edit.c
52
100.0
src/misc1.c
46
100.0
src/syntax.c
32
100.0
src/screen.c
22
100.0
src/if_cscope.c
16
100.0
src/memline.c
15
100.0
src/tag.c
12
100.0
src/spell.c
11
100.0
src/buffer.c
11
100.0
src/search.c
9
100.0
src/menu.c
9
100.0
src/ui.c
8
100.0
src/getchar.c
6
100.0
src/misc2.c
5
100.0
src/file_search.c
5
100.0
src/fileio.c
4
100.0
src/diff.c
4
100.0
src/message.c
4
100.0
src/option.c
3
100.0
src/mbyte.c
3
100.0
src/ops.c
3
100.0
src/quickfix.c
2
100.0
src/fold.c
1
100.0
src/regexp.c
1
100.0
src/regexp_nfa.c

Coverage Regressions

Lines Coverage ∆ File
1333
100.0
src/ex_cmds.c
137
100.0
src/os_unix.c
126
100.0
src/quickfix.c
53
100.0
src/misc2.c
14
100.0
src/if_cscope.c
14
100.0
src/mbyte.c
9
100.0
src/memline.c
8
100.0
src/ops.c
3
100.0
src/buffer.c
3
100.0
src/getchar.c
3
100.0
src/misc1.c
2
100.0
src/hardcopy.c
2
100.0
src/option.c
2
100.0
src/spell.c
2
100.0
src/syntax.c
1
100.0
src/file_search.c
1
100.0
src/fold.c
1
100.0
src/indent.c
1
100.0
src/main.c
1
100.0
src/menu.c
1
100.0
src/screen.c
1
100.0
src/search.c
1
100.0
src/ui.c
Jobs
ID Job ID Ran Files Coverage
1 1001.1 04 Apr 2014 05:26AM UTC 0
60.03
Travis Job 1001.1
2 1001.2 04 Apr 2014 05:17AM UTC 0
0.35
Travis Job 1001.2
Source Files on build 1001
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1001
  • Pull Request #466
  • PR Base - master (#982)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc