| Percentage | Lines | ||
|---|---|---|---|
| Response |
|
66 % | 126 |
| UserController |
|
73 % | 89 |
| UserRepository |
|
84 % | 113 |
| HttpBasicUserProvider |
|
85 % | 39 |
| Session |
|
86 % | 73 |
| Application |
|
87 % | 189 |
| Request |
|
93 % | 148 |
| SecurityController |
|
95 % | 49 |
| DefaultController |
|
100 % | 10 |
| PageController |
|
100 % | 18 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Response::send() | 12 | 10 | |
| Application::handle() | 12 | 77 | |
| SecurityController::indexAction() | 5 | 29 | |
| Firewall::isUriInRoutes() | 5 | 16 | |
| Request::createFromGlobals() | 4 | 12 | |
| HttpBasicUserProvider::getUser() | 4 | 16 | |
| Firewall::isGranted() | 4 | 12 | |
| Firewall::isGrantedRoute() | 4 | 14 | |
| Session::__construct() | 3 | 13 | |
| UserRepository::findByNameAndPassword() | 3 | 13 | |