CORE-POS/IS4C

View on GitHub
fannie/reports/SalePreview/SalePreviewReport.php

Summary

Maintainability
A
3 hrs
Test Coverage
F
48%

Method report_description_content has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function report_description_content()
    {
        $imageFile = __DIR__ . '/../../item/images/done/floor' . $this->form->store . '.png';
        if (!file_exists($imageFile)) {
            return array();
Severity: Minor
Found in fannie/reports/SalePreview/SalePreviewReport.php - About 1 hr to fix

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

        public function fetch_report_data()
        {
            $query = "SELECT l.upc
                FROM batchList AS l
                    INNER JOIN batches AS b ON l.batchID=b.batchID
    Severity: Minor
    Found in fannie/reports/SalePreview/SalePreviewReport.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status