| Percentage | Lines | ||
|---|---|---|---|
| MapLayer |
|
0 % | 10 |
| MapMarkerSetsExtensionTest |
|
71 % | 24 |
| MappableDataObjectSetTest |
|
85 % | 78 |
| MappableDataTest |
|
95 % | 206 |
| LatLongField |
|
95 % | 130 |
| LatLongFieldTest |
|
95 % | 125 |
| MapAPI |
|
97 % | 724 |
| MapAPITest |
|
97 % | 564 |
| MapExtensionTest |
|
97 % | 302 |
| MapExtension |
|
100 % | 189 |
| CRAP Score | Lines | ||
|---|---|---|---|
| MapAPI::generate() | 12 | 109 | |
| MapAPI::addMarkerAsObject() | 10 | 34 | |
| LatLongField::__construct() | 9 | 33 | |
| MapField::__construct() | 8 | 24 | |
| GoogleStreetViewShortCodeHandler::parse_googlestreetview() | 7 | 63 | |
| GoogleMapShortCodeHandler::parse_googlemap() | 6 | 60 | |
| MapAPI::setMapType() | 5 | 22 | |
| MapUtil::ChooseToAddDataobject() | 5 | 14 | |
| MapExtension::HasGeo() | 4 | 12 | |
| MappableData::getRenderableMap() | 4 | 17 | |