Percentage | Lines | ||
---|---|---|---|
MemoryStorage |
|
100 % | 36 |
NativeSession |
|
100 % | 53 |
Auth |
|
100 % | 90 |
CRAP Score | Lines | ||
---|---|---|---|
Auth::loggedIn() | 3 | 10 | |
Auth::user() | 3 | 7 | |
Auth::getUserId() | 2 | 7 | |
NativeSession::read() | 2 | 7 | |
Auth::__construct() | 1 | 5 | |
Auth::login() | 1 | 6 | |
Auth::logout() | 1 | 6 | |
MemoryStorage::store() | 1 | 4 | |
MemoryStorage::read() | 1 | 4 | |
MemoryStorage::exists() | 1 | 4 | |