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

neovim / neovim / 999
77%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2014 03:50AM UTC
Jobs 1
Files 163
Run time 49s
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
999

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)

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

325 of 93824 relevant lines covered (0.35%)

0.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
88
100.0
src/misc1.c
81
100.0
src/edit.c
44
100.0
src/memline.c
44
100.0
src/syntax.c
32
100.0
src/screen.c
28
100.0
src/message.c
22
100.0
src/if_cscope.c
21
100.0
src/spell.c
20
100.0
src/fileio.c
19
100.0
src/tag.c
14
100.0
src/mbyte.c
12
100.0
src/file_search.c
12
100.0
src/regexp.c
11
100.0
src/diff.c
11
100.0
src/misc2.c
11
100.0
src/ops.c
11
100.0
src/search.c
10
100.0
src/buffer.c
9
100.0
src/getchar.c
9
100.0
src/menu.c
9
100.0
src/ui.c
8
100.0
src/regexp_nfa.c
7
100.0
src/indent_c.c
6
100.0
src/quickfix.c
4
100.0
src/garray.c
4
100.0
src/option.c
3
100.0
src/os_unix.c
2
100.0
src/fold.c
2
100.0
src/path.c
1
100.0
src/mark.c
1
100.0
src/undo.c
1
100.0
src/window.c

Coverage Regressions

Lines Coverage ∆ File
4807
100.0
src/eval.c
3931
100.0
src/spell.c
2534
100.0
src/fileio.c
2282
100.0
src/option.c
2227
100.0
src/screen.c
2087
100.0
src/ex_docmd.c
2068
100.0
src/edit.c
2046
100.0
src/regexp.c
1881
100.0
src/regexp_nfa.c
1584
100.0
src/ops.c
1470
100.0
src/window.c
1384
100.0
src/normal.c
1333
100.0
src/ex_cmds.c
1288
100.0
src/search.c
1271
100.0
src/syntax.c
1240
100.0
src/indent_c.c
1188
100.0
src/memline.c
1028
100.0
src/buffer.c
942
100.0
src/quickfix.c
907
100.0
src/getchar.c
886
100.0
src/undo.c
873
100.0
src/misc1.c
856
100.0
src/ex_getln.c
827
100.0
src/message.c
783
100.0
src/fold.c
615
100.0
src/ex_cmds2.c
581
100.0
src/move.c
566
100.0
src/mbyte.c
532
100.0
src/diff.c
526
100.0
src/ex_eval.c
505
100.0
src/tag.c
502
100.0
src/term.c
474
100.0
src/charset.c
473
100.0
src/path.c
447
100.0
src/os_unix.c
431
100.0
src/misc2.c
398
100.0
src/main.c
349
100.0
src/file_search.c
347
100.0
src/mark.c
312
100.0
src/memfile.c
189
100.0
src/sha256.c
183
100.0
src/indent.c
137
100.0
src/keymap.c
121
100.0
src/popupmnu.c
107
100.0
src/hashtab.c
88
100.0
src/ui.c
80
100.0
src/blowfish.c
73
100.0
src/crypt.c
66
100.0
src/cursor_shape.c
63
100.0
src/menu.c
47
100.0
src/os/input.c
39
100.0
src/garray.c
38
100.0
src/os/event.c
38
100.0
src/os/shell.c
27
100.0
src/if_cscope.c
19
100.0
src/os/time.c
16
100.0
src/os/signal.c
14
100.0
src/digraph.c
8
100.0
src/hardcopy.c
3
100.0
src/arabic.c
1
100.0
src/arabic.h
1
100.0
src/version.c
Jobs
ID Job ID Ran Files Coverage
2 999.2 04 Apr 2014 03:50AM UTC 0
0.35
Travis Job 999.2
Source Files on build 999
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #999
  • 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