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

neovim / neovim / 1017
77%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2014 07:57PM UTC
Jobs 2
Files 165
Run time 10min
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
1017

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)

682 of 682 new or added lines in 33 files covered. (100.0%)

64586 of 112814 relevant lines covered (57.25%)

90790.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
58
100.0
src/edit.c
56
100.0
src/misc1.c
52
100.0
src/syntax.c
33
100.0
src/if_cscope.c
33
100.0
src/screen.c
19
100.0
src/misc2.c
14
100.0
src/memline.c
14
100.0
src/tag.c
13
100.0
src/search.c
12
100.0
src/spell.c
11
100.0
src/buffer.c
10
100.0
src/menu.c
10
100.0
src/ui.c
7
100.0
src/getchar.c
6
100.0
src/message.c
4
100.0
src/diff.c
4
100.0
src/file_search.c
4
100.0
src/fileio.c
4
100.0
src/quickfix.c
3
100.0
src/fold.c
3
100.0
src/mbyte.c
3
100.0
src/ops.c
3
100.0
src/option.c
1
100.0
src/regexp.c
1
100.0
src/regexp_nfa.c

Coverage Regressions

Lines Coverage ∆ File
137
100.0
src/os_unix.c
14
100.0
src/mbyte.c
7
100.0
src/if_cscope.c
7
100.0
src/memline.c
6
100.0
src/ops.c
5
100.0
src/buffer.c
3
100.0
src/getchar.c
2
100.0
src/main.c
2
100.0
src/misc2.c
2
100.0
src/tag.c
2
100.0
src/undo.c
1
100.0
src/edit.c
1
100.0
src/fileio.c
1
100.0
src/file_search.c
1
100.0
src/hardcopy.c
1
100.0
src/indent.c
1
100.0
src/option.c
1
100.0
src/screen.c
1
100.0
src/syntax.c
1
100.0
src/ui.c
Jobs
ID Job ID Ran Files Coverage
1 1017.1 04 Apr 2014 08:08PM UTC 0
60.02
Travis Job 1017.1
2 1017.2 04 Apr 2014 07:57PM UTC 0
0.35
Travis Job 1017.2
Source Files on build 1017
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1017
  • Pull Request #466
  • PR Base - master (#1016)
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