Ran
|
Files
25
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
66 of 80 branches covered (82.5%)
Branch coverage included in aggregate %.
243 of 245 relevant lines covered (99.18%)
16.54 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
80.95 | src/middleware/imageNotFoundHandler.js | 29 | 13 | 12 - 1 | 1 + 1 | 8.0 + 5 | |||
82.35 | tests/helpers/imageMagicCompare.js | 21 - 33 | 11 - 16 | 11 - 10 | 0 - 6 | 23.0 + 21 | |||
83.33 | src/middleware/redirectToCloudinary.js | 32 - 8 | 8 - 13 | 8 - 11 | 0 - 2 | 3.0 + 1.0 | |||
83.33 | tests/helpers/runForPullRequestFromFork.js | 9 - 5 | 4 - 1 | 4 | 0 - 1 | 6.0 - 312 | |||
91.67 | src/middleware/normalizeDimentions.js | 28 - 4 | 11 - 4 | 10 - 5 | 1 + 1 | 35.0 - 262 | |||
92.11 | src/sources/facebook.js | 48 - 146 | 24 - 82 | 24 - 53 | 0 - 29 | 47.0 + 45 | |||
100.0 | src/middleware/filterNotFoundImages.js | 10 - 19 | 6 - 7 | 6 - 7 | 0 | 29.0 + 27 | |||
100.0 | src/middleware/streamImage.js | 7 - 5 | 5 + 3 | 5 + 3 | 0 | 26.0 + 25 | |||
100.0 | src/middleware/getImageUrl.js | 22 - 59 | 10 - 9 | 10 - 1 | 0 - 8 | 25.0 + 24 | |||
100.0 | src/middleware/sendUnmodifiedHeaderIfApplicable.js | 14 + 2 | 7 + 5 | 7 + 5 | 0 | 26.0 + 25 |