Ran
|
Files
16
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
travis-ci
21 of 27 branches covered (77.78%)
Branch coverage included in aggregate %.
205 of 226 relevant lines covered (90.71%)
1.67 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
58.33 | src/middlewares/validator/index.js | 99 + 55 | 12 - 9 | 7 - 14 | 5 + 5 | 2.0 + 1.0 | |||
72.0 | src/middlewares/validator/validator.js | 56 - 46 | 25 - 22 | 18 + 10 | 7 - 32 | 4.0 + 3 | |||
80.0 | src/helpers/slugGenerator.js | 24 - 102 | 15 - 47 | 12 - 30 | 3 - 17 | 1.0 | |||
83.33 | src/helpers/emailSender.js | 41 - 55 | 12 - 38 | 10 - 1 | 2 - 37 | 1.0 | |||
84.62 | src/routes/api/articles/articleController.js | 50 + 36 | 11 + 5 | 10 + 4 | 1 + 1 | 1.0 | |||
90.54 | src/routes/api/users/auth.js | 217 + 161 | 60 + 37 | 57 + 34 | 3 + 3 | 1.0 - 4 | |||
96.0 | src/models/index.js | 35 - 293 | 20 - 146 | 20 - 134 | 0 - 12 | 1.0 | |||
100.0 | src/routes/api/index.js | 14 - 31 | 9 - 21 | 9 - 21 | 0 | 1.0 | |||
100.0 | src/helpers/authenticator.js | 39 - 45 | 7 - 35 | 7 - 3 | 0 - 32 | 4.0 + 3 | |||
100.0 | src/routes/api/users/usersRoute.js | 18 + 5 | 9 + 3 | 9 + 3 | 0 | 1.0 |