Ran
|
Files
13
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
travis-ci
53 of 56 branches covered (94.64%)
Branch coverage included in aggregate %.
213 of 213 relevant lines covered (100.0%)
3.94 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
89.29 | src/controllers/userController.js | 48 + 35 | 15 + 13 | 15 + 13 | 0 | 5.0 + 4 | |||
100.0 | src/database/config.js | 21 - 194 | 3 - 84 | 3 - 80 | 0 - 4 | 1.0 - 2505 | |||
100.0 | src/database/models/user.js | 61 - 28 | 4 - 43 | 4 - 43 | 0 | 1.0 - 2159 | |||
100.0 | src/middlewares/userMiddlware.js | 19 - 177 | 7 - 67 | 7 - 65 | 0 - 2 | 12.0 - 2907 | |||
100.0 | src/routes/userRoutes.js | 86 + 8 | 8 - 34 | 8 - 34 | 0 | 1.0 - 1.0 | |||
100.0 | src/tests/helper.spec.js | 21 + 7 | 15 + 5 | 15 + 5 | 0 | 1.0 | |||
100.0 | src/tests/mockData/loginMockData.js | 21 | 1 | 1 | 0 | 1.0 | |||
100.0 | src/tests/mockData/signupMockupData.js | 51 - 40 | 1 - 48 | 1 - 48 | 0 | 1.0 | |||
100.0 | src/tests/signup.spec.js | 114 - 2 | 60 + 4 | 60 + 4 | 0 | 1.0 - 136 | |||
100.0 | src/tests/testsLogin.spec.js | 69 | 40 | 40 | 0 | 1.0 |