CORE-POS/IS4C

View on GitHub
fannie/batches/newbatch/BatchImportExportPage.php

Summary

Maintainability
A
2 hrs
Test Coverage
F
34%

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

    protected function get_id_view()
    {
        $batch = new BatchesModel($this->connection);
        $batch->batchID($this->id);
        $batch->load();
Severity: Minor
Found in fannie/batches/newbatch/BatchImportExportPage.php - About 1 hr to fix

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

        protected function post_id_handler()
        {
            $json = json_decode($this->id, true);
            if ($json === null) {
                return true;
    Severity: Minor
    Found in fannie/batches/newbatch/BatchImportExportPage.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status