CORE-POS/IS4C

View on GitHub
fannie/auth/ui/AuthGroupsPage.php

Summary

Maintainability
B
6 hrs
Test Coverage
D
61%

File AuthGroupsPage.php has 309 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/*******************************************************************************

    Copyright 2013 Whole Foods Co-op, Duluth, MN

Severity: Minor
Found in fannie/auth/ui/AuthGroupsPage.php - About 3 hrs to fix

    Method get_id_view has 48 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function get_id_view()
        {
            $group = detailGroup($this->id);
            $self = filter_input(INPUT_SERVER, 'PHP_SELF');
    
    
    Severity: Minor
    Found in fannie/auth/ui/AuthGroupsPage.php - About 1 hr to fix

      Method get_newAuth_view has 39 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function get_newAuth_view()
          {
              $self = filter_input(INPUT_SERVER, 'PHP_SELF');
              $gSelect = $this->groupSelect();
              $authOpts=$noteOpts='';
      Severity: Minor
      Found in fannie/auth/ui/AuthGroupsPage.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status