CORE-POS/IS4C

View on GitHub
fannie/mem/patronage/PatronageGrossPurchases.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
2%

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

    protected function get_id_handler()
    {
        global $FANNIE_OP_DB, $FANNIE_TRANS_DB;
        $dbc = FannieDB::get($FANNIE_OP_DB);
        if ($dbc->table_exists("patronage_workingcopy")) {
Severity: Minor
Found in fannie/mem/patronage/PatronageGrossPurchases.php - About 1 hr to fix

    Method get_view has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function get_view()
        {
            global $FANNIE_OP_DB, $FANNIE_TRANS_DB;
            $dbc = FannieDB::get($FANNIE_OP_DB);
            ob_start();
    Severity: Minor
    Found in fannie/mem/patronage/PatronageGrossPurchases.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status