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

tarantool / luajit / 29917445400
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: ligurio/lj-1459-ub-carith_ptr
DEFAULT BRANCH: tarantool/master
Ran 22 Jul 2026 11:56AM UTC
Jobs 1
Files 89
Run time 1min
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

22 Jul 2026 11:51AM UTC coverage: 93.415% (+0.3%) from 93.165%
29917445400

push

github

Buristan
test: add tests for the leb128 encode/decode

This patch is a follow-up to the commit
7058e9215 ("utils: introduce leb128
reader and writer").

The leb128 encoding is used inside our profilers (memprof/sysprof). But
there are no tests for this module, so its coverage is low, since only
`lj_utils_write_uleb128()` is used. Also, there is no correctness check
for this implementation.

This patch adapts the LuaVela tests [1] to cover this module. Since the
initial version of the module wasn't adapted as is, the guarded version
of the reader functions has different behaviour for zero-sized requested
reads. Hence, this case is removed for now. The readers with a requested
size are unused in our code, so this is not crucial at the moment.

[1]: https://github.com/luavela/luavela/blob/288e8a952/tests/impl/uJIT-tests-C/suite/test_leb128.c

5737 of 6058 branches covered (94.7%)

Branch coverage included in aggregate %.

21927 of 23556 relevant lines covered (93.08%)

3972606.19 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
94.74
-2.87% src/lj_str.c
2
91.11
-0.32% src/lj_alloc.c
2
96.66
-0.1% src/lj_record.c
1
77.03
0.16% src/lj_opt_fold.c
Jobs
ID Job ID Ran Files Coverage
1 29917445400.1 22 Jul 2026 11:56AM UTC 89
93.42
GitHub Action Run
Source Files on build 29917445400
  • Tree
  • List 89
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29917445400
  • 82d8fb09 on github
  • Prev Build on tarantool/master (#28652074394)
  • Next Build on skaplun/gh-noticket-leb128-testsing (#29922282959)
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