Ran
|
Jobs
1
|
Files
13
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
68 of 97 branches covered (70.1%)
Branch coverage included in aggregate %.
441 of 476 relevant lines covered (92.65%)
3.34 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 504.1 (NPM_AUDIT=yes NPM_PACK=yes NPM_RUN_LINT=yes NYC="nyc --no-clean --reporter=lcov" TEST_REDIS_URL=localhost) | 13 |
88.83 |
Travis Job 504.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
60.94 | test/lib/mock-ioredis.ts | 139 | 45 | 28 | 17 | 3.0 | 11 | 8 | |
72.13 | src/safe-redis-sliding-window-rate-limiter.ts | 123 | 46 | 35 | 11 | 3.0 | 9 | 6 | |
83.33 | src/redis-sliding-window-rate-limiter.ts | 133 | 43 | 37 | 6 | 9.0 | 18 | 5 | |
89.04 | src/memory-sliding-window-rate-limiter.ts | 124 | 48 | 47 | 1 | 4.0 | 18 | 7 | |
95.0 | src/sliding-window-rate-limiter.ts | 38 | 13 | 13 | 0 | 4.0 | 6 | 1 | |
96.0 | test/constructor.ts | 60 | 19 - 8 | 19 - 8 | 0 | 1.0 | 5 | 1 | |
99.24 | test/rate-limiter.ts | 275 | 129 | 129 | 0 | 2.0 | 1 | 1 | |
100.0 | test/redis-rate-limiter-error.ts | 93 | 33 - 4 | 33 - 4 | 0 | 1.0 | 0 | 0 | |
100.0 | src/timeout-error.ts | 6 | 1 - 1 | 1 - 1 | 0 | 1.0 | 0 | 0 | |
100.0 | test/lib/delay.ts | 6 | 2 - 1 | 2 - 1 | 0 | 3.0 + 1.0 | 0 | 0 |