CORE-POS/IS4C

View on GitHub
fannie/reports/OrphanedItems/OrphanedItemsReport.php

Summary

Maintainability
A
3 hrs
Test Coverage
F
34%

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

    public function fetch_report_data()
    {
        $dbc = $this->connection;
        try {
            $vendorID = $this->form->id;
Severity: Minor
Found in fannie/reports/OrphanedItems/OrphanedItemsReport.php - About 1 hr to fix

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

        public function form_content()
        {
            $stores = FormLib::storePicker();
            $model = new VendorsModel($this->connection);
            $vendors = $model->toOptions();
    Severity: Minor
    Found in fannie/reports/OrphanedItems/OrphanedItemsReport.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status