Ran
|
Files
7
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
24 of 30 branches covered (80.0%)
Branch coverage included in aggregate %.
337 of 338 relevant lines covered (99.7%)
2.1 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
86.67 | lib/sliding-window-rate-limiter.js | 93 - 106 | 20 - 87 | 19 - 4 | 1 - 83 | 7.0 + 6 | |||
95.24 | test/constructor.js | 37 - 62 | 19 - 29 | 19 - 13 | 0 - 16 | 1.0 - 13 | |||
99.03 | test/rate-limiter-promises.js | 224 + 220 | 101 + 98 | 101 + 98 | 0 | 1.0 | |||
99.25 | test/rate-limiter-callbacks.js | 263 + 228 | 131 + 117 | 131 + 124 | 0 - 7 | 1.0 - 36 | |||
100.0 | test/rate-limiter-callbacks-error.js | 48 - 27 | 21 - 17 | 21 - 17 | 0 | 1.0 - 1.0 | |||
100.0 | test/rate-limiter-promises-error.js | 46 + 35 | 20 + 13 | 20 + 13 | 0 | 1.0 | |||
100.0 | mock/mock-ioredis.js | 75 - 521 | 26 - 56 | 26 - 56 | 0 | 10.0 + 9 |