| Percentage | Lines | ||
|---|---|---|---|
| ServerException |
|
100 % | 40 |
| Before |
|
100 % | 32 |
| After |
|
100 % | 66 |
| Parser |
|
100 % | 147 |
| Descriptor |
|
100 % | 137 |
| Directive |
|
100 % | 97 |
| InclusionDirective |
|
100 % | 79 |
| Compiler |
|
100 % | 180 |
| BlockDirective |
|
100 % | 124 |
| SimpleDirective |
|
100 % | 39 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Descriptor::getUriHostAndPath() | 6 | 23 | |
| Compiler::buildBlockDirective() | 4 | 16 | |
| Checker::hasKeyAndValueSubPattern() | 4 | 12 | |
| Descriptor::getExposedPath() | 4 | 17 | |
| Descriptor::getRelative() | 4 | 13 | |
| Server::isValid() | 4 | 9 | |
| Compiler::subCompile() | 3 | 12 | |
| Compiler::findEndingKey() | 3 | 17 | |
| Compiler::buildSimpleDirective() | 3 | 12 | |
| BlockDirective::hasDirective() | 3 | 14 | |