Ran
|
Files
13
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
travis-ci
68 of 97 branches covered (70.1%)
Branch coverage included in aggregate %.
464 of 500 relevant lines covered (92.8%)
3.26 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
60.94 | test/lib/mock-ioredis.ts | 139 - 93 | 45 - 82 | 28 - 15 | 17 - 67 | 3.0 + 2 | |||
72.13 | src/safe-redis-sliding-window-rate-limiter.ts | 123 + 110 | 46 + 36 | 35 + 33 | 11 + 3 | 3.0 + 2 | |||
83.33 | src/redis-sliding-window-rate-limiter.ts | 133 - 10 | 43 - 37 | 37 + 10 | 6 - 47 | 9.0 + 8 | |||
89.04 | src/memory-sliding-window-rate-limiter.ts | 124 + 110 | 48 + 44 | 47 + 43 | 1 + 1 | 4.0 - 39 | |||
95.0 | src/sliding-window-rate-limiter.ts | 38 + 29 | 13 + 8 | 13 + 8 | 0 | 4.0 - 350 | |||
96.97 | test/constructor.ts | 60 + 48 | 27 + 22 | 27 + 22 | 0 | 1.0 | |||
97.56 | test/operation-timeout.ts | 96 + 88 | 41 + 36 | 40 + 35 | 1 + 1 | 1.0 - 706 | |||
99.24 | test/rate-limiter.ts | 275 + 269 | 129 + 128 | 129 + 128 | 0 | 2.0 + 1.0 | |||
100.0 | test/redis-rate-limiter-error.ts | 93 + 76 | 37 + 31 | 37 + 31 | 0 | 1.0 | |||
100.0 | src/timeout-error.ts | 6 - 2 | 2 - 3 | 2 | 0 - 3 | 1.0 |