Ran
|
Files
10
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
4 of 43 branches covered (9.3%)
Branch coverage included in aggregate %.
106 of 170 relevant lines covered (62.35%)
0.64 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
18.57 | src/routes/api/users.js | 97 | 48 | 13 | 35 | 1.0 | |||
26.67 | src/controllers/userController.js | 95 | 21 | 8 | 13 | 1.0 | |||
33.33 | src/models/user.js | 29 | 3 | 1 | 2 | 1.0 | |||
46.15 | src/routes/api/index.js | 22 | 11 | 6 | 5 | 1.0 | |||
72.55 | src/index.js | 91 | 41 | 33 | 8 | 1.0 | |||
88.89 | src/helpers/userHelper.js | 44 | 9 | 8 | 1 | 1.0 | |||
100.0 | src/tests/user.js | 38 | 22 | 22 | 0 | 1.0 | |||
100.0 | src/tests/controllers/indexTest.js | 10 + 3 | 5 + 1 | 5 + 1 | 0 | 1.0 | |||
100.0 | src/tests/models/indexTest.js | 10 + 10 | 5 + 5 | 5 + 5 | 0 | 1.0 + 1.0 | |||
100.0 | src/tests/routes/indexTest.js | 10 - 4 | 5 - 3 | 5 - 3 | 0 | 1.0 |