Ran
|
Files
7
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
23 of 28 branches covered (82.14%)
Branch coverage included in aggregate %.
335 of 336 relevant lines covered (99.7%)
2.08 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
88.46 | lib/sliding-window-rate-limiter.js | 87 + 72 | 18 + 10 | 17 + 11 | 1 - 1 | 8.0 + 7 | |||
95.24 | test/constructor.js | 37 - 13 | 19 - 11 | 19 - 11 | 0 | 1.0 - 3 | |||
99.03 | test/rate-limiter-promises.js | 224 + 218 | 101 + 97 | 101 + 97 | 0 | 1.0 | |||
99.25 | test/rate-limiter-callbacks.js | 263 + 156 | 131 + 120 | 131 + 120 | 0 | 1.0 - 1.0 | |||
100.0 | test/rate-limiter-callbacks-error.js | 48 | 21 | 21 | 0 | 1.0 | |||
100.0 | test/rate-limiter-promises-error.js | 46 | 20 | 20 | 0 | 1.0 | |||
100.0 | mock/mock-ioredis.js | 75 + 57 | 26 + 20 | 26 + 22 | 0 - 2 | 10.0 + 9 |