TheSeer\phpDox\Collector\Backend\UnitCollectingVisitor::setVariableDefaultValue
Signature
private function setVariableDefaultValue(AbstractVariableObject
$variable,
[Expr
$default = NULL] )
Parameters
$variable
— TheSeer\phpDox\Collector\AbstractVariableObject
$default
— \PhpParser\Node\Expr
Returns
- string
Test Coverage
Information
- Coverage: 0/77 Lines (0%)
- Tests: 0
- Passed: 0 (0%)
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
289 - 365 | CyclomaticComplexity | The method setVariableDefaultValue() has a Cyclomatic Complexity of 21. The configured cyclomatic complexity threshold is 10. |
289 - 365 | NPathComplexity | The method setVariableDefaultValue() has an NPath complexity of 138240. The configured NPath complexity threshold is 200. |