Ran
|
Files
12
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
travis-ci
56 of 69 branches covered (81.16%)
Branch coverage included in aggregate %.
164 of 176 relevant lines covered (93.18%)
3.39 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
41.67 | routes/api/index.js | 22 - 40 | 10 + 6 | 5 + 1 | 5 + 5 | 1.0 - 7 | |||
82.86 | server/models/index.js | 44 - 21 | 24 + 18 | 22 + 16 | 2 + 2 | 1.0 | |||
85.29 | app.js | 58 + 46 | 28 + 28 | 26 + 26 | 2 + 2 | 1.0 + 1.0 | |||
88.46 | server/controllers/UsersController.js | 98 + 31 | 20 + 15 | 18 + 14 | 2 + 1 | 1.0 - 448 | |||
94.81 | server/middlewares/UserValidation.js | 114 + 48 | 43 + 36 | 42 + 35 | 1 + 1 | 10.0 - 128 | |||
100.0 | server/config/config.js | 23 - 17 | 2 - 4 | 2 - 4 | 0 | 1.0 | |||
100.0 | routes/api/users.js | 30 - 18 | 8 + 2 | 8 + 2 | 0 | 1.0 | |||
100.0 | server/helpers/createToken.js | 18 - 49 | 5 + 2 | 5 + 2 | 0 | 1.0 - 43 | |||
100.0 | server/helpers/sendEmail.js | 32 - 21 | 12 + 9 | 12 + 10 | 0 - 1 | 1.0 - 6 | |||
100.0 | mockdata/userMockData.js | 102 + 53 | 18 + 2 | 18 + 2 | 0 | 1.0 |