GB_Styles::do_item
Signature
public function do_item(string
$handle )
Parameters
$handle
—
string
Returns
- bool
Parent Implementation
Violations
PHPMessDetector
Line |
Rule |
Message |
79 - 175 |
CyclomaticComplexity
|
The method do_item() has a Cyclomatic Complexity of 29. The configured cyclomatic complexity threshold is 10. |
79 - 175 |
NPathComplexity
|
The method do_item() has an NPath complexity of 570240. The configured NPath complexity threshold is 200. |
Checkstyle
Line |
Column |
Severity |
Message |
79 |
12 |
error
|
Method name "GB_Styles::do_item" is not in camel caps format |
81 |
9 |
error
|
Inline control structures are not allowed |
85 |
9 |
error
|
Inline control structures are not allowed |
87 |
9 |
error
|
Expected 1 space after ELSE keyword; newline found |
87 |
9 |
error
|
Inline control structures are not allowed |
90 |
9 |
error
|
Inline control structures are not allowed |
94 |
121 |
warning
|
Line exceeds 120 characters; contains 121 characters |
104 |
9 |
error
|
Inline control structures are not allowed |
106 |
9 |
error
|
Expected 1 space after ELSE keyword; newline found |
106 |
9 |
error
|
Inline control structures are not allowed |
133 |
173 |
warning
|
Line exceeds 120 characters; contains 173 characters |
138 |
128 |
warning
|
Line exceeds 120 characters; contains 128 characters |
146 |
189 |
warning
|
Line exceeds 120 characters; contains 189 characters |
164 |
13 |
error
|
Inline control structures are not allowed |
165 |
141 |
warning
|
Line exceeds 120 characters; contains 141 characters |