Class Could Be Final |
All, Analyze, ClassReview |
2 |
1 |
Minor |
96 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2 |
2 |
1 |
Minor |
71 % |
Forgotten Visibility |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
4 |
1 |
Minor |
42 % |
Property Used In One Method Only |
All, Analyze |
2 |
1 |
Minor |
84 % |
Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, CE |
2 |
1 |
Minor |
71 % |
Missing Include |
All, Analyze |
1 |
1 |
Critical |
65 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
1 |
1 |
Major |
70 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE |
9 |
2 |
Minor |
98 % |
Wrong Argument Type |
All, Analyze, Typechecks |
1 |
1 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Forgotten Interface |
All, Analyze, ChangedBehavior |
2 |
1 |
Minor |
48 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, CE |
1 |
1 |
Major |
59 % |
Don't Pollute Global Space |
All, Analyze |
2 |
1 |
Minor |
0 % |
No Class In Global |
All, Analyze, CI-checks, CE |
2 |
1 |
Minor |
77 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4 |
1 |
1 |
Minor |
64 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
1 |
1 |
Minor |
57 % |
Global Usage |
Analyze, Appinfo, ClearPHP, All, CE |
1 |
1 |
Minor |
52 % |
Missing Assignation In Command |
All, Analyze |
1 |
1 |
Minor |
0 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE |
1 |
1 |
Minor |
62 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, CE |
1 |
1 |
Minor |
86 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
2 |
1 |
Minor |
82 % |
Should Typecast |
Analyze, OneFile, All, Simple, CI-checks, Rector, CE |
1 |
1 |
Minor |
49 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
1 |
1 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE |
1 |
1 |
Minor |
95 % |