Percentage | Lines | ||
---|---|---|---|
CommonPrefixTrieRouter |
|
0 % | 128 |
Router |
|
93 % | 175 |
Action |
|
97 % | 219 |
NotFoundAction |
|
100 % | 4 |
CRAP Score | Lines | ||
---|---|---|---|
CommonPrefixTrieRouter::trieConstruction() | 272 | 58 | |
CommonPrefixTrieRouter::search() | 156 | 36 | |
Router::match() | 13 | 40 | |
Action::match() | 13 | 46 | |
Action::makePath() | 10 | 35 | |
Router::setAction() | 8 | 30 | |
Action::parsePathParam() | 7 | 25 | |
Action::assertMethods() | 6 | 4 | |
Router::makePath() | 3 | 14 | |
Router::__construct() | 3 | 6 | |