CORE-POS/IS4C

View on GitHub
fannie/reports/Coupons/CouponsReport.php

Summary

Maintainability
A
2 hrs
Test Coverage
D
68%

Method fetch_report_data has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function fetch_report_data()
    {
        $dbc = $this->connection;
        $dbc->selectDB($this->config->get('OP_DB'));

Severity: Minor
Found in fannie/reports/Coupons/CouponsReport.php - About 1 hr to fix

    Method form_content has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function form_content()
        {
            list($lastMonday, $lastSunday) = \COREPOS\Fannie\API\lib\Dates::lastWeek();
    
            ob_start();
    Severity: Minor
    Found in fannie/reports/Coupons/CouponsReport.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status