| Percentage | Lines | ||
|---|---|---|---|
| ContentSecurityPolicyHeaderResult |
|
0 % | 7 |
| Info |
|
0 % | 10 |
| JSONResultPrinter |
|
0 % | 10 |
| ProcessorFactory |
|
0 % | 27 |
| SecHeadersCheckCommand |
|
0 % | 100 |
| ContentSecurityPolicyHeader |
|
0 % | 94 |
| SecurityHeader |
|
0 % | 16 |
| StrictTransportSecurityProcessor |
|
0 % | 24 |
| XPoweredByProcessor |
|
0 % | 16 |
| Kudos |
|
0 % | 10 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ContentSecurityPolicyHeader::parse() | 182 | 39 | |
| ProcessorFactory::create() | 132 | 25 | |
| ConsoleResultPrinter::getOutput() | 110 | 47 | |
| ContentSecurityPolicyProcessor::process() | 56 | 24 | |
| ConsoleResultPrinter::getWarnings() | 30 | 20 | |
| NativeHeaderProvider::getRawHeaders() | 30 | 27 | |
| URL::redirectTo() | 20 | 13 | |
| ConsoleResultPrinter::hasErrors() | 20 | 9 | |
| ResultPrinterFactory::createFromFormat() | 20 | 11 | |
| SetCookieProcessor::process() | 20 | 21 | |