GB_Scripts::do_item
Signature
public function do_item(
$handle,
[boolean
$group = false] )
Parameters
$handle
—
$group
—
boolean
Parent Implementation
Violations
PHPMessDetector
Line |
Rule |
Message |
115 - 224 |
CyclomaticComplexity
|
The method do_item() has a Cyclomatic Complexity of 26. The configured cyclomatic complexity threshold is 10. |
115 - 224 |
NPathComplexity
|
The method do_item() has an NPath complexity of 995328. The configured NPath complexity threshold is 200. |
115 - 224 |
ExcessiveMethodLength
|
The method do_item() has 110 lines of code. Current threshold is set to 100. Avoid really long methods. |
Checkstyle
Line |
Column |
Severity |
Message |
115 |
12 |
error
|
Method name "GB_Scripts::do_item" is not in camel caps format |
117 |
9 |
error
|
Inline control structures are not allowed |
125 |
9 |
error
|
Inline control structures are not allowed |
130 |
9 |
error
|
Inline control structures are not allowed |
132 |
9 |
error
|
Expected 1 space after ELSE keyword; newline found |
132 |
9 |
error
|
Inline control structures are not allowed |
135 |
9 |
error
|
Inline control structures are not allowed |
150 |
121 |
warning
|
Line exceeds 120 characters; contains 121 characters |
178 |
9 |
error
|
Inline control structures are not allowed |
183 |
9 |
error
|
Inline control structures are not allowed |
190 |
9 |
error
|
Inline control structures are not allowed |
198 |
9 |
error
|
Inline control structures are not allowed |