Dhii/simple-test

View on GitHub
src/Tester/Tester.php

Summary

Maintainability
A
0 mins
Test Coverage

The method _createAssertionMaker is not named in camelCase.
Open

    protected function _createAssertionMaker()
    {
        return new Assertion\Maker();
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createSuite is not named in camelCase.
Open

    protected function _createSuite($code, Coordinator\CoordinatorInterface $coordinator)
    {
        return new Suite\Suite($code, $coordinator);
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createWriter is not named in camelCase.
Open

    protected function _createWriter()
    {
        return new Writer\Writer();
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createStatAggregator is not named in camelCase.
Open

    protected function _createStatAggregator()
    {
        return new Test\Aggregator();
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _prepareResults is not named in camelCase.
Open

    protected function _prepareResults($results)
    {
        return $this->_createResultSetIterator($results, $this->_getStatAggregatorInstance());
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createRunner is not named in camelCase.
Open

    protected function _createRunner(Coordinator\CoordinatorInterface $coordinator, Assertion\MakerInterface $assertionMaker, Stats\AggregatorInterface $statAggregator)
    {
        return new Runner\Runner($coordinator, $assertionMaker, $statAggregator);
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createResultSetIterator is not named in camelCase.
Open

    protected function _createResultSetIterator($results, Stats\AggregatorInterface $aggregator = null)
    {
        $iterator = new Test\ResultSetCollection($results, $aggregator);

        return $iterator;
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method _createCoordinator is not named in camelCase.
Open

    protected function _createCoordinator(Writer\WriterInterface $writer)
    {
        return new Coordinator\Coordinator($writer);
    }
Severity: Minor
Found in src/Tester/Tester.php by phpmd

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status