| Percentage | Lines | ||
|---|---|---|---|
| SecurityTxt |
|
100 % | 285 |
| Reader |
|
100 % | 37 |
| Disclosure |
|
100 % | 48 |
| Acknowledgement |
|
100 % | 36 |
| Contact |
|
100 % | 169 |
| Encryption |
|
100 % | 49 |
| Writer |
|
100 % | 179 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Writer::execute() | 25 | 63 | |
| SecurityTxt::__construct() | 6 | 17 | |
| Contact::validContacts() | 4 | 13 | |
| Contact::hasContacts() | 3 | 9 | |
| Contact::removeContacts() | 3 | 11 | |
| Contact::addContacts() | 3 | 11 | |
| SecurityTxt::getText() | 2 | 3 | |
| Contact::getContacts() | 2 | 3 | |
| Contact::validContact() | 2 | 4 | |
| Writer::lines() | 2 | 7 | |