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

ICRAR / ijson / 232
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: release-3.2.0
DEFAULT BRANCH: master
Ran 13 Aug 2020 07:34AM 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
232

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>

1514 of 1517 relevant lines covered (99.8%)

369.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 232.1 (YAJL_VERSION=1.0.12) 13 Aug 2020 07:34AM UTC 0
75.95
Travis Job 232.1
2 232.2 13 Aug 2020 07:34AM UTC 0
92.02
Travis Job 232.2
3 232.3 (YAJL_VERSION=1.0.9) 13 Aug 2020 07:34AM UTC 0
76.2
Travis Job 232.3
4 232.4 13 Aug 2020 07:34AM UTC 0
91.9
Travis Job 232.4
5 232.5 (UPLOAD_C_COVERAGE=yes) 13 Aug 2020 07:34AM UTC 0
99.7
Travis Job 232.5
6 232.6 (YAJL_VERSION=cant_find_it) 13 Aug 2020 07:34AM UTC 0
72.68
Travis Job 232.6
7 232.7 13 Aug 2020 07:35AM UTC 0
95.06
Travis Job 232.7
8 232.8 13 Aug 2020 07:35AM UTC 0
95.06
Travis Job 232.8
9 232.9 (YAJL_VERSION=none) 13 Aug 2020 07:35AM UTC 0
72.33
Travis Job 232.9
10 232.10 13 Aug 2020 07:35AM UTC 0
95.22
Travis Job 232.10
11 232.11 13 Aug 2020 07:36AM UTC 0
95.22
Travis Job 232.11
12 232.12 13 Aug 2020 07:36AM UTC 0
87.24
Travis Job 232.12
Source Files on build 232
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #232
  • 7650287f on github
  • Prev Build on coverage-increase (#231)
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