CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/ShelfAudit/SaOOSItemReport.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function fetch_report_data()
    {
        $yesterday = date('Y-m-d', strtotime('yesterday'));
        $start = date('Y-m-d', strtotime('6 months ago'));
        $dtrans = DTransactionsModel::selectDTrans($start, $yesterday);
Severity: Minor
Found in fannie/modules/plugins2.0/ShelfAudit/SaOOSItemReport.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status