Ran
|
Files
11
|
Run time
15s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
78 of 94 branches covered (82.98%)
Branch coverage included in aggregate %.
581 of 591 relevant lines covered (98.31%)
4.95 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
76.19 | lib/redis-sliding-window-rate-limiter.js | 121 + 109 | 28 + 22 | 22 + 16 | 6 + 6 | 16.0 - 53 | |||
90.74 | lib/memory-sliding-window-rate-limiter.js | 136 + 131 | 38 + 36 | 36 + 34 | 2 + 2 | 10.0 + 9 | |||
92.86 | lib/safe-redis-sliding-window-rate-limiter.js | 157 + 138 | 40 + 29 | 38 + 33 | 2 - 4 | 9.0 - 38 | |||
95.4 | test/redis-failure.js | 165 + 151 | 79 + 72 | 79 + 72 | 0 | 1.0 - 29 | |||
97.67 | test/constructor.js | 65 + 45 | 31 + 21 | 31 + 24 | 0 - 3 | 2.0 + 1.0 | |||
99.09 | test/rate-limiter-promises.js | 221 + 207 | 108 + 101 | 108 + 102 | 0 - 1 | 2.0 + 1.0 | |||
99.45 | test/rate-limiter-callbacks.js | 342 + 326 | 179 + 170 | 179 + 170 | 0 | 2.0 - 39 | |||
100.0 | mock/mock-ioredis.js | 85 + 60 | 30 + 15 | 30 + 23 | 0 - 8 | 23.0 + 22 | |||
100.0 | lib/sliding-window-rate-limiter.js | 72 + 63 | 13 + 8 | 13 + 8 | 0 | 9.0 - 115 | |||
100.0 | test/redis-rate-limiter-callbacks-error.js | 52 + 35 | 23 + 15 | 23 + 17 | 0 - 2 | 1.0 |