Class Could Be Final |
All, Analyze, ClassReview |
7 |
7 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
17 |
6 |
Minor |
92 % |
Non Static Methods Called In A Static |
Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks, CE |
3 |
2 |
Minor |
20 % |
Property Could Be Local |
All, Analyze, ClassReview |
5 |
1 |
Minor |
76 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview |
1 |
1 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
21 |
7 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, IsPHP, IsStub, IsExt |
1 |
1 |
Major |
91 % |
Unfinished Object |
All, Analyze, ClassReview |
3 |
1 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
2 |
1 |
Major |
76 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
3 |
3 |
Major |
67 % |
Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, CE |
4 |
3 |
Minor |
71 % |
Used Once Property |
All, Analyze |
4 |
1 |
Minor |
74 % |
Useless Constructor |
Analyze, All, Simple, Level 3 |
5 |
5 |
Minor |
41 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Minor |
71 % |
Missing Include |
All, Analyze |
13 |
5 |
Critical |
65 % |
Empty Function |
Analyze, All, Simple |
6 |
6 |
Minor |
74 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE |
25 |
8 |
Major |
68 % |
Use Constant As Arguments |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Major |
30 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, CE |
13 |
5 |
Minor |
98 % |
Don't Pollute Global Space |
All, Analyze |
7 |
7 |
Minor |
0 % |
Use === null |
Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE |
1 |
1 |
Minor |
53 % |
No Class In Global |
All, Analyze, CI-checks, CE |
7 |
7 |
Minor |
77 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
2 |
1 |
Minor |
0 % |
Don't Echo Error |
All, Analyze, Security, Simple, Level 1, CI-checks, CE |
2 |
2 |
Critical |
35 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
2 |
1 |
Minor |
64 % |
Common Alternatives |
Analyze, All, Simple |
1 |
1 |
Major |
80 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
1 |
1 |
Minor |
66 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
6 |
6 |
Minor |
57 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE |
2 |
2 |
Major |
61 % |
Forgotten Whitespace |
Analyze, All, CI-checks, CE |
2 |
2 |
Minor |
16 % |
Long Arguments |
All, Analyze |
2 |
2 |
Minor |
68 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
2 |
2 |
Major |
84 % |
include_once() Usage |
Analyze, Appinfo, All, CE |
17 |
8 |
Minor |
73 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
3 |
2 |
Minor |
82 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, CE |
1 |
1 |
Minor |
81 % |
Undefined Variable |
All, Analyze, CI-checks, CE |
9 |
5 |
Minor |
77 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
12 |
7 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
5 |
2 |
Minor |
87 % |