Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B Http\RouterParser::methodMatch() 0 12 7 7 0 0 0
B RouterParser::isValidRouteRegex() 0 8 7 7.05 0 0 0
B HakimCh\Http\Router::match() 0 13 4 4 0 0 0
B HakimCh\Http\RouterParser::getRoute() 0 12 6 6.01 0 0 0
B Http\RouterParser::generateUrl() 0 11 6 6 0 0 0
B HakimCh\Http\Router::setRoutes() 0 5 5 5 0 0 0
B Http\RouterParser::getRoutePattern() 0 11 6 6 0 0 0
B RouterTest::testMatchWithUnicodeRegex() 0 16 1 ? 0 0 0
A RouterTest::testMatchWithCustomNamedUnicodeRegex() 0 15 1 ? 0 0 0
A RouterTest::testMatchWithCustomNamedRegex() 0 15 1 ? 0 0 0
A Http\Tests\RouterTest::testMatch() 0 8 1 ? 0 0 0
A RouterTest::testGenerateWithNonExistingRoute() 0 4 2 ? 1 0 0
A HakimCh\Http\Router::getRequestUrl() 0 3 2 2 0 0 0
A Tests\RouterTest::testMapWithName() 0 8 1 ? 0 0 0
A HakimCh\Http\Tests\RouterTest::setUp() 0 5 1 ? 1 0 0