CORE-POS/IS4C

View on GitHub
fannie/item/PriceCheck/PriceCheckPage.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
7%

Method get_id_handler has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function get_id_handler()
    {
        $upc1 = BarcodeLib::padUPC($this->id);
        $upc2 = '0' . substr($upc1, 0, 12);

Severity: Minor
Found in fannie/item/PriceCheck/PriceCheckPage.php - About 1 hr to fix

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

        protected function get_view()
        {
            $this->addJQuery();
            $this->addBootstrap();
            $this->addScript('priceCheck.js');
    Severity: Minor
    Found in fannie/item/PriceCheck/PriceCheckPage.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status