Undefined Classes |
Analyze, All |
455 |
43 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks |
454 |
43 |
Major |
53 % |
Unresolved Catch |
Dead code, ClearPHP, All |
1 |
1 |
Major |
51 % |
Unresolved Classes |
Analyze, All |
2 |
1 |
Major |
86 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks |
1 |
1 |
Minor |
54 % |
Undefined Caught Exceptions |
Dead code, All |
1 |
1 |
None |
50 % |
Missing Include |
All, Analyze |
35 |
10 |
Critical |
61 % |
Could Make A Function |
All, Analyze, Suggestions |
253 |
39 |
Minor |
75 % |
Undefined Functions |
Analyze, All, CI-checks |
895 |
53 |
Major |
71 % |
Uses Default Values |
Analyze, All, Simple, CI-checks |
348 |
49 |
Minor |
97 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks |
8 |
3 |
Major |
38 % |
Logical To in_array |
All, Analyze, Level 2 |
8 |
7 |
Minor |
66 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks |
3 |
1 |
Minor |
74 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks |
17 |
13 |
Major |
59 % |
Don't Pollute Global Space |
All, Analyze |
2 |
2 |
Minor |
0 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks |
2 |
1 |
Major |
45 % |
Logical Should Use Symbolic Operators |
Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks |
23 |
10 |
Minor |
42 % |
No Class In Global |
All, Analyze, CI-checks |
2 |
2 |
Minor |
78 % |
PHP Keywords As Names |
Analyze, All, Simple |
2 |
1 |
Major |
89 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks |
3 |
2 |
Minor |
0 % |
Always Anchor Regex |
All, Security |
10 |
4 |
Major |
65 % |
Direct Injection |
Security, All |
35 |
9 |
Major |
41 % |
filter_input() As A Source |
All, Security |
1 |
1 |
Minor |
6 % |
Indirect Injection |
Security, All |
21 |
7 |
Critical |
21 % |
Integer Conversion |
All, Security |
6 |
3 |
Major |
0 % |
Set Cookie Safe Arguments |
All, Security |
1 |
1 |
Major |
23 % |
Should Use session_regenerateid() |
All, Security |
1 |
1 |
Major |
82 % |
Upload Filename Injection |
All, Security |
3 |
3 |
Major |
4 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks |
11 |
4 |
Minor |
76 % |
Check JSON |
All, Analyze, CI-checks |
4 |
4 |
Major |
64 % |
Common Alternatives |
Analyze, All, Simple |
87 |
9 |
Major |
61 % |
Concat Empty String |
All, Analyze, OneFile |
5 |
2 |
Minor |
0 % |
Double Assignation |
Analyze, All |
5 |
5 |
Major |
55 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions |
134 |
29 |
Minor |
58 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks |
17 |
9 |
Minor |
65 % |
Empty Blocks |
Analyze, All, Simple, CI-checks |
5 |
4 |
Minor |
57 % |
Empty Instructions |
Dead code, Analyze, All, Simple |
820 |
26 |
Minor |
43 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks |
16 |
8 |
Major |
60 % |
Forgotten Whitespace |
Analyze, All, CI-checks |
2 |
2 |
Minor |
15 % |
Htmlentities Calls |
Analyze, All, Simple, CI-checks |
122 |
36 |
Major |
39 % |
Identical Consecutive Expression |
All, Analyze |
1 |
1 |
Minor |
58 % |
Inconsistent Elseif |
All, Analyze |
22 |
20 |
Major |
73 % |
Long Arguments |
All, Analyze |
19 |
9 |
Minor |
67 % |
Merge If Then |
All, Analyze, CI-checks |
15 |
6 |
Minor |
0 % |
Mixed Concat And Interpolation |
All, Coding Conventions, Analyze |
28 |
12 |
Minor |
43 % |
Modernize Empty With Expression |
All, Analyze, OneFile, Simple |
1 |
1 |
Minor |
56 % |
Multiple Type Variable |
All, Analyze, Level 4 |
1 |
1 |
Minor |
43 % |
Nested Ifthen |
Analyze, All, RadwellCodes |
36 |
16 |
Major |
87 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks |
110 |
37 |
Minor |
61 % |
Variable Is Not A Condition |
All, Analyze |
15 |
11 |
Minor |
57 % |
include_once() Usage |
Analyze, Appinfo, All |
4 |
4 |
Minor |
73 % |
Several Instructions On The Same Line |
Analyze, All |
137 |
20 |
Major |
57 % |
Print And Die |
Analyze, All, Simple, CI-checks |
9 |
5 |
Minor |
29 % |
Repeated print() |
Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks |
6 |
3 |
Major |
49 % |
Repeated Regex |
All, Analyze, Level 1, CI-checks |
6 |
6 |
Minor |
47 % |
Same Conditions In Condition |
Analyze, All, Simple, CI-checks |
2 |
2 |
Critical |
49 % |
Should Make Ternary |
All, Analyze, OneFile, Simple, CI-checks |
54 |
17 |
Minor |
85 % |
Preprocessable |
Analyze, All, Rector |
1 |
1 |
Minor |
86 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks |
16 |
12 |
Major |
68 % |
Unreachable Code |
Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3 |
14 |
2 |
Major |
44 % |
Use Positive Condition |
All, Analyze, OneFile, Simple |
15 |
10 |
Minor |
81 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks |
6 |
3 |
Minor |
58 % |
One Variable String |
Analyze, All, RadwellCodes, Simple, CI-checks |
320 |
9 |
Minor |
29 % |
Undefined Variable |
All, Analyze, CI-checks |
470 |
51 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10 |
23 |
12 |
Minor |
87 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4 |
143 |
42 |
Minor |
95 % |