| Percentage | Lines | ||
|---|---|---|---|
| Polygon |
|
81 % | 82 |
| NoaaAlerts |
|
100 % | 14 |
| FileProvider |
|
100 % | 14 |
| NoaaAlert |
|
100 % | 216 |
| PolygonFactory |
|
100 % | 6 |
| XmlProviderFactory |
|
100 % | 16 |
| Point |
|
100 % | 19 |
| NoaaAlertFactory |
|
100 % | 49 |
| NoaaIndexParser |
|
100 % | 242 |
| Dependencies |
|
100 % | 31 |
| CRAP Score | Lines | ||
|---|---|---|---|
| NoaaIndexParser::parseAlert() | 22 | 87 | |
| Polygon::isPointInPolygon() | 10 | 33 | |
| Polygon::__toString() | 6 | 8 | |
| Polygon::doLinesCrossLatitude() | 5 | 8 | |
| NoaaIndexParser::parse() | 3 | 20 | |
| NoaaIndexParser::formatGeoArray() | 3 | 21 | |
| NoaaIndexParser::parseGeoArray() | 3 | 11 | |
| Polygon::findInterceptLongitude() | 2 | 10 | |
| NoaaAlertFactory::getAlerts() | 2 | 36 | |
| NoaaIndexParser::__construct() | 2 | 6 | |