Avoid Optional Properties |
All, Analyze |
2 |
2 |
Major |
83 % |
Class Could Be Final |
All, Analyze, ClassReview |
9 |
9 |
Minor |
95 % |
Forgotten Visibility |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks |
9 |
9 |
Minor |
42 % |
Property Used In One Method Only |
All, Analyze |
1 |
1 |
Minor |
84 % |
Unused Methods |
Dead code, All, Simple |
7 |
7 |
Minor |
95 % |
Use Class Operator |
All, Analyze, Performances, Simple, CI-checks |
2 |
2 |
Minor |
74 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks |
2 |
2 |
Minor |
54 % |
Missing Include |
All, Analyze |
1 |
1 |
Critical |
61 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3 |
1 |
1 |
Major |
61 % |
Too Many Local Variables |
All, Analyze |
1 |
1 |
Minor |
65 % |
Undefined Functions |
Analyze, All, CI-checks |
14 |
7 |
Major |
71 % |
Uses Default Values |
Analyze, All, Simple, CI-checks |
73 |
15 |
Minor |
97 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks |
1 |
1 |
Major |
38 % |
Logical To in_array |
All, Analyze, Level 2 |
1 |
1 |
Minor |
66 % |
array_key_exists() Works On Arrays |
All, CompatibilityPHP74, Analyze |
1 |
1 |
Minor |
0 % |
Don't Pollute Global Space |
All, Analyze |
10 |
9 |
Minor |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks |
4 |
4 |
Major |
45 % |
Possible Missing Subpattern |
All, Analyze, Top10, CI-checks |
2 |
2 |
Minor |
40 % |
No Class In Global |
All, Analyze, CI-checks |
10 |
9 |
Minor |
78 % |
PHP Keywords As Names |
Analyze, All, Simple |
8 |
2 |
Major |
89 % |
Avoid Using stdClass |
All, Analyze, OneFile, Simple, Level 4 |
2 |
2 |
Minor |
45 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks |
5 |
3 |
Minor |
0 % |
Always Anchor Regex |
All, Security |
7 |
3 |
Major |
65 % |
Altering Foreach Without Reference |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks |
1 |
1 |
Major |
52 % |
Alternative Syntax Consistence |
All, Analyze |
4 |
1 |
Major |
20 % |
Buried Assignation |
Analyze, All |
2 |
1 |
Minor |
82 % |
Common Alternatives |
Analyze, All, Simple |
8 |
6 |
Major |
61 % |
Could Use __DIR__ |
Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks |
3 |
2 |
Major |
56 % |
Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks |
3 |
1 |
Minor |
60 % |
Dont Change The Blind Var |
All, Analyze |
1 |
1 |
Minor |
72 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions |
11 |
4 |
Minor |
58 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks |
6 |
3 |
Minor |
65 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
58 |
6 |
Minor |
43 % |
Max Level Of Nesting |
All, Analyze |
2 |
2 |
Minor |
0 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
4 |
2 |
Major |
87 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks |
3 |
2 |
Minor |
61 % |
Variable Is Not A Condition |
All, Analyze |
10 |
6 |
Minor |
57 % |
@ Operator |
Appinfo, ClearPHP, All, Analyze, Performances, CI-checks |
9 |
6 |
Minor |
66 % |
Several Instructions On The Same Line |
Analyze, All |
6 |
4 |
Major |
57 % |
Repeated Regex |
All, Analyze, Level 1, CI-checks |
2 |
1 |
Minor |
47 % |
Results May Be Missing |
Analyze, All, Simple, CI-checks |
2 |
2 |
Major |
18 % |
Same Conditions In Condition |
Analyze, All, Simple, CI-checks |
1 |
1 |
Critical |
49 % |
Should Make Ternary |
All, Analyze, OneFile, Simple, CI-checks |
1 |
1 |
Minor |
85 % |
Preprocessable |
Analyze, All, Rector |
1 |
1 |
Minor |
86 % |
Should Use Explode Args |
All, Analyze, CI-checks |
1 |
1 |
Minor |
0 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks |
4 |
3 |
Major |
68 % |
Use Constant |
PHP recommendations, All, Analyze, php-cs-fixable, CI-checks |
3 |
2 |
Minor |
0 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
81 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks |
1 |
1 |
Minor |
58 % |
Undefined Variable |
All, Analyze, CI-checks |
38 |
6 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
1 |
1 |
Minor |
87 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4 |
3 |
2 |
Minor |
95 % |