CORE-POS/IS4C

View on GitHub
fannie/reports/Accounting/SalesByDay.php

Summary

Maintainability
A
3 hrs
Test Coverage
F
31%

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

    public function fetch_report_data()
    {
        $dbc = $this->connection;
        try {
            $date1 = $this->form->date1;
Severity: Major
Found in fannie/reports/Accounting/SalesByDay.php - About 2 hrs to fix

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

        public function form_content()
        {
            $dates = FormLib::standardDateFields();
            $store = FormLib::storePicker();
            $opts = '';
    Severity: Minor
    Found in fannie/reports/Accounting/SalesByDay.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status