\PHPUnit_Framework_TestResult

A TestResult collects the results of executing a test case.

Synopsis

class PHPUnit_Framework_TestResult implements Countable {
}

Hierarchy

Implements

Violations

PHPMessDetector

Line Rule Message
236 - 274 CyclomaticComplexity The method addError() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
571 - 764 CyclomaticComplexity The method run() has a Cyclomatic Complexity of 42. The configured cyclomatic complexity threshold is 10.
571 - 764 NPathComplexity The method run() has an NPath complexity of 419328. The configured NPath complexity threshold is 200.
571 - 764 ExcessiveMethodLength The method run() has 194 lines of code. Current threshold is set to 100. Avoid really long methods.

Checkstyle

Line Column Severity Message
624 21 error CASE statements must not be defined using curly braces
629 21 error CASE statements must not be defined using curly braces
634 21 error CASE statements must not be defined using curly braces

Members

protected

  • $beStrictAboutOutputDuringTests — boolean
  • $beStrictAboutTestSize — boolean
  • $beStrictAboutTestsThatDoNotTestAnything — boolean
  • $beStrictAboutTodoAnnotatedTests — boolean
  • $codeCoveragePHP_CodeCoverage
    Code Coverage information.
  • $convertErrorsToExceptions — boolean
  • $errors — array
  • $failures — array
  • $lastTestFailed — boolean
  • $listeners — array
  • $notImplemented — array
  • $passed — array
  • $risky — array
  • $runTests — integer
  • $skipped — array
  • $stop — boolean
  • $stopOnError — boolean
  • $stopOnFailure — boolean
  • $stopOnIncomplete — boolean
  • $stopOnRisky — boolean
  • $stopOnSkipped — boolean
  • $time — float
  • $timeoutForLargeTests — integer
  • $timeoutForMediumTests — integer
  • $timeoutForSmallTests — integer
  • $topTestSuitePHPUnit_Framework_TestSuite

Methods

protected

public

History