| Percentage | Lines | ||
|---|---|---|---|
| SessionMiddleware |
|
0 % | 75 |
| SessionException |
|
0 % | 29 |
| Session |
|
47 % | 429 |
| Config |
|
56 % | 230 |
| PdoHandler |
|
68 % | 182 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Session::destroy() | 30 | 12 | |
| Session::doStartupChecks() | 30 | 15 | |
| Session::renew() | 20 | 20 | |
| Session::hasExpired() | 20 | 13 | |
| Config::checkHandler() | 12 | 9 | |
| Session::start() | 10 | 26 | |
| Session::read() | 6 | 15 | |
| Session::setSaveHandler() | 6 | 7 | |
| Session::clear() | 6 | 5 | |
| SessionMiddleware::addAttribute() | 6 | 10 | |