includes/sys_menu.php
Showing 4 of 4 total issues
Function header_toolbar
has a Cognitive Complexity of 34 (exceeds 5 allowed). Consider refactoring. Open
Open
function header_toolbar() { global $p, $privileges, $user, $enable_tshirt_size, $max_freeloadable_shifts; $settings = array(); $no_migrated = ""; if (test_import()) {
- Read upRead up
Method header_toolbar
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function header_toolbar() { global $p, $privileges, $user, $enable_tshirt_size, $max_freeloadable_shifts; $settings = array(); $no_migrated = ""; if (test_import()) {
Method make_navigation
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function make_navigation() { global $p, $privileges; $menu = array(); $pages = array(
Function make_navigation
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
function make_navigation() { global $p, $privileges; $menu = array(); $pages = array(
- Read upRead up