Ran
|
Files
65
|
Run time
9s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
247 of 258 branches covered (95.74%)
Branch coverage included in aggregate %.
1212 of 1214 relevant lines covered (99.84%)
6.03 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
94.12 | src/middlewares/roomsAvailability.js | 144 + 124 | 44 + 33 | 43 + 36 | 1 - 3 | 7.0 + 6 | |||
95.65 | src/models/index.js | 30 + 28 | 18 + 17 | 18 + 17 | 0 | 4.0 + 3 | |||
95.83 | src/utils/schemas.js | 267 + 167 | 24 + 6 | 23 + 11 | 1 - 5 | 1.0 | |||
97.18 | src/validation/validation.js | 89 - 12 | 49 + 2 | 49 + 40 | 0 - 38 | 22.0 + 21 | |||
97.47 | src/controllers/trips.controller.js | 227 + 203 | 67 + 61 | 67 + 63 | 0 - 2 | 4.0 + 3 | |||
98.47 | src/controllers/hotels.controller.js | 302 + 281 | 107 + 97 | 107 + 97 | 0 | 1.0 - 978 | |||
99.07 | src/controllers/users.controller.js | 266 + 252 | 79 + 72 | 79 + 72 | 0 | 2.0 - 90 | |||
100.0 | src/controllers/request.controller.js | 103 + 78 | 30 + 16 | 30 + 16 | 0 | 3.0 - 2 | |||
100.0 | src/controllers/ratings.controller.js | 57 + 37 | 15 + 4 | 15 + 6 | 0 - 2 | 1.0 - 1.0 | |||
100.0 | src/controllers/comments.controller.js | 54 + 50 | 17 + 15 | 17 + 15 | 0 | 2.0 + 1.0 |