CORE-POS/IS4C

View on GitHub
fannie/classlib2.0/item/StandardAccounting.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
17%

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

    public static function extend($code, $store_id)
    {
        if (strlen($code) != 5) {
            return $code;
        }
Severity: Minor
Found in fannie/classlib2.0/item/StandardAccounting.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                    return self::perStoreCode($code, $store_id) . '-00';
    Severity: Major
    Found in fannie/classlib2.0/item/StandardAccounting.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status