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

tarantool / luajit / 6009422307
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 29 Aug 2023 07:52AM UTC
Jobs 1
Files 89
Run time 5s
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

29 Aug 2023 07:30AM UTC coverage: 87.986% (-0.1%) from 88.112%
6009422307

push

github

igormunkin
Fix binary number literal parsing.

Reported by Egor Skriptunoff.

(cherry-picked from commit 377a8488b)

A binary number with a fractional part is invalid. Parsing of such
binary numbers returns `STRSCAN_ERROR` for any numbers with a non-zero
fractional part because it gives a non-zero power of the exponent
(`ex2`) in `strscan_bin()`. But binary numbers with a zero fractional
part are considered valid numbers. To avoid such inconsistency the
check, that the given base doesn't equal 2, is added, when parsing the
decimal point part of the literal.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#8825

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>

5326 of 5967 branches covered (0.0%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

20410 of 23283 relevant lines covered (87.66%)

1295920.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.11
-2.63% src/lj_vmmath.c
4
75.77
-0.32% src/lj_opt_fold.c
7
88.13
-1.01% src/lj_ffrecord.c
42
64.44
-17.78% src/lj_sysprof.c
Jobs
ID Job ID Ran Files Coverage
1 6009422307.1 29 Aug 2023 07:52AM UTC 89
87.99
GitHub Action Run
Source Files on build 6009422307
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6009422307
  • 5a6e8560 on github
  • Prev Build on tarantool/master (#6008722496)
  • Next Build on tarantool/master (#6010135777)
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

© 2025 Coveralls, Inc