.dev/tests/unit/class_main_test.Test.php

Summary

Maintainability
A
1 hr
Test Coverage

Method test__find_site__complex has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function test__find_site__complex()
    {
        $func = $this->_get__find_site();
        $this->assertEquals(':80', $func([':80'], '', '', 'localhost'));
        $this->assertEquals(':80', $func([':80'], '', '', 'test.dev'));
Severity: Minor
Found in .dev/tests/unit/class_main_test.Test.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status