Percentage | Lines | ||
---|---|---|---|
src/not-found-error.js |
|
100 % | 25 |
src/app-error.js |
|
100 % | 120 |
src/not-implemented-error.js |
|
100 % | 25 |
src/no-content-error.js |
|
100 % | 25 |
src/validation-error.js |
|
100 % | 25 |
src/timeout-error.js |
|
100 % | 25 |
src/server-error.js |
|
100 % | 25 |
src/authentication-error.js |
|
100 % | 25 |
src/rate-limit-error.js |
|
100 % | 25 |
src/index.js |
|
100 % | 24 |
Percentage | Lines | ||
---|---|---|---|
NotFoundError |
|
100 % | 19 |
NotImplementedError |
|
100 % | 19 |
NoContentError |
|
100 % | 19 |
ValidationError |
|
100 % | 19 |
TimeoutError |
|
100 % | 19 |
ServerError |
|
100 % | 19 |
AuthenticationError |
|
100 % | 19 |
RateLimitError |
|
100 % | 19 |
CRAP Score | Lines | ||
---|---|---|---|
app-error.js ➔ constructor | 3 | 9 | |
app-error.js ➔ status | 2 | 3 | |
app-error.js ➔ setValues | 2 | 12 | |
NotFoundError.name | 1 | 3 | |
NotFoundError.errorStatus | 1 | 3 | |
app-error.js ➔ errorStatus | 1 | 3 | |
app-error.js ➔ validate | 1 | 3 | |
app-error.js ➔ hasErrors | 1 | 3 | |
app-error.js ➔ name | 1 | 3 | |
NotImplementedError.name | 1 | 3 | |