CORE-POS/IS4C

View on GitHub
fannie/modules/plugins2.0/StaffArPayrollDeduction/StaffArAccountsPage.php

Summary

Maintainability
C
1 day
Test Coverage

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

    public function get_view()
    {
        global $FANNIE_PLUGIN_SETTINGS, $FANNIE_OP_DB, $FANNIE_TRANS_DB;
        $this->addScript('js/accounts.js?changed=20180104');
        $dbc = FannieDB::get($FANNIE_PLUGIN_SETTINGS['StaffArPayrollDB']);

    File StaffArAccountsPage.php has 273 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /*******************************************************************************
    
        Copyright 2013 Whole Foods Co-op
    
    

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

          public function helpContent()
          {
              return '<p>This tool schedules automatic payments to
                  accounts\' store charge balance. Its primary purpose is to
                  address the gap in time between entering deduction information

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

            public function get_add_payid_handler()
            {
                global $FANNIE_PLUGIN_SETTINGS, $FANNIE_OP_DB, $FANNIE_TRANS_DB;
                $ret = array();
        
        

          There are no issues that match your filters.

          Category
          Status