\PHPUnit_TextUI_Command

A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.

Synopsis

class PHPUnit_TextUI_Command {
}

Violations

PHPMessDetector

Line Rule Message
146 - 204 CyclomaticComplexity The method run() has a Cyclomatic Complexity of 12. The configured cyclomatic complexity threshold is 10.
146 - 204 NPathComplexity The method run() has an NPath complexity of 300. The configured NPath complexity threshold is 200.
176 ExitExpression The method run() contains an exit expression.
200 ExitExpression The method run() contains an exit expression.
262 - 718 CyclomaticComplexity The method handleArguments() has a Cyclomatic Complexity of 105. The configured cyclomatic complexity threshold is 10.
262 - 718 NPathComplexity The method handleArguments() has an NPath complexity of 190577387520. The configured NPath complexity threshold is 200.
262 - 718 ExcessiveMethodLength The method handleArguments() has 457 lines of code. Current threshold is set to 100. Avoid really long methods.
354 ExitExpression The method handleArguments() contains an exit expression.
505 ExitExpression The method handleArguments() contains an exit expression.
638 ExitExpression The method handleArguments() contains an exit expression.
716 ExitExpression The method handleArguments() contains an exit expression.
832 ExitExpression The method handleSelfUpdate() contains an exit expression.
882 ExitExpression The method handleSelfUpdate() contains an exit expression.
886 ExitExpression The method handleSelfUpdate() contains an exit expression.
1003 ExitExpression The method showError() contains an exit expression.

Checkstyle

Line Column Severity Message
281 17 error CASE statements must not be defined using curly braces
286 17 error CASE statements must not be defined using curly braces
292 17 error CASE statements must not be defined using curly braces
297 17 error CASE statements must not be defined using curly braces
302 17 error CASE statements must not be defined using curly braces
307 17 error CASE statements must not be defined using curly braces
312 17 error CASE statements must not be defined using curly braces
317 17 error CASE statements must not be defined using curly braces
328 17 error CASE statements must not be defined using curly braces
333 17 error CASE statements must not be defined using curly braces
346 17 error CASE statements must not be defined using curly braces
352 17 error CASE statements must not be defined using curly braces
358 17 error CASE statements must not be defined using curly braces
363 17 error CASE statements must not be defined using curly braces
368 17 error CASE statements must not be defined using curly braces
373 17 error CASE statements must not be defined using curly braces
375 30 error Only one argument is allowed per line in a multi-line function call
380 17 error CASE statements must not be defined using curly braces
382 30 error Only one argument is allowed per line in a multi-line function call
387 17 error CASE statements must not be defined using curly braces
392 17 error CASE statements must not be defined using curly braces
397 17 error CASE statements must not be defined using curly braces
402 17 error CASE statements must not be defined using curly braces
407 17 error CASE statements must not be defined using curly braces
412 17 error CASE statements must not be defined using curly braces
417 17 error CASE statements must not be defined using curly braces
422 17 error CASE statements must not be defined using curly braces
427 17 error CASE statements must not be defined using curly braces
432 17 error CASE statements must not be defined using curly braces
437 17 error CASE statements must not be defined using curly braces
442 17 error CASE statements must not be defined using curly braces
447 17 error CASE statements must not be defined using curly braces
452 17 error CASE statements must not be defined using curly braces
457 17 error CASE statements must not be defined using curly braces
462 17 error CASE statements must not be defined using curly braces
467 17 error CASE statements must not be defined using curly braces
472 17 error CASE statements must not be defined using curly braces
477 17 error CASE statements must not be defined using curly braces
482 17 error CASE statements must not be defined using curly braces
487 17 error CASE statements must not be defined using curly braces
492 17 error CASE statements must not be defined using curly braces
498 17 error CASE statements must not be defined using curly braces
503 17 error CASE statements must not be defined using curly braces
509 17 error CASE statements must not be defined using curly braces
514 17 error CASE statements must not be defined using curly braces
519 17 error CASE statements must not be defined using curly braces
524 17 error CASE statements must not be defined using curly braces
529 17 error CASE statements must not be defined using curly braces
534 17 error CASE statements must not be defined using curly braces
544 17 error CASE statements must not be defined using curly braces
549 17 error DEFAULT statements must not be defined using curly braces
582 124 warning Line exceeds 120 characters; contains 123 characters
672 47 error Only one argument is allowed per line in a multi-line function call
684 55 error Only one argument is allowed per line in a multi-line function call
696 149 warning Line exceeds 120 characters; contains 148 characters
706 140 warning Line exceeds 120 characters; contains 139 characters

Members

private

  • $versionStringPrinted — boolean

protected

  • $arguments — array
  • $longOptions — array
  • $options — array

Methods

private

protected

public

History