Ran
|
Files
12
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
1059 of 1227 relevant lines covered (86.31%)
17.03 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
37.5 | src/mafiabot.js | 228 + 215 | 80 + 70 | 30 + 23 | 50 + 47 | 5.0 + 4 | |
78.26 | src/view.js | 89 - 5 | 46 - 1 | 36 + 16 | 10 - 17 | 3.0 + 2 | |
82.48 | src/player_controller.js | 1176 + 886 | 468 + 334 | 386 + 354 | 82 - 20 | 11.0 + 10 | |
87.5 | src/validator.js | 35 - 156 | 16 - 99 | 14 - 29 | 2 - 70 | 1.0 | |
90.0 | src/templates/helpers/listNames.js | 32 - 80 | 10 - 59 | 9 - 23 | 1 - 36 | 10.0 + 9 | |
91.63 | src/mod_controller.js | 671 + 595 | 263 + 253 | 241 + 231 | 22 + 22 | 8.0 + 7 | |
96.0 | src/utils.js | 97 + 96 | 25 + 24 | 24 + 23 | 1 + 1 | 31.0 + 30 | |
100.0 | src/dao/mafiaAction.js | 128 + 123 | 16 + 14 | 16 + 14 | 0 | 22.0 + 21 | |
100.0 | src/dao/mafiaUser.js | 150 + 17 | 29 - 10 | 29 - 9 | 0 - 1 | 93.0 + 92 | |
100.0 | src/dao/mafiaGame.js | 695 + 318 | 193 + 38 | 193 + 133 | 0 - 95 | 49.0 + 48 |