Ran
|
Files
25
|
Run time
3s
|
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.6 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
80.95 | src/middleware/imageNotFoundHandler.js | 29 - 178 | 13 - 33 | 12 - 17 | 1 - 16 | 8.0 + 6 | |||
82.35 | tests/helpers/imageMagicCompare.js | 21 - 7 | 11 + 11 | 11 + 11 | 0 | 23.0 + 23 | |||
83.33 | src/middleware/redirectToCloudinary.js | 32 - 214 | 8 - 34 | 8 - 23 | 0 - 11 | 3.0 + 2 | |||
83.33 | tests/helpers/runForPullRequestFromFork.js | 9 - 23 | 4 + 4 | 4 + 4 | 0 | 6.0 + 6 | |||
91.67 | src/middleware/normalizeDimentions.js | 28 - 44 | 11 + 2 | 10 + 2 | 1 | 34.0 + 27 | |||
92.11 | src/sources/facebook.js | 48 - 3071 | 24 - 795 | 24 - 685 | 0 - 110 | 49.0 - 61 | |||
100.0 | src/middleware/filterNotFoundImages.js | 10 - 169 | 6 - 60 | 6 - 56 | 0 - 4 | 28.0 - 67 | |||
100.0 | src/middleware/streamImage.js | 7 - 60 | 5 - 6 | 5 - 4 | 0 - 2 | 25.0 + 24 | |||
100.0 | src/middleware/getImageUrl.js | 22 - 24 | 10 + 10 | 10 + 10 | 0 | 24.0 + 24 | |||
100.0 | src/middleware/sendUnmodifiedHeaderIfApplicable.js | 14 - 84 | 7 - 17 | 7 - 17 | 0 | 26.0 + 25 |