| Percentage | Lines | ||
|---|---|---|---|
| SafeUrlsServiceProvider |
|
91 % | 106 |
| Curl |
|
91 % | 75 |
| Data |
|
100 % | 54 |
| Config |
|
100 % | 96 |
| StaticCalling |
|
100 % | 21 |
| SafeUrls |
|
100 % | 142 |
| SafeUrlsFacade |
|
100 % | 10 |
| CRAP Score | Lines | ||
|---|---|---|---|
| SafeUrls::isDangerous() | 7 | 26 | |
| SafeUrlsServiceProvider::mergeConfig() | 5 | 17 | |
| Data::payload() | 4 | 12 | |
| Curl::__construct() | 2 | 12 | |
| Data::formatUrls() | 2 | 8 | |
| SafeUrls::check() | 2 | 7 | |
| SafeUrls::getCurrentUrls() | 2 | 3 | |
| Config::curlTimeout() | 2 | 5 | |
| Config::googleApiKey() | 2 | 5 | |
| Config::platformTypes() | 2 | 5 | |