CORE-POS/IS4C

View on GitHub
fannie/classlib2.0/lib/SignsLib.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method visualSignSelectHTML has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function visualSignSelectHTML()
    {
        $data = array(
            // array( file name, shown name, class name )
            array('LegacyWFCHybrid.png', 'Shelf Tags Hybrid (Standard Shelf Tag)', 'Legacy:WFC Hybrid'),
Severity: Major
Found in fannie/classlib2.0/lib/SignsLib.php - About 2 hrs to fix

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

        public static function visualSignSelectJS($selectID='signmod')
        {
            $var = 'test';
            return <<<JAVASCRIPT
    var curSelectID = '{$selectID}';
    Severity: Minor
    Found in fannie/classlib2.0/lib/SignsLib.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status