hisamu/php-xbase

View on GitHub
src/TableReader.php

Summary

Maintainability
C
7 hrs
Test Coverage
C
74%

TableReader has 32 functions (exceeds 20 allowed). Consider refactoring.
Open

class TableReader
{
    use TableAwareTrait;

    /** @var int Current record position. */
Severity: Minor
Found in src/TableReader.php - About 4 hrs to fix

    File TableReader.php has 257 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php declare(strict_types=1);
    
    namespace XBase;
    
    use XBase\Column\ColumnInterface;
    Severity: Minor
    Found in src/TableReader.php - About 2 hrs to fix

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

          public function previousRecord(): ?RecordInterface
          {
              if (!$this->isOpen()) {
                  $this->open();
              }
      Severity: Minor
      Found in src/TableReader.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status