Ran
|
Files
8
|
Run time
2s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
63 of 81 branches covered (77.78%)
Branch coverage included in aggregate %.
129 of 156 relevant lines covered (82.69%)
7.61 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
58.97 | lib/socket/rs256.js | 61 + 6 | 23 - 3 | 13 + 13 | 10 - 16 | 3.0 + 3 | |||
72.73 | lib/jwt-authz-socket.js | 33 + 4 | 14 + 7 | 10 + 10 | 4 - 3 | 3.0 + 3 | |||
75.0 | lib/restrict-socket.js | 48 + 9 | 18 + 8 | 13 + 6 | 5 + 2 | 6.0 - 5 | |||
82.5 | lib/index.js | 174 - 38 | 50 + 12 | 42 + 42 | 8 - 30 | 16.0 + 16 | |||
88.89 | lib/utils/get-bearer-token.js | 27 - 71 | 9 - 25 | 9 - 17 | 0 - 8 | 7.0 - 2 | |||
100.0 | lib/restrict-route.js | 45 - 53 | 14 - 1 | 14 + 9 | 0 - 10 | 6.0 + 5 | |||
100.0 | lib/unauthorized-error.js | 16 - 20 | 4 - 6 | 4 + 4 | 0 - 10 | 1.0 + 1.0 | |||
100.0 | lib/user.js | 79 + 57 | 24 + 20 | 24 + 24 | 0 - 4 | 5.0 + 5 |