Ran
|
Files
22
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
travis-ci
18 of 32 branches covered (56.25%)
Branch coverage included in aggregate %.
118 of 142 relevant lines covered (83.1%)
1.8 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
25.0 | src/middlewares/user.middleware.js | 68 | 20 | 6 | 14 | 5.0 | |||
70.59 | src/utils/user.utils.js | 93 | 15 | 10 | 5 | 3.0 | |||
75.0 | src/services/email.js | 35 | 7 | 6 | 1 | 1.0 | |||
84.0 | src/db/models/index.js | 36 - 9 | 16 + 1 | 15 + 1 | 1 | 5.0 + 3 | |||
85.71 | src/utils/response.utils.js | 45 | 3 | 2 | 1 | 6.0 | |||
91.3 | src/controllers/user.controller.js | 70 | 19 | 17 | 2 | 1.0 | |||
100.0 | src/db/models/facility.js | 44 + 6 | 4 - 7 | 4 - 6 | 0 - 1 | 1.0 - 367 | |||
100.0 | src/db/models/department.js | 18 - 27 | 5 - 17 | 5 - 16 | 0 - 1 | 1.0 - 18 | |||
100.0 | src/db/models/amenity.js | 30 - 57 | 4 - 26 | 4 - 25 | 0 - 1 | 1.0 - 28 | |||
100.0 | src/db/models/like.js | 31 - 30 | 4 - 11 | 4 - 10 | 0 - 1 | 1.0 - 11 |