\PHPUnit_Util_Getopt

Command-line options parsing class.

Synopsis

class PHPUnit_Util_Getopt {
}

Violations

PHPMessDetector

Line Rule Message
60 - 106 CyclomaticComplexity The method getopt() has a Cyclomatic Complexity of 14. The configured cyclomatic complexity threshold is 10.
60 - 106 NPathComplexity The method getopt() has an NPath complexity of 348. The configured NPath complexity threshold is 200.
108 - 144 CyclomaticComplexity The method parseShortOption() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10.
146 - 198 CyclomaticComplexity The method parseLongOption() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10.

Checkstyle

Line Column Severity Message
96 38 error Only one argument is allowed per line in a multi-line function call
96 53 error Only one argument is allowed per line in a multi-line function call
96 60 error Only one argument is allowed per line in a multi-line function call
100 38 error Only one argument is allowed per line in a multi-line function call
100 54 error Only one argument is allowed per line in a multi-line function call
100 61 error Only one argument is allowed per line in a multi-line function call

Methods

History