| Percentage | Lines | ||
|---|---|---|---|
| Crawler |
|
37 % | 148 |
| KProxy |
|
40 % | 90 |
| Result |
|
72 % | 50 |
| CommonProxy |
|
74 % | 48 |
| ResultList |
|
100 % | 48 |
| SearchTerm |
|
100 % | 37 |
| NoProxy |
|
100 % | 29 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Crawler::parseDomElement() | 30 | 26 | |
| Crawler::getResults() | 7 | 28 | |
| Crawler::__construct() | 4 | 16 | |
| KProxy::parseUrl() | 3 | 18 | |
| KProxy::__construct() | 3 | 8 | |
| ResultList::__construct() | 2 | 8 | |
| KProxy::getHttpResponse() | 2 | 12 | |
| KProxy::accessMainPage() | 2 | 4 | |
| KProxy::sendRequestToProxy() | 2 | 13 | |
| Crawler::getGoogleUrl() | 2 | 10 | |