CORE-POS/IS4C

View on GitHub
fannie/item/mapping/NewStoreFloorsPage.php

Summary

Maintainability
D
2 days
Test Coverage

Method javascript_content has 264 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function javascript_content()
    {
        global $FANNIE_OP_DB;
        $dbc = FannieDB::get($FANNIE_OP_DB);
        $storeID = FormLib::get('id');
Severity: Major
Found in fannie/item/mapping/NewStoreFloorsPage.php - About 1 day to fix

    File NewStoreFloorsPage.php has 339 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    include(dirname(__FILE__) . '/../../config.php');
    if (!class_exists('FannieAPI')) {
        include_once(__DIR__ . '/../../classlib2.0/FannieAPI.php');
    Severity: Minor
    Found in fannie/item/mapping/NewStoreFloorsPage.php - About 4 hrs to fix

      Method get_view has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function get_view()
          {
              $storeID = FormLib::get('id');
              $section = FormLib::get('section');
              $subSection = FormLib::get('subSection');
      Severity: Minor
      Found in fannie/item/mapping/NewStoreFloorsPage.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status