Percentage | Lines | ||
---|---|---|---|
Menu |
|
100 % | 224 |
MenuCollection |
|
100 % | 19 |
MenuItemAttributes |
|
100 % | 40 |
MenuItemCollection |
|
100 % | 45 |
MenusManager |
|
100 % | 91 |
MenusServiceProvider |
|
100 % | 99 |
MenuItem |
|
100 % | 458 |
CRAP Score | Lines | ||
---|---|---|---|
MenuItem::dispatchUrl() | 4 | 20 | |
MenuItemAttributes::render() | 4 | 18 | |
MenuItem::guessType() | 3 | 10 | |
Menu::make() | 2 | 9 | |
MenuItem::make() | 2 | 10 | |
MenuItem::isDropdown() | 2 | 4 | |
MenuItem::setType() | 2 | 10 | |
MenuItem::getUrl() | 2 | 4 | |
MenuItem::getIcon() | 2 | 8 | |
Menu::__construct() | 1 | 5 | |