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

ICRAR / ijson / 231
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: release-3.2.0
DEFAULT BRANCH: master
Ran 11 Aug 2020 04:50PM UTC
Jobs 12
Files 73
Run time 2min
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
231

push

travis-ci-com

rtobar
Create builder_t objects on the stack, not heap

We previously created the builder separately on the heap. This process
involved memory allocations, which have a chance to fail, although in
our case it is very minimal. This small possibility however accounted
for some code that was missing coverage (because the error never
occurred).

This code changes how builder_t objects are managed, allocating its
memory together with the object that contains it (ItemsBasecoro and
KVItemsBasecoro). This in turn means we don't need to perform an extra
memory allocation, and therefore removing this uncovered code.

This change should also have some further improvements, as the builder's
memory resides closer potentially to the rest of its container object.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>

21 of 21 new or added lines in 3 files covered. (100.0%)

1514 of 1517 relevant lines covered (99.8%)

369.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 231.1 (YAJL_VERSION=1.0.12) 11 Aug 2020 04:50PM UTC 0
75.95
Travis Job 231.1
2 231.2 11 Aug 2020 04:50PM UTC 0
92.02
Travis Job 231.2
3 231.3 (YAJL_VERSION=1.0.9) 11 Aug 2020 04:50PM UTC 0
76.2
Travis Job 231.3
4 231.4 11 Aug 2020 04:50PM UTC 0
91.9
Travis Job 231.4
5 231.5 (UPLOAD_C_COVERAGE=yes) 11 Aug 2020 04:50PM UTC 0
99.7
Travis Job 231.5
6 231.6 (YAJL_VERSION=cant_find_it) 11 Aug 2020 04:50PM UTC 0
72.68
Travis Job 231.6
7 231.7 11 Aug 2020 04:50PM UTC 0
95.06
Travis Job 231.7
8 231.8 11 Aug 2020 04:51PM UTC 0
95.06
Travis Job 231.8
9 231.9 (YAJL_VERSION=none) 11 Aug 2020 04:51PM UTC 0
72.33
Travis Job 231.9
10 231.10 11 Aug 2020 04:51PM UTC 0
95.22
Travis Job 231.10
11 231.11 11 Aug 2020 04:51PM UTC 0
95.22
Travis Job 231.11
12 231.12 11 Aug 2020 04:52PM UTC 0
87.24
Travis Job 231.12
Source Files on build 231
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #231
  • efba866c on github
  • Next Build on coverage-increase (#232)
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