Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | PhpRestfulApiResponse\Response::jsonEncode() | 0 | 21 | 3 | 3.84 | 0 | 0 | 0 |
A | PhpRestfulApiResponse\Response::withError() | 0 | 20 | 1 | 1 | 0 | 0 | 0 |
A | PhpRestfulApiResponse\Response::withCollection() | 0 | 18 | 3 | 3.1 | 0 | 0 | 0 |
A | ResponseTest::test_withCollection() | 0 | 15 | 1 | ? | 0 | 0 | 0 |
A | Tests\unit\ResponseTest::withError() | 0 | 15 | 1 | ? | 0 | 0 | 0 |
A | PhpRestfulApiResponse\Response::withItem() | 0 | 14 | 2 | 2.01 | 0 | 0 | 0 |
A | PhpRestfulApiResponse\Response::setStatusCode() | 0 | 14 | 4 | 4 | 0 | 0 | 0 |
A | ResponseTest::test_errorWrongArgs() | 0 | 13 | 1 | ? | 0 | 0 | 0 |
A | ResponseTest::run_setStatusCode() | 0 | 12 | 2 | ? | 0 | 0 | 0 |
A | Lib\Transformer\Book::transform() | 0 | 12 | 1 | ? | 0 | 0 | 0 |
A | ResponseTest::test_withError_with_param_errorCode() | 0 | 12 | 1 | ? | 0 | 0 | 0 |
A | unit\ResponseTest::test_withItem() | 0 | 11 | 1 | ? | 0 | 0 | 0 |
A | ResponseTest::test_errorInternalError_with_message() | 0 | 10 | 1 | ? | 0 | 0 | 0 |
A | ResponseTest::test_errorUnprocessable_with_message() | 0 | 10 | 1 | ? | 0 | 0 | 0 |
A | ResponseTest::test_errorNotFound() | 0 | 10 | 1 | ? | 0 | 0 | 0 |