Could Be Abstract Class |
All, Analyze, ClassReview |
1 |
1 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview |
4 |
4 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
1 |
1 |
Minor |
92 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
14 |
5 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined |
16 |
5 |
Major |
91 % |
Undefined static:: Or self:: |
Analyze, All, Simple, Undefined |
4 |
2 |
Minor |
35 % |
Unresolved Classes |
Analyze, All, Stubs |
8 |
3 |
Major |
76 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
1 |
1 |
Major |
67 % |
Unused Public Methods |
All, Analyze |
1 |
1 |
Minor |
0 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
1 |
1 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
1 |
1 |
Minor |
84 % |
Mismatched Typehint |
All, Analyze, Typechecks |
9 |
3 |
Major |
66 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, CE |
45 |
3 |
Major |
68 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
7 |
2 |
Minor |
98 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
9 |
3 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
4 |
1 |
Major |
72 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
7 |
5 |
Major |
69 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
2 |
1 |
Minor |
64 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions |
4 |
1 |
Minor |
60 % |
list() May Omit Variables |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
1 |
1 |
Minor |
37 % |
Mismatched Ternary Alternatives |
All, Analyze, Suggestions, Level 4 |
1 |
1 |
Major |
64 % |
Variable Is Not A Condition |
All, Analyze |
1 |
1 |
Minor |
93 % |
StandaloneType True False Null |
All, Appcontent, Analyze |
1 |
1 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview |
1 |
1 |
Minor |
0 % |
Assigned Twice |
All, Analyze |
4 |
1 |
Minor |
79 % |
Overwritten Literals |
Analyze, All |
4 |
1 |
Major |
79 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1 |
1 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
1 |
1 |
Minor |
87 % |