Class Could Be Final |
All, Analyze, ClassReview |
42 |
42 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview |
17 |
11 |
Minor |
92 % |
Could Inject Param |
All, Analyze, ClassReview |
2 |
1 |
Minor |
0 % |
Non Nullable Getters |
All, Analyze, ClassReview |
4 |
3 |
Minor |
0 % |
Property Could Be Local |
All, Analyze, ClassReview |
12 |
9 |
Minor |
76 % |
Property Used In One Method Only |
All, Analyze |
2 |
2 |
Minor |
84 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple |
38 |
30 |
Minor |
95 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
204 |
58 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
11 |
7 |
Major |
62 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE |
3 |
2 |
Major |
61 % |
Undefined static:: Or self:: |
Analyze, All, Simple, Undefined |
7 |
2 |
Minor |
35 % |
Undefined ::class |
All, Analyze, CI-checks, Undefined, CE |
24 |
6 |
Major |
36 % |
Unfinished Object |
All, Analyze, ClassReview |
25 |
12 |
Major |
0 % |
Unresolved Classes |
Analyze, All, Stubs |
22 |
13 |
Major |
76 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused |
4 |
4 |
Major |
67 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused |
1 |
1 |
Minor |
0 % |
Unused Public Method |
All, Analyze |
135 |
47 |
Minor |
0 % |
Used Once Property |
All, Analyze |
12 |
10 |
Minor |
74 % |
Useless Constructor |
Analyze, All, Simple, Level 3 |
3 |
3 |
Minor |
41 % |
Weak Typing |
All, Analyze |
2 |
1 |
Minor |
47 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
6 |
4 |
Minor |
0 % |
Throw Raw Exceptions |
All, Analyze, Suggestions |
1 |
1 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All |
4 |
3 |
Minor |
84 % |
Missing Include |
All, Analyze |
6 |
5 |
Critical |
65 % |
Use Named Boolean In Argument Definition |
All, Analyze |
14 |
7 |
Minor |
84 % |
Empty Function |
Analyze, All, Simple |
7 |
7 |
Minor |
74 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
3 |
3 |
Major |
70 % |
Insufficient Typehint |
All, Analyze, Typechecks |
4 |
4 |
Major |
43 % |
Modified Typed Parameter |
All, Analyze, ClassReview |
3 |
3 |
Minor |
0 % |
No Boolean As Default |
All, Analyze |
14 |
7 |
Minor |
84 % |
No Return Used |
All, Analyze, Suggestions, Level 4 |
17 |
5 |
Minor |
69 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
17 |
9 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
41 |
24 |
Major |
90 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, CE |
34 |
10 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
4 |
1 |
Minor |
0 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE |
121 |
51 |
Major |
72 % |
Overload Existing Names |
All, Analyze, Semantics, IsPHP, IsStub, IsExt |
8 |
8 |
Minor |
0 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt |
175 |
60 |
Major |
69 % |
Assumptions |
All, Analyze |
3 |
2 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
15 |
8 |
Minor |
64 % |
Check Division By Zero |
All, Analyze |
3 |
2 |
Minor |
0 % |
Identical Consecutive Expression |
All, Analyze |
2 |
2 |
Minor |
59 % |
Implicit Conversion To Int |
All, Analyze, LintButWontExec |
3 |
3 |
Minor |
0 % |
Inconsistent Elseif |
All, Analyze |
1 |
1 |
Major |
73 % |
Long Arguments |
All, Analyze |
14 |
11 |
Minor |
68 % |
Merge If Then |
All, Analyze, CI-checks, CE |
4 |
4 |
Minor |
0 % |
No Need For Triple Equal |
All, Analyze |
3 |
3 |
Minor |
0 % |
Variable Is Not A Condition |
All, Analyze |
14 |
7 |
Minor |
93 % |
include_once() Usage |
Analyze, Appinfo, All, CE |
1 |
1 |
Minor |
73 % |
Return True False |
Analyze, All, Simple, Level 1, CI-checks, CE |
1 |
1 |
Major |
46 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, CE |
1 |
1 |
Minor |
0 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
82 % |
Useless Type Casting |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, CE |
3 |
2 |
Minor |
47 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE |
1 |
1 |
Critical |
15 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Recycled Variables |
All, Analyze |
4 |
2 |
Minor |
0 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
49 |
29 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused |
1 |
1 |
Minor |
87 % |