Ran
|
Files
25
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
travis-ci
66 of 80 branches covered (82.5%)
Branch coverage included in aggregate %.
243 of 245 relevant lines covered (99.18%)
16.52 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
80.95 | src/middleware/imageNotFoundHandler.js | 29 + 10 | 13 + 5 | 12 + 4 | 1 + 1 | 8.0 + 5 | |||
82.35 | tests/helpers/imageMagicCompare.js | 21 - 10 | 11 - 5 | 11 - 5 | 0 | 23.0 - 69 | |||
83.33 | src/middleware/redirectToCloudinary.js | 32 + 8 | 8 - 6 | 8 - 6 | 0 | 3.0 + 2 | |||
83.33 | tests/helpers/runForPullRequestFromFork.js | 9 - 107 | 4 - 59 | 4 - 59 | 0 | 6.0 + 1 | |||
91.67 | src/middleware/normalizeDimentions.js | 28 - 6 | 11 - 3 | 10 - 4 | 1 + 1 | 34.0 - 514 | |||
92.11 | src/sources/facebook.js | 48 - 274 | 24 - 114 | 24 - 114 | 0 | 48.0 + 47 | |||
100.0 | src/middleware/filterNotFoundImages.js | 10 - 38 | 6 - 15 | 6 - 15 | 0 | 28.0 + 23 | |||
100.0 | src/middleware/streamImage.js | 7 - 1 | 5 + 2 | 5 + 2 | 0 | 25.0 - 8 | |||
100.0 | src/middleware/getImageUrl.js | 22 - 30 | 10 - 4 | 10 - 4 | 0 | 24.0 - 2020 | |||
100.0 | src/middleware/sendUnmodifiedHeaderIfApplicable.js | 14 + 4 | 7 + 3 | 7 + 3 | 0 | 26.0 - 364 |