JoryHogeveen/view-admin-as

View on GitHub

Showing 3 of 72 total issues

File class-role-defaults.php has 1324 lines of code (exceeds 1000 allowed). Consider refactoring.
Open

<?php
/**
 * View Admin As - Role Defaults Module
 *
 * @author  Jory Hogeveen <info@keraweb.nl>
Severity: Major
Found in modules/class-role-defaults.php - About 1 day to fix

    File class-role-manager.php has 1170 lines of code (exceeds 1000 allowed). Consider refactoring.
    Open

    <?php
    /**
     * View Admin As - Role Manager Module
     *
     * @author  Jory Hogeveen <info@keraweb.nl>
    Severity: Major
    Found in modules/class-role-manager.php - About 6 hrs to fix

      Avoid too many return statements within this method.
      Open

              return $data;
      Severity: Major
      Found in modules/class-role-manager.php - About 30 mins to fix
        Severity
        Category
        Status
        Source
        Language