Avoid Optional Properties |
All, Analyze |
2 |
2 |
Major |
84 % |
Class Could Be Final |
All, Analyze, ClassReview |
3 |
3 |
Minor |
96 % |
Empty Classes |
Analyze, All, Simple |
1 |
1 |
Minor |
60 % |
Property Used In One Method Only |
All, Analyze |
2 |
2 |
Minor |
84 % |
Undefined Classes |
Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt |
4 |
2 |
Major |
91 % |
Unresolved Classes |
Analyze, All, Stubs |
2 |
2 |
Major |
76 % |
Use const |
Analyze, Coding Conventions, All, Top10, CI-checks, CE |
6 |
4 |
Minor |
54 % |
Invalid Constant Name |
Analyze, All, Simple |
6 |
4 |
Major |
51 % |
Multiple Constant Definition |
Analyze, All, Simple, CI-checks, CE |
6 |
4 |
Minor |
41 % |
Missing Include |
All, Analyze |
28 |
4 |
Critical |
65 % |
Could Make A Function |
All, Analyze, Suggestions |
20 |
10 |
Minor |
66 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE |
14 |
11 |
Major |
68 % |
Hidden Use Expression |
Analyze, OneFile, All, Simple, CI-checks, CE |
4 |
4 |
Minor |
23 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, CE |
2 |
2 |
Minor |
74 % |
Don't Pollute Global Space |
All, Analyze |
6 |
4 |
Minor |
0 % |
Should Use Prepared Statement |
Analyze, Security, All, Simple, CI-checks, CE |
2 |
2 |
Major |
28 % |
Adding Zero |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE |
2 |
2 |
Minor |
69 % |
Cast To Boolean |
Analyze, OneFile, All, Simple, Level 1 |
2 |
2 |
Minor |
56 % |
Check JSON |
All, Analyze, CI-checks, CE |
2 |
2 |
Major |
65 % |
Common Alternatives |
Analyze, All, Simple |
2 |
2 |
Major |
80 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions |
14 |
2 |
Minor |
60 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
8 |
4 |
Minor |
66 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
8 |
8 |
Minor |
57 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE |
1 |
1 |
Major |
61 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
8 |
4 |
Major |
84 % |
No isset() With empty() |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, CE |
4 |
2 |
Minor |
30 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE |
24 |
4 |
Minor |
62 % |
Variable Is Not A Condition |
All, Analyze |
10 |
8 |
Minor |
93 % |
Repeated print() |
Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, CE |
2 |
2 |
Major |
50 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, CE |
2 |
2 |
Minor |
86 % |
Preprocessable |
Analyze, All, Rector |
12 |
12 |
Minor |
85 % |
Use Same Types For Comparisons |
All, Analyze |
2 |
2 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
16 |
8 |
Minor |
77 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
5 |
5 |
Minor |
95 % |