Ran
|
Files
25
|
Run time
3s
|
Badge
Embed ▾
README BADGES
|
cron
travis-ci
66 of 80 branches covered (82.5%)
Branch coverage included in aggregate %.
243 of 245 relevant lines covered (99.18%)
16.82 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
80.95 | src/middleware/imageNotFoundHandler.js | 29 - 74 | 13 - 45 | 12 - 35 | 1 - 10 | 8.0 + 4 | |||
82.35 | tests/helpers/imageMagicCompare.js | 21 - 13 | 11 - 7 | 11 - 7 | 0 | 25.0 + 23 | |||
83.33 | src/middleware/redirectToCloudinary.js | 32 - 102 | 8 - 61 | 8 - 40 | 0 - 21 | 3.0 - 14 | |||
83.33 | tests/helpers/runForPullRequestFromFork.js | 9 - 12 | 4 - 6 | 4 - 6 | 0 | 6.0 + 4 | |||
91.67 | src/middleware/normalizeDimentions.js | 28 - 12 | 11 - 11 | 10 - 10 | 1 - 1 | 35.0 + 34 | |||
92.11 | src/sources/facebook.js | 48 + 2 | 24 + 1 | 24 + 6 | 0 - 5 | 49.0 + 48 | |||
100.0 | src/middleware/filterNotFoundImages.js | 10 - 122 | 6 - 56 | 6 - 48 | 0 - 8 | 29.0 + 28 | |||
100.0 | src/middleware/streamImage.js | 7 - 70 | 5 - 41 | 5 - 39 | 0 - 2 | 26.0 + 19 | |||
100.0 | src/middleware/getImageUrl.js | 22 - 90 | 10 - 59 | 10 - 22 | 0 - 37 | 25.0 + 24 | |||
100.0 | src/middleware/sendUnmodifiedHeaderIfApplicable.js | 14 - 9 | 7 - 6 | 7 - 2 | 0 - 4 | 26.0 + 23 |