chrisandchris/passive-record-orm

View on GitHub
src/ChrisAndChris/Common/RowMapperBundle/Tests/Services/Query/BuilderTest.php

Summary

Maintainability
D
2 days
Test Coverage

File BuilderTest.php has 515 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace ChrisAndChris\Common\RowMapperBundle\Tests\Services\Query;

use ChrisAndChris\Common\RowMapperBundle\Exceptions\MalformedQueryException;

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

    class BuilderTest extends AbstractBuilderTest
    {
    
        function testSimpleQuery()
        {

      Method testFieldlist has 78 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function testFieldlist()
          {
              $builder = $this->getBuilder();
              $builder->fieldlist(
                  [

        Method testSimpleQuery has 43 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            function testSimpleQuery()
            {
                // @formatter:off
                $builder = $this->getBuilder();
                $builder->select()

          Method testComparison has 30 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function testComparison()
              {
                  $tests = [
                      '<=',
                      '<',

            There are no issues that match your filters.

            Category
            Status