| Percentage | Lines | ||
|---|---|---|---|
| Reader |
|
89 % | 116 |
| Certificate |
|
100 % | 116 |
| SanParser |
|
100 % | 18 |
| CommonNameValidator |
|
100 % | 56 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Reader::readFromUrl() | 4 | 46 | |
| CommonNameValidator::isValid() | 4 | 16 | |
| Certificate::extractCertData() | 2 | 10 | |
| Reader::readFromFile() | 2 | 8 | |
| Certificate::__construct() | 2 | 12 | |
| Reader::prepareReadFromUrlOptions() | 2 | 8 | |
| CommonNameValidator::getAllowedNames() | 2 | 14 | |
| CommonNameValidator::getNameVariations() | 2 | 11 | |
| Certificate::validFrom() | 1 | 6 | |
| Certificate::validTo() | 1 | 6 | |