iranianpep/code-jetter

View on GitHub
tests/ArrayUtilityTest.php

Summary

Maintainability
A
3 hrs
Test Coverage

Method testFilter has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function testFilter()
    {
        $utility = new ArrayUtility();

        $ios = [
Severity: Minor
Found in tests/ArrayUtilityTest.php - About 1 hr to fix

    Method testArrayComparison has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function testArrayComparison()
        {
            $utility = new ArrayUtility();
    
            $ios = [
    Severity: Minor
    Found in tests/ArrayUtilityTest.php - About 1 hr to fix

      Line exceeds 120 characters; contains 141 characters
      Open

                  $this->assertEquals($io['output'], $utility->filter($io['input']['array'], $io['input']['excluding'], $io['input']['filterBy']));
      Severity: Minor
      Found in tests/ArrayUtilityTest.php by phpcodesniffer

      There are no issues that match your filters.

      Category
      Status