Ran
|
Files
15
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
cron
travis-ci
53 of 64 branches covered (82.81%)
Branch coverage included in aggregate %.
144 of 146 relevant lines covered (98.63%)
11.49 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
80.95 | src/middleware/imageNotFoundHandler.js | 29 - 195 | 13 - 107 | 12 - 40 | 1 - 67 | 7.0 - 60 | |||
83.33 | src/middleware/redirectToCloudinary.js | 32 - 62 | 8 - 86 | 8 + 8 | 0 - 94 | 3.0 + 3 | |||
91.67 | src/middleware/normalizeDimentions.js | 28 - 8 | 11 - 9 | 10 + 1 | 1 - 10 | 19.0 + 18 | |||
92.11 | src/sources/facebook.js | 48 - 26 | 24 - 15 | 24 + 6 | 0 - 21 | 11.0 + 9 | |||
93.33 | src/middleware/sendUnmodifiedHeaderIfApplicable.js | 14 | 7 - 1 | 7 | 0 - 1 | 12.0 - 221 | |||
97.06 | src/app.js | 55 + 38 | 29 + 25 | 29 + 25 | 0 | 10.0 + 9 | |||
100.0 | src/middleware/getImageUrl.js | 22 + 4 | 10 - 8 | 10 + 10 | 0 - 18 | 14.0 + 14 | |||
100.0 | src/middleware/getImageRequest.js | 12 - 20 | 7 - 12 | 7 - 3 | 0 - 9 | 11.0 + 10 | |||
100.0 | src/middleware/filterNotFoundImages.js | 10 - 44 | 6 - 48 | 6 + 6 | 0 - 54 | 13.0 + 13 | |||
100.0 | src/middleware/streamImage.js | 7 - 3 | 5 - 5 | 5 + 5 | 0 - 10 | 10.0 + 10 |