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

neovim / neovim / 1107
77%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2014 01:57AM UTC
Jobs 1
Files 165
Run time 44s
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
1107

push

travis-ci

tarruda
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. eval.c will soon be
obsolete and I will deal with ex_.c in later PRs.

684 of 684 new or added lines in 35 files covered. (100.0%)

338 of 93809 relevant lines covered (0.36%)

0.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
96
100.0
src/misc1.c
87
100.0
src/edit.c
50
100.0
src/syntax.c
47
100.0
src/memline.c
40
100.0
src/misc2.c
33
100.0
src/if_cscope.c
33
100.0
src/screen.c
32
100.0
src/message.c
24
100.0
src/mbyte.c
24
100.0
src/spell.c
24
100.0
src/tag.c
23
100.0
src/fileio.c
16
100.0
src/getchar.c
14
100.0
src/file_search.c
13
100.0
src/search.c
12
100.0
src/quickfix.c
12
100.0
src/ui.c
11
100.0
src/buffer.c
11
100.0
src/diff.c
11
100.0
src/ops.c
11
100.0
src/regexp.c
10
100.0
src/menu.c
8
100.0
src/indent_c.c
8
100.0
src/regexp_nfa.c
5
100.0
src/garray.c
5
100.0
src/main.c
5
100.0
src/option.c
4
100.0
src/os_unix.c
3
100.0
src/fold.c
3
100.0
src/path.c
2
100.0
src/undo.c
2
100.0
src/window.c
1
100.0
src/mark.c
1
100.0
src/memory.c
1
100.0
src/normal.c
Jobs
ID Job ID Ran Files Coverage
2 1107.2 07 Apr 2014 01:57AM UTC 0
0.36
Travis Job 1107.2
Source Files on build 1107
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1107
  • 13848aad on github
  • Prev Build on master (#1091)
  • Next Build on master (#1111)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc