CORE-POS/IS4C

View on GitHub
fannie/admin/Tenders/TenderEditor.php

Summary

Maintainability
C
1 day
Test Coverage
A
91%

File TenderEditor.php has 345 lines of code (exceeds 250 allowed). Consider refactoring.
Open

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

    Copyright 2010 Whole Foods Co-op

Severity: Minor
Found in fannie/admin/Tenders/TenderEditor.php - About 4 hrs to fix

    TenderEditor has 32 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class TenderEditor extends FannieRESTfulPage 
    {
        protected $title = "Fannie : Tenders";
        protected $header = "Tenders";
        protected $must_authenticate = True;
    Severity: Minor
    Found in fannie/admin/Tenders/TenderEditor.php - About 4 hrs to fix

      Method getTenderTable has 61 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          private function getTenderTable()
          {
              $this->connection->selectDB($this->config->get('OP_DB'));
              $model = new TendersModel($this->connection);
              
      Severity: Major
      Found in fannie/admin/Tenders/TenderEditor.php - About 2 hrs to fix

        There are no issues that match your filters.

        Category
        Status