Percentage | Lines | ||
---|---|---|---|
IpController3 |
|
97 % | 54 |
Validera3 |
|
98 % | 112 |
CheckjsonController3 |
|
100 % | 23 |
CRAP Score | Lines | ||
---|---|---|---|
getGet() | 6 | 5 | |
getPost() | 6 | 5 | |
Validera3::getPosition() | 4 | 31 | |
Validera3::getWeather() | 4 | 47 | |
Validera3::getCurrentIP() | 3 | 5 | |
IpController3::checkIfValidOrNot() | 2 | 15 | |
IpController3::indexAction() | 2 | 24 | |
Validera3::check() | 2 | 7 | |
hasKeyPost() | 2 | 3 | |
slugify() | 2 | 8 | |