open-orchestra/open-orchestra-display-bundle

View on GitHub
DisplayBundle/Tests/Manager/TreeManagerTest.php

Summary

Maintainability
C
1 day
Test Coverage

Method provideNodesAndTrees has 255 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function provideNodesAndTrees()
    {
        $rootNodeId = 'rootNodeId';
        $rootParentId = 'root';
        $childNodeId = 'childNodeId';
Severity: Major
Found in DisplayBundle/Tests/Manager/TreeManagerTest.php - About 1 day to fix

File TreeManagerTest.php has 276 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

namespace OpenOrchestra\DisplayBundle\Tests\Manager;

use OpenOrchestra\BaseBundle\Tests\AbstractTest\AbstractBaseTestCase;
Severity: Minor
Found in DisplayBundle/Tests/Manager/TreeManagerTest.php - About 2 hrs to fix

There are no issues that match your filters.

Category
Status