CORE-POS/IS4C

View on GitHub
fannie/item/vendors/PrintOrderedSigns.php

Summary

Maintainability
B
4 hrs
Test Coverage
F
37%

Method form has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function form($upcs='')
    {
        $offset = (FormLib::get('offset') == 'on') ? 'checked': '';

        return <<<HTML
Severity: Minor
Found in fannie/item/vendors/PrintOrderedSigns.php - About 1 hr to fix

    Method getProdData has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function getProdData($dbc, $upcs)
        {
            $td = '';
            $data = array();
            $i = 0;
    Severity: Minor
    Found in fannie/item/vendors/PrintOrderedSigns.php - About 1 hr to fix

      Method get_upcs_view has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          protected function get_upcs_view()
          {
              $URI = $_SERVER['REQUEST_URI'] . "&print=1";
              $upcs = FormLib::get('upcs');
              $upcs = explode("\n", $upcs);
      Severity: Minor
      Found in fannie/item/vendors/PrintOrderedSigns.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status