Ambiguous Static |
All, Analyze |
9 |
3 |
Minor |
66 % |
Could Be Abstract Class |
All, Analyze, ClassReview |
1 |
1 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
3 |
3 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
2 |
1 |
Minor |
92 % |
Non Static Methods Called In A Static |
Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks, CE |
6 |
3 |
Minor |
20 % |
Property Could Be Local |
All, Analyze, ClassReview |
2 |
1 |
Minor |
76 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
2 |
1 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
2 |
2 |
Major |
91 % |
Unresolved Classes |
Analyze, All, Stubs |
3 |
3 |
Major |
76 % |
Unused Public Method |
All, Analyze |
14 |
5 |
Minor |
0 % |
Useless Abstract Class |
Analyze, All, Simple |
1 |
1 |
Minor |
33 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
2 |
2 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
2 |
2 |
Minor |
84 % |
Dont Collect Void |
All, Analyze, IsPHP, IsStub, IsExt |
2 |
1 |
Minor |
0 % |
Relay Function |
Analyze, All |
1 |
1 |
Major |
84 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
12 |
3 |
Major |
68 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
1 |
1 |
Major |
69 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, CE |
2 |
1 |
Minor |
74 % |
Check Division By Zero |
All, Analyze |
1 |
1 |
Minor |
0 % |
Common Alternatives |
Analyze, All, Simple |
1 |
1 |
Major |
80 % |
Variable Is Not A Condition |
All, Analyze |
1 |
1 |
Minor |
93 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, CE |
1 |
1 |
Minor |
86 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
82 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
81 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
2 |
1 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
2 |
1 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
2 |
1 |
Minor |
95 % |