fossasia/engelsystem

View on GitHub
includes/controller/admin_events_controller.php

Summary

Maintainability
C
1 day
Test Coverage

Showing 2 of 2 total issues

Function admin_events has a Cognitive Complexity of 36 (exceeds 5 allowed). Consider refactoring.
Open

function admin_events() {
 
global $user;
$timezone_identifiers = DateTimeZone::listIdentifiers();
$timezone = $user['timezone'];
Severity: Minor
Found in includes/controller/admin_events_controller.php - About 5 hrs to fix

Method admin_events has 82 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function admin_events() {
 
global $user;
$timezone_identifiers = DateTimeZone::listIdentifiers();
$timezone = $user['timezone'];
Severity: Major
Found in includes/controller/admin_events_controller.php - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status