Ran
|
Files
65
|
Run time
6s
|
Badge
Embed ▾
README BADGES
|
travis-ci
211 of 224 branches covered (94.2%)
Branch coverage included in aggregate %.
1145 of 1154 relevant lines covered (99.22%)
5.82 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
90.32 | src/middlewares/queryRequestByStatus.js | 33 + 24 | 21 + 21 | 20 + 20 | 1 + 1 | 2.0 + 2 | |||
93.57 | src/services/request.service.js | 380 + 330 | 104 + 97 | 97 + 97 | 7 | 3.0 + 3 | |||
95.65 | src/models/index.js | 30 + 18 | 18 + 13 | 18 + 13 | 0 | 4.0 + 3 | |||
96.23 | src/middlewares/roomsAvailability.js | 138 + 104 | 39 + 39 | 38 + 38 | 1 + 1 | 6.0 + 6 | |||
97.18 | src/validation/validation.js | 89 + 15 | 49 + 21 | 49 + 21 | 0 | 23.0 + 22 | |||
97.47 | src/controllers/trips.controller.js | 226 + 57 | 67 + 67 | 67 + 67 | 0 | 4.0 + 4 | |||
98.36 | src/controllers/hotels.controller.js | 285 - 675 | 102 + 102 | 102 + 102 | 0 | 1.0 + 1.0 | |||
99.07 | src/controllers/users.controller.js | 266 + 251 | 79 + 79 | 79 + 79 | 0 | 3.0 + 3 | |||
100.0 | src/controllers/request.controller.js | 95 + 86 | 27 + 27 | 27 + 27 | 0 | 2.0 + 2 | |||
100.0 | src/controllers/ratings.controller.js | 57 + 47 | 15 + 15 | 15 + 15 | 0 | 1.0 + 1.0 |