Ran
|
Files
23
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
travis-ci
250 of 374 branches covered (66.84%)
Branch coverage included in aggregate %.
977 of 1046 relevant lines covered (93.4%)
2.11 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
68.04 | server/src/middlewares/validation.js | 337 + 289 | 120 + 106 | 79 + 67 | 41 + 39 | 7.0 - 82 | |||
78.18 | ...src/helpers/validationHelpers/articleValidation.js | 56 - 71 | 26 - 35 | 20 - 12 | 6 - 23 | 6.0 + 4 | |||
83.33 | index.js | 42 + 27 | 14 + 14 | 12 + 12 | 2 + 2 | 1.0 + 1.0 | |||
84.0 | server/src/helpers/articlePagination.js | 63 - 206 | 15 - 114 | 13 - 108 | 2 - 6 | 3.0 - 1.0 | |||
84.62 | server/src/db/models/index.js | 40 - 120 | 17 - 35 | 16 - 31 | 1 - 4 | 1.0 - 264 | |||
88.0 | server/src/controllers/UserController.js | 316 + 301 | 76 + 76 | 69 + 69 | 7 + 7 | 2.0 + 2 | |||
88.37 | server/src/test/paginationTest.js | 128 + 57 | 66 + 34 | 66 + 34 | 0 | 1.0 | |||
88.57 | server/src/test/searchTest.js | 133 + 120 | 54 + 48 | 54 + 48 | 0 | 1.0 | |||
88.79 | server/src/test/articleTest.js | 572 + 422 | 249 + 239 | 249 + 239 | 0 | 1.0 | |||
90.83 | server/src/controllers/ArticleController.js | 433 + 347 | 79 + 46 | 69 + 36 | 10 + 10 | 3.0 + 2 |