CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/OpenBookFinancingV2/ObfPlanPage.php

Summary

Maintainability
B
4 hrs
Test Coverage

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

    protected function get_view()
    {
        $res = $this->connection->query('
            SELECT obfCategoryID, name, storeID
            FROM ' . FannieDB::fqn('ObfCategories', 'plugin:ObfDatabaseV2') . '
Severity: Major
Found in fannie/modules/plugins2.0/OpenBookFinancingV2/ObfPlanPage.php - About 2 hrs to fix

    Method post_view has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function post_view()
        {
            $settings = $this->config->get('PLUGIN_SETTINGS');
            $model = new ObfPlansModel($this->connection);
            $model->whichDB($settings['ObfDatabaseV2']);
    Severity: Minor
    Found in fannie/modules/plugins2.0/OpenBookFinancingV2/ObfPlanPage.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status