Ran
|
Files
15
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
53 of 64 branches covered (82.81%)
Branch coverage included in aggregate %.
144 of 146 relevant lines covered (98.63%)
11.64 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
80.95 | src/middleware/imageNotFoundHandler.js | 29 - 247 | 13 - 131 | 12 - 62 | 1 - 69 | 7.0 + 6 | |||
83.33 | src/middleware/redirectToCloudinary.js | 32 - 36 | 8 - 1 | 8 - 1 | 0 | 3.0 + 2 | |||
91.67 | src/middleware/normalizeDimentions.js | 28 + 12 | 11 + 11 | 10 + 10 | 1 + 1 | 19.0 + 19 | |||
92.11 | src/sources/facebook.js | 48 + 47 | 24 + 24 | 24 + 24 | 0 | 12.0 + 12 | |||
93.33 | src/middleware/sendUnmodifiedHeaderIfApplicable.js | 14 - 112 | 7 - 57 | 7 - 54 | 0 - 3 | 12.0 + 11 | |||
97.06 | src/app.js | 55 - 53 | 29 - 38 | 29 - 17 | 0 - 21 | 10.0 + 9 | |||
100.0 | src/middleware/getImageUrl.js | 22 - 153 | 10 - 77 | 10 - 77 | 0 | 14.0 + 13 | |||
100.0 | src/middleware/getImageRequest.js | 12 - 195 | 7 - 57 | 7 - 57 | 0 | 11.0 + 10 | |||
100.0 | src/middleware/filterNotFoundImages.js | 10 - 1 | 6 + 6 | 6 + 6 | 0 | 13.0 + 13 | |||
100.0 | src/middleware/streamImage.js | 7 - 155 | 5 - 67 | 5 - 25 | 0 - 42 | 10.0 + 9 |