Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | ipGeolocation\GeoIPLocation::getIpAddress() | 0 | 14 | 5 | 5 | 0 | 0 | 0 |
A | ipGeolocation\GeoIPLocation::getGeoLocation() | 0 | 20 | 3 | 3 | 0 | 0 | 0 |
A | GeoIPLocationTest::testGetGeoLocation() | 0 | 19 | 1 | ? | 0 | 0 | 0 |
A | GeoIPLocation::getMappedLocation() | 0 | 17 | 1 | 1 | 0 | 0 | 0 |
A | GeoIPLocationTest::testGetGeoLocationIpInvalid() | 0 | 10 | 1 | ? | 0 | 0 | 0 |
A | ipGeolocation\GeoIPLocation::getRequestUrl() | 0 | 9 | 1 | 1 | 0 | 0 | 0 |
A | tests\GeoIPLocationTest::getMock() | 0 | 9 | 1 | ? | 0 | 0 | 0 |
A | ipGeolocation\GeoIPLocation::getHttpClient() | 0 | 9 | 2 | 2 | 0 | 0 | 0 |
A | ipGeolocation\Location::getLatitude() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | ipGeolocation\GeoIPLocation::handleError() | 0 | 6 | 1 | 1 | 0 | 0 | 0 |
A | ipGeolocation\Location::setCity() | 0 | 6 | 1 | 1 | 0 | 0 | 0 |
A | ipGeolocation\Location::setPostalCode() | 0 | 6 | 1 | 1 | 0 | 0 | 0 |
A | ipGeolocation\Location::getStatus() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | ipGeolocation\Location::getRegionName() | 0 | 4 | 1 | 1 | 0 | 0 | 0 |
A | GeoIPLocationTest::testRequestInvalid() | 0 | 7 | 1 | ? | 0 | 0 | 0 |