| Percentage | Lines | ||
|---|---|---|---|
| PunycodeWrapper |
|
65 % | 70 |
| CurlHttpAdapter |
|
91 % | 42 |
| PublicSuffixListManager |
|
94 % | 444 |
| SeriouslyMalformedUrlException |
|
100 % | 15 |
| PhpHttpAdapter |
|
100 % | 19 |
| PublicSuffixList |
|
100 % | 17 |
| Parser |
|
100 % | 349 |
| Url |
|
100 % | 235 |
| Host |
|
100 % | 111 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Url::__toString() | 9 | 40 | |
| PublicSuffixListManager::write() | 8 | 30 | |
| Parser::getRawPublicSuffix() | 7 | 48 | |
| PublicSuffixListManager::buildArray() | 6 | 30 | |
| PunycodeWrapper::encode() | 6 | 13 | |
| PunycodeWrapper::decode() | 6 | 12 | |
| pdp-parse-url.php ➔ pdp_parse_url() | 5 | 34 | |
| Parser::parseUrl() | 5 | 46 | |
| Parser::getPublicSuffix() | 5 | 28 | |
| PublicSuffixListManager::getList() | 5 | 27 | |