Ran
|
Files
89
|
Run time
4s
|
Badge
README BADGES
|
push
github
Follow-up fix for stack overflow handling cleanup. (cherry-picked from commit aa6b15c1a) The stack overflow error is thrown in `lj_state_growstack` only if the coroutine status is `OK`, however, stack overflow can happen on a yielded coroutine too. This patch fixes the condition for status, so now the error thrown on yielded coroutines too. Maxim Kokryashkin: * added the description and the test for the patch Part of tarantool/tarantool#9145
5405 of 5996 branches covered (0.0%)
Branch coverage included in aggregate %.
20712 of 23360 relevant lines covered (88.66%)
2752040.42 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 | 1709053.0 + 36242 | |||
61.83 | src/lj_clib.c | 431 | 101 | 65 | 36 | 2770.0 + 10 | |||
65.09 | src/lj_cconv.c | 765 + 2 | 389 + 2 | 241 + 3 | 148 - 1 | 521994.0 - 3184 | |||
66.62 | src/lj_cparse.c | 1937 | 1030 | 683 + 2 | 347 - 2 | 191094.0 + 3323 | |||
71.76 | src/lj_carith.c | 433 + 4 | 255 + 3 | 181 + 6 | 74 - 3 | 539541.0 - 18486 | |||
73.62 | src/lj_strscan.c | 537 | 261 | 191 | 70 | 2807853.0 + 2639 | |||
75.38 | src/lj_crecord.c | 1916 + 4 | 930 + 3 | 682 + 27 | 248 - 24 | 97.0 - 5 | |||
75.85 | src/lj_api.c | 1368 | 859 | 647 + 10 | 212 - 10 | 934260.0 - 12847 | |||
76.47 | src/lj_ccallback.c | 786 | 155 | 119 | 36 | 37.0 | |||
76.53 | src/lj_opt_fold.c | 2537 + 12 | 977 + 3 | 733 + 11 | 244 - 8 | 30953.0 - 521 |