Repo Added
|
Files
89
|
Badge
README BADGES
|
push
github
Followup fix for embedded bytecode loader. (cherry-picked from commit e49863eda) The patch follows up a previous patch and limits the total size of a chunk load by `lua_load` with size `LJ_MAX_BUF - 1`. The proposed test `lj-549-lua-load.test` checks corner cases in `lua_load` function and covers this and the previous patch partially. Sergey Bronnikov: * added the description and the test Part of tarantool/tarantool#9145
5412 of 6002 branches covered (0.0%)
Branch coverage included in aggregate %.
20718 of 23380 relevant lines covered (88.61%)
2806709.98 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
13.79 | src/lj_utils_leb128.c | 132 | 51 | 7 | 44 | 1585418.0 - 102 | 1 | 6 | |
61.83 | src/lj_clib.c | 431 | 101 | 65 | 36 | 2773.0 | 16 | 14 | |
65.09 | src/lj_cconv.c | 765 | 389 | 241 | 148 | 461599.0 + 424 | 89 | 29 | |
66.62 | src/lj_cparse.c | 1937 | 1030 | 683 | 347 | 156035.0 + 177 | 199 | 95 | |
71.76 | src/lj_carith.c | 433 | 255 | 181 | 74 | 483613.0 + 488 | 68 | 24 | |
73.82 | src/lj_strscan.c | 540 | 263 | 193 | 70 | 2813445.0 + 202980 | 103 | 35 | |
74.84 | src/lj_api.c | 1368 | 859 | 637 | 222 | 948458.0 + 779 | 178 | 52 | |
75.54 | src/lj_crecord.c | 1916 | 930 | 683 + 1 | 247 - 1 | 86.0 - 3 | 219 + 1 | 45 - 1 | |
75.82 | src/lj_opt_fold.c | 2537 | 977 | 725 - 8 | 252 + 8 | 31624.0 + 51 | 241 - 1 | 56 + 1 | |
76.47 | src/lj_ccallback.c | 786 | 155 | 119 | 36 | 37.0 | 24 | 8 |