Percentage | Lines | ||
---|---|---|---|
SetsUpMockServerBeforeClassTrait |
|
0 % | 33 |
MockServerConfig |
|
54 % | 86 |
StaticRouter |
|
78 % | 359 |
MockServer |
|
87 % | 274 |
Factory |
|
100 % | 40 |
CRAP Score | Lines | ||
---|---|---|---|
MockServer::getServerPID() | 10 | 34 | |
StaticRouter::setNotFoundStatic() | 6 | 7 | |
MockServerConfig::calculateMockServerIp() | 6 | 15 | |
MockServer::getLogsPath() | 5 | 13 | |
MockServer::stopServer() | 4 | 15 | |
MockServer::__construct() | 4 | 18 | |
StaticRouter::getResponse() | 4 | 18 | |
StaticRouter::run() | 4 | 16 | |
StaticRouter::logRequest() | 3 | 16 | |
StaticRouter::isStaticAsset() | 3 | 14 | |