Ambiguous Array Index |
Analyze, All, Simple, Level 2, Semantics, ChangedBehavior |
1 |
1 |
Minor |
10 % |
Multiple Index Definition |
Analyze, OneFile, All, Simple, CI-checks, Rector, CE |
1 |
1 |
Minor |
33 % |
Null Or Boolean Arrays |
All, Analyze |
5 |
1 |
Minor |
0 % |
Randomly Sorted Arrays |
All, Analyze, Level 4, Suggestions |
30 |
18 |
Minor |
41 % |
Too Many Array Dimensions |
All, Analyze |
26 |
5 |
Minor |
0 % |
Weak Type With Array |
All, Analyze, ChangedBehavior |
347 |
54 |
Minor |
0 % |
Abstract Or Implements |
All, Analyze, LintButWontExec, ChangedBehavior |
27 |
27 |
Major |
24 % |
Ambiguous Static |
All, Analyze, Semantics, ChangedBehavior |
329 |
261 |
Minor |
66 % |
Ambiguous Visibilities |
All, Analyze, Semantics, ChangedBehavior |
277 |
237 |
Minor |
70 % |
Avoid option arrays in constructors |
All, Analyze, ClassReview, ChangedBehavior |
2 |
2 |
Minor |
0 % |
Avoid Optional Properties |
All, Analyze, ChangedBehavior |
152 |
38 |
Major |
84 % |
Class, Interface, Enum Or Trait With Identical Names |
Analyze, All, ChangedBehavior |
2 |
2 |
Minor |
19 % |
Could Be Abstract Class |
All, Analyze, ClassReview, ChangedBehavior |
21 |
21 |
Minor |
65 % |
Class Could Be Final |
All, Analyze, ClassReview, ChangedBehavior |
653 |
653 |
Minor |
96 % |
Method Could Be Static |
All, Analyze, ClassReview, ChangedBehavior |
603 |
323 |
Minor |
92 % |
Could Inject Parameter |
All, Analyze, ClassReview, ChangedBehavior |
22 |
14 |
Minor |
0 % |
Cyclic References |
All, Analyze, ClassReview, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Different Argument Counts |
All, Analyze, ClassReview, ChangedBehavior |
17 |
17 |
Minor |
0 % |
Don't Unset Properties |
All, Analyze, Top10, php-cs-fixable, CI-checks, ChangedBehavior, CE |
12 |
4 |
Major |
42 % |
Empty Classes |
Analyze, All, Simple, ChangedBehavior |
20 |
20 |
Minor |
60 % |
Incompatible Signature Methods With Covariance |
All, Analyze, ChangedBehavior |
38 |
38 |
Critical |
0 % |
Inherited Property Type Must Match |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
186 |
125 |
Minor |
0 % |
Assign Default To Properties |
Analyze, ClearPHP, All, Simple, Level 2, ChangedBehavior |
175 |
54 |
Minor |
71 % |
Method Signature Must Be Compatible |
All, Analyze, LintButWontExec, ChangedBehavior |
26 |
19 |
Critical |
53 % |
Mismatch Properties Typehints |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
15 |
11 |
Minor |
0 % |
Multiple Identical Trait Or Interface |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
4 |
4 |
Minor |
0 % |
New Object Then Immediate Call |
All, Analyze, ClassReview |
49 |
39 |
Minor |
0 % |
No Public Access |
Analyze, All, ChangedBehavior |
101 |
45 |
Minor |
61 % |
Forgotten Visibility |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
20 |
13 |
Minor |
42 % |
Non Static Methods Called In A Static |
Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
20 % |
Parent First |
All, Analyze, Suggestions, ChangedBehavior |
4 |
4 |
Minor |
56 % |
Parent Is Not Static |
All, Analyze, ClassReview, ChangedBehavior |
32 |
10 |
Major |
0 % |
Property Could Be Local |
All, Analyze, ClassReview, ChangedBehavior |
17 |
13 |
Minor |
76 % |
Same Name For Property And Method |
All, Analyze, ClassReview, Semantics, ChangedBehavior |
30 |
23 |
Minor |
0 % |
Never Used Properties |
Analyze, All, Simple, Unused, ChangedBehavior |
217 |
158 |
Minor |
71 % |
Property Used In One Method Only |
All, Analyze, ChangedBehavior |
180 |
121 |
Minor |
84 % |
Scalar Or Object Property |
All, Analyze |
2 |
2 |
Minor |
32 % |
Could Use self |
Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior |
22 |
17 |
Minor |
63 % |
Should Use Local Class |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
607 |
290 |
Minor |
95 % |
Static Methods Called From Object |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
50 |
8 |
Minor |
50 % |
Too Many Dereferencing |
All, Analyze, ChangedBehavior |
11 |
8 |
Minor |
0 % |
Too Many Injections |
All, Analyze, Dismell, ChangedBehavior |
5 |
5 |
Minor |
19 % |
Wrong Access Style to Property |
All, Analyze, Level 2, ClassReview, CI-checks, CE |
437 |
71 |
Critical |
37 % |
Undefined Classes |
Analyze, All, Stubs, Undefined |
5880 |
772 |
Major |
91 % |
Undefined Class Constants |
Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE |
53 |
9 |
Major |
62 % |
Undefined Parent |
Analyze, All, Simple, Undefined |
3 |
3 |
Minor |
45 % |
Undefined Properties |
Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE |
1328 |
178 |
Major |
61 % |
Undefined static:: Or self:: |
Analyze, All, Simple, Undefined, ChangedBehavior |
52 |
41 |
Minor |
35 % |
Undefined ::class |
All, Analyze, CI-checks, Undefined, ChangedBehavior, CE |
79 |
15 |
Major |
36 % |
Unfinished Object |
All, Analyze, ClassReview, ChangedBehavior |
48 |
37 |
Major |
0 % |
Unreachable Method |
All, Analyze, Dead code, ClassReview, Unused, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Unresolved Classes |
Analyze, All, Stubs, ChangedBehavior |
73 |
29 |
Major |
76 % |
Unresolved Instanceof |
Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior |
4 |
4 |
Major |
48 % |
Unused Classes |
Dead code, All, Simple, Analyze, Unused, ChangedBehavior |
108 |
108 |
Major |
67 % |
Unused Class Constant |
All, Analyze, ClassReview, Unused, ChangedBehavior |
16 |
13 |
Minor |
0 % |
Unused Public Methods |
All, Analyze, ChangedBehavior |
1974 |
560 |
Minor |
0 % |
Use ::Class Operator |
All, Analyze, Performances, Simple, CI-checks, ChangedBehavior, CE |
48 |
25 |
Minor |
71 % |
Use Instanceof |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
9 |
7 |
Major |
63 % |
Used Once Property |
All, Analyze, ChangedBehavior |
44 |
32 |
Minor |
74 % |
Useless Abstract Class |
Analyze, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
33 % |
Useless Constructor |
Analyze, All, Simple, Level 3, ChangedBehavior |
14 |
14 |
Minor |
41 % |
Useless Method |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Weak Typing |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
47 % |
Illegal Name For Method |
All, Analyze, OneFile, Simple |
4 |
3 |
Major |
20 % |
Wrong Typed Property Default |
All, Analyze, LintButWontExec, ClassReview, CI-checks, CE |
2 |
1 |
Minor |
0 % |
Use const |
Analyze, Coding Conventions, All, Top10, CI-checks, CE |
6 |
1 |
Minor |
54 % |
Constant Used Only Once |
All, Analyze, ChangedBehavior |
41 |
34 |
Minor |
0 % |
Undefined Constants |
Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, ChangedBehavior, CE |
5 |
4 |
Minor |
71 % |
Catch With Undefined Variable |
All, Analyze, Undefined, ChangedBehavior |
3 |
3 |
Minor |
0 % |
Converted Exceptions |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Throw Raw Exceptions |
All, Analyze, Suggestions, ChangedBehavior |
16 |
9 |
Minor |
0 % |
Uncaught Exceptions |
Analyze, All, ChangedBehavior |
36 |
15 |
Minor |
84 % |
Unthrown Exception |
Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
45 % |
Useless Try |
All, Analyze, ChangedBehavior |
61 |
36 |
Minor |
0 % |
Missing Include |
All, Analyze, ChangedBehavior |
7 |
4 |
Critical |
65 % |
Native Alias Functions Usage |
Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
20 % |
Use Named Boolean In Argument Definition |
All, Analyze, ChangedBehavior |
144 |
57 |
Minor |
84 % |
Could Make A Function |
All, Analyze, Suggestions, ChangedBehavior |
1229 |
339 |
Minor |
66 % |
Don't Collect Void |
All, Analyze, ChangedBehavior |
9 |
4 |
Minor |
0 % |
Empty Function |
Analyze, All, Simple, ChangedBehavior |
70 |
48 |
Minor |
74 % |
Hardcoded Passwords |
Analyze, OneFile, Security, All, Simple, Level 3, ChangedBehavior |
97 |
28 |
Major |
70 % |
Insufficient Typehint |
All, Analyze, Typechecks, ChangedBehavior |
65 |
18 |
Major |
43 % |
Method Is Not An If |
All, Analyze |
125 |
67 |
Minor |
0 % |
Mismatched Default Arguments |
All, Analyze, Typechecks, ChangedBehavior |
29 |
20 |
Minor |
80 % |
Never Called Parameter |
All, Analyze, Suggestions, Rector, Unused |
113 |
88 |
Minor |
92 % |
No Boolean As Default |
All, Analyze |
156 |
62 |
Minor |
84 % |
No Default For Referenced Parameter |
All, Analyze, ChangedBehavior |
5 |
3 |
Minor |
0 % |
No Return Used |
All, Analyze, Suggestions, Level 4, ChangedBehavior |
29 |
18 |
Minor |
69 % |
Too Many Local Variables |
All, Analyze |
27 |
19 |
Minor |
64 % |
Undefined Functions |
Analyze, All, CI-checks, Stubs, Undefined, CE |
10567 |
695 |
Major |
68 % |
Unused Parameter |
Analyze, All, Simple, Unused |
241 |
142 |
Major |
90 % |
Unused Inherited Variable In Closure |
All, Analyze, Dead code, CI-checks, Unused, ChangedBehavior, CE |
9 |
8 |
Major |
23 % |
Unused Returned Value |
All, Analyze, OneFile, Dead code, Simple, Unused |
191 |
89 |
Minor |
41 % |
Useless Referenced Argument |
All, Analyze, ChangedBehavior |
4 |
3 |
Minor |
58 % |
Uses Default Values |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
3144 |
466 |
Minor |
98 % |
Wrong Argument Type |
All, Analyze, Typechecks, ChangedBehavior |
1347 |
273 |
Minor |
0 % |
Wrong Number Of Arguments |
Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE |
54 |
21 |
Major |
81 % |
Wrong Type Returned |
All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE |
581 |
201 |
Minor |
0 % |
Wrong Type With Call |
All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE |
2420 |
410 |
Minor |
0 % |
Forgotten Interface |
All, Analyze, ChangedBehavior |
39 |
39 |
Minor |
48 % |
Undefined Interfaces |
Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE |
811 |
244 |
Major |
72 % |
Useless Interfaces |
Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior |
1 |
1 |
Minor |
59 % |
Hidden Use Expression |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
18 |
10 |
Minor |
23 % |
Multiple Alias Definitions |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
749 |
387 |
Minor |
44 % |
Should Make Alias |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
22 |
17 |
Minor |
46 % |
Unresolved Use |
Analyze, ClearPHP, All, Simple, ChangedBehavior |
1317 |
568 |
Major |
69 % |
Use With Fully Qualified Name |
Analyze, Coding Conventions, PHP recommendations, All, Simple, ChangedBehavior |
30 |
30 |
Minor |
18 % |
No array_merge() In Loops |
Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE |
20 |
5 |
Major |
57 % |
Logical To in_array |
All, Analyze, Level 2, ChangedBehavior |
28 |
15 |
Minor |
67 % |
Pre-increment |
Analyze, Performances, All, Simple, Level 4, CI-checks, ChangedBehavior, CE |
32 |
23 |
Minor |
74 % |
strpos() Too Much |
All, Analyze, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
49 % |
array_key_exists() Works On Arrays |
All, CompatibilityPHP74, Analyze, ChangedBehavior, CE |
4 |
3 |
Minor |
0 % |
Assign And Lettered Logical Operator Precedence |
All, Analyze, CI-checks, CE |
2 |
2 |
Critical |
9 % |
Assumptions |
All, Analyze, ChangedBehavior |
7 |
6 |
Minor |
0 % |
Use random_int() |
Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE |
18 |
15 |
Major |
59 % |
Don't Pollute Global Space |
All, Analyze |
131 |
47 |
Minor |
0 % |
Exit Without Argument |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
False To Array Conversion |
All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze, ChangedBehavior |
7 |
4 |
Minor |
0 % |
Incompilable Files |
Analyze, Appinfo, ClearPHP, All, Simple, CE |
1 |
1 |
Critical |
24 % |
Wrong Parameter Type |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
25 |
25 |
Major |
76 % |
Use === null |
Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
53 % |
Logical Should Use Symbolic Operators |
Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE |
728 |
224 |
Minor |
43 % |
No Class In Global |
All, Analyze, CI-checks, ChangedBehavior, CE |
124 |
46 |
Minor |
77 % |
No Null For Native PHP Functions |
All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior |
76 |
37 |
Minor |
0 % |
Scalar Are Not Arrays |
All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
0 % |
Should Use Coalesce |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, ChangedBehavior, CE |
7 |
7 |
Major |
71 % |
Use PHP Object API |
Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
1 |
Minor |
27 % |
Wrong Type For Native PHP Function |
All, Analyze, CI-checks, ChangedBehavior, CE |
19 |
16 |
Minor |
0 % |
Don't Echo Error |
All, Analyze, Security, Simple, Level 1, CI-checks, ChangedBehavior, CE |
2 |
1 |
Critical |
35 % |
Adding Zero |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, Rector, CE |
6 |
6 |
Minor |
69 % |
Altering Foreach Without Reference |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE |
6 |
3 |
Major |
56 % |
Alternative Syntax Consistence |
All, Analyze, ChangedBehavior |
25 |
1 |
Major |
21 % |
Comparison Is Always The Same |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Bail Out Early |
All, Analyze, OneFile, Simple, Level 4, ChangedBehavior |
323 |
156 |
Minor |
64 % |
Strict Comparison With Booleans |
Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
109 |
57 |
Minor |
77 % |
Buried Assignation |
Analyze, All, ChangedBehavior |
298 |
87 |
Minor |
84 % |
Cast To Boolean |
Analyze, OneFile, All, Simple, Level 1, ChangedBehavior |
17 |
15 |
Minor |
56 % |
Casting Ternary |
All, Analyze, OneFile, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
0 % |
Check All Types |
All, Analyze, ChangedBehavior |
19 |
19 |
Major |
69 % |
Check Division By Zero |
All, Analyze, ChangedBehavior |
42 |
16 |
Minor |
0 % |
Check JSON |
All, Analyze, CI-checks, CE |
154 |
75 |
Major |
65 % |
Coalesce And Concat |
All, Analyze, CI-checks, ChangedBehavior, CE |
7 |
2 |
Minor |
0 % |
Common Alternatives |
Analyze, All, Simple, ChangedBehavior |
141 |
48 |
Major |
80 % |
Concat Empty String |
All, Analyze, OneFile |
1 |
1 |
Minor |
0 % |
Could Be Else |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
49 % |
Could Use Short Assignation |
Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
56 |
27 |
Minor |
63 % |
Dangling Array References |
PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, ChangedBehavior, CE |
20 |
12 |
Major |
46 % |
Don't Change The Blind Var |
All, Analyze, ChangedBehavior |
6 |
5 |
Minor |
73 % |
Don't Reuse Foreach Source |
All, Analyze, ChangedBehavior |
12 |
11 |
Minor |
0 % |
Double Checks |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Double Instructions |
Analyze, All, Simple, ChangedBehavior |
4 |
4 |
Minor |
57 % |
Drop Else After Return |
All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE |
26 |
20 |
Minor |
70 % |
Echo With Concat |
Performances, Analyze, All, Simple, Suggestions, ChangedBehavior |
12 |
5 |
Minor |
60 % |
Else If Versus Elseif |
Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE |
27 |
19 |
Minor |
66 % |
Empty Blocks |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
4 |
4 |
Minor |
51 % |
Empty Json Error |
All, Analyze, ChangedBehavior |
6 |
6 |
Minor |
0 % |
Empty Try Catch |
Analyze, All, Level 3 |
6 |
4 |
Minor |
49 % |
Exit() Usage |
Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE |
2 |
2 |
Major |
61 % |
Foreach Reference Is Not Modified |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
24 % |
Overwritten Source And Value |
All, Analyze, OneFile, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Forgotten Whitespace |
Analyze, All, CI-checks, CE |
22 |
22 |
Minor |
16 % |
Htmlentities Calls |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
4 |
2 |
Major |
40 % |
Htmlentities Using Default Flag |
All, Analyze, Simple, CI-checks, ChangedBehavior |
6 |
3 |
Minor |
0 % |
Identical Case In Switch |
All, Analyze, ChangedBehavior |
18 |
7 |
Minor |
0 % |
Identical Conditions |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
2 |
Critical |
28 % |
Identical Consecutive Expression |
All, Analyze, ChangedBehavior |
26 |
12 |
Minor |
59 % |
Identical On Both Sides |
All, Analyze, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
19 % |
Identical Variables In Foreach |
All, Analyze, OneFile, ChangedBehavior |
2 |
1 |
Minor |
0 % |
If With Same Conditions |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
8 |
5 |
Major |
47 % |
Iffectations |
Analyze, All, ChangedBehavior |
68 |
45 |
Minor |
80 % |
Indices Are Int Or String |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
28 |
3 |
Major |
20 % |
Infinite Recursion |
All, Analyze, ChangedBehavior |
7 |
7 |
Major |
0 % |
list() May Omit Variables |
Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE |
8 |
4 |
Minor |
37 % |
Logical Mistakes |
Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
1 |
1 |
Critical |
32 % |
Long Arguments |
All, Analyze, ChangedBehavior |
24 |
17 |
Minor |
68 % |
Max Level Of Nesting |
All, Analyze, ChangedBehavior |
39 |
31 |
Minor |
0 % |
Merge If Then |
All, Analyze, CI-checks, ChangedBehavior, CE |
105 |
61 |
Minor |
0 % |
Mismatched Ternary Alternatives |
All, Analyze, Suggestions, Level 4, ChangedBehavior |
35 |
32 |
Major |
64 % |
Missing Assignation In Branches |
All, Analyze, ChangedBehavior |
89 |
71 |
Minor |
0 % |
Missing Cases In Switch |
All, Analyze, ChangedBehavior |
15 |
14 |
Minor |
36 % |
Modernize Empty With Expression |
All, Analyze, OneFile, Simple, ChangedBehavior |
483 |
142 |
Minor |
63 % |
Multiple Type Variable |
All, Analyze, Level 4, ChangedBehavior |
2 |
2 |
Minor |
58 % |
Nested Ifthen |
Analyze, All, RadwellCodes, ChangedBehavior |
196 |
84 |
Major |
84 % |
Nested Ternary |
Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
6 |
6 |
Major |
50 % |
No Choice |
Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE |
57 |
23 |
Major |
42 % |
No Direct Usage |
Analyze, All, Simple, ChangedBehavior |
2 |
2 |
Major |
39 % |
No Hardcoded Hash |
Analyze, Security, All, Simple, ChangedBehavior |
3 |
1 |
Critical |
45 % |
No Hardcoded Ip |
Analyze, ClearPHP, Security, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
25 % |
No Need For Else |
All, Analyze, ChangedBehavior |
26 |
20 |
Minor |
74 % |
No Parenthesis For Language Construct |
Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE |
14 |
13 |
Minor |
62 % |
Variable Is Not A Condition |
All, Analyze, ChangedBehavior |
547 |
204 |
Minor |
93 % |
Non Integer Nor String As Index |
All, Analyze, ChangedBehavior |
28 |
3 |
Minor |
0 % |
@ Operator |
Appinfo, ClearPHP, All, Analyze, Performances, CI-checks, ChangedBehavior, CE |
50 |
19 |
Minor |
65 % |
Not Equal Is Not !== |
All, Analyze, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
0 % |
Not Not |
Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
14 % |
Objects Don't Need References |
Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE |
15 |
2 |
Minor |
40 % |
include_once() Usage |
Analyze, Appinfo, All, ChangedBehavior, CE |
2 |
2 |
Minor |
73 % |
Several Instructions On The Same Line |
Analyze, All, ChangedBehavior |
607 |
121 |
Major |
56 % |
Print And Die |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
32 % |
Printf Number Of Arguments |
All, Analyze, CI-checks, CE |
1 |
1 |
Minor |
41 % |
Repeated print() |
Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, ChangedBehavior, CE |
9 |
7 |
Major |
50 % |
Return True False |
Analyze, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
7 |
5 |
Major |
46 % |
Same Conditions In Condition |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
6 |
4 |
Critical |
55 % |
Should Chain Exception |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
1 |
1 |
Minor |
39 % |
Should Use Ternary Operator |
All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE |
87 |
54 |
Minor |
86 % |
Preprocessable |
Analyze, All, Rector, ChangedBehavior |
95 |
46 |
Minor |
85 % |
Sprintf Format Compilation |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Static Inclusions |
All, Analyze, ChangedBehavior |
14 |
10 |
Minor |
0 % |
Static Loop |
Analyze, All, Simple, Level 4, ChangedBehavior |
24 |
15 |
Minor |
67 % |
Strpos()-like Comparison |
Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
54 % |
Suspicious Comparison |
All, Analyze, Level 3, ChangedBehavior |
7 |
7 |
Major |
39 % |
Switch Without Default |
Analyze, ClearPHP, All, Simple, CI-checks, ChangedBehavior, CE |
68 |
55 |
Major |
69 % |
Timestamp Difference |
Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE |
1 |
1 |
Major |
49 % |
Unchecked Resources |
Analyze, ClearPHP, All, Simple, Level 2, CI-checks, ChangedBehavior, CE |
3 |
2 |
Major |
50 % |
Unpreprocessed Values |
Analyze, OneFile, ClearPHP, All, Simple, Performances, ChangedBehavior |
2 |
1 |
Minor |
30 % |
Unsupported Types With Operators |
All, Analyze, CompatibilityPHP80, ChangedBehavior, CE |
32 |
7 |
Minor |
0 % |
Avoid get_class() |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
2 |
2 |
Minor |
32 % |
Use Positive Condition |
All, Analyze, OneFile, Simple, ChangedBehavior |
117 |
74 |
Minor |
82 % |
Use Same Types For Comparisons |
All, Analyze |
1 |
1 |
Minor |
0 % |
Useless Type Casting |
All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE |
3 |
2 |
Minor |
47 % |
Useless Coalesce |
All, Analyze, ChangedBehavior |
8 |
7 |
Minor |
0 % |
Useless Instructions |
Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE |
59 |
25 |
Minor |
63 % |
Useless Null Coalesce |
All, Analyze, Typehints, ChangedBehavior |
258 |
88 |
Minor |
0 % |
Useless Parenthesis |
Analyze, All, Simple, CI-checks, ChangedBehavior, CE |
95 |
36 |
Minor |
81 % |
Useless Short Ternary |
All, Analyze, ChangedBehavior |
1 |
1 |
Minor |
0 % |
Useless Switch |
Analyze, All, Simple, ChangedBehavior |
11 |
11 |
Major |
32 % |
Wrong Precedence In Expression |
All, Analyze, ChangedBehavior |
24 |
6 |
Minor |
0 % |
Already Parents Trait |
All, Analyze |
4 |
4 |
Minor |
0 % |
Cannot Call Static Trait Method Directly |
All, Analyze, CompatibilityPHP81, CompatibilityPHP82, ChangedBehavior |
2 |
1 |
Minor |
0 % |
Dependant Trait |
Analyze, All, Level 3, ChangedBehavior |
9 |
9 |
Minor |
28 % |
Undefined Trait |
Analyze, All, LintButWontExec, CI-checks, Undefined, ChangedBehavior, CE |
162 |
114 |
Critical |
15 % |
Should Typecast |
Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE |
12 |
3 |
Minor |
49 % |
String May Hold A Variable |
Analyze, All, Simple, ChangedBehavior |
1 |
1 |
Minor |
59 % |
Missing Some Returntype |
All, Typehints, Analyze, CI-checks, ChangedBehavior, CE |
6 |
3 |
Minor |
0 % |
StandaloneType True False Null |
All, Appcontent, Analyze, ChangedBehavior |
5 |
5 |
Minor |
0 % |
Wrong Type With Default |
All, Analyze, LintButWontExec, ClassReview, ChangedBehavior |
369 |
176 |
Minor |
0 % |
Assigned Twice |
All, Analyze, ChangedBehavior |
150 |
60 |
Minor |
79 % |
Overwritten Literals |
Analyze, All, ChangedBehavior |
158 |
60 |
Major |
79 % |
Recycled Variables |
All, Analyze |
11 |
1 |
Minor |
0 % |
Undefined Constant Name |
All, Analyze, Undefined, ChangedBehavior |
3 |
1 |
Minor |
0 % |
Undefined Variable |
All, Analyze, CI-checks, Undefined, CE |
2415 |
341 |
Minor |
77 % |
Used Once Variables |
Analyze, OneFile, All, Simple, Top10, ChangedBehavior |
53 |
42 |
Minor |
74 % |
Used Once Variables (In Scope) |
Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE |
4865 |
599 |
Minor |
95 % |
Written Only Variables |
Analyze, OneFile, All, Simple, Unused, ChangedBehavior |
141 |
68 |
Minor |
87 % |