PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Append And Assign Arrays All, Internal, Analyze, ChangedBehavior 1 1 Minor 0 %
Null Or Boolean Arrays All, Analyze 9 1 Minor 0 %
Weak Type With Array All, Analyze, ChangedBehavior 2 2 Minor 0 %
Accessing Private Analyze, All, Simple, ChangedBehavior 1 1 Major 17 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 3 3 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 3 1 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
Make Global A Property Analyze, All, Simple, ChangedBehavior 21 2 Minor 37 %
New Object Then Immediate Call All, Analyze, ClassReview 1 1 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 5 1 Minor 42 %
Parent First All, Analyze, Suggestions, ChangedBehavior 1 1 Minor 56 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview, ChangedBehavior 17 1 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 53 3 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 138 4 Major 91 %
Undefined Parent Analyze, All, Simple, Undefined 1 1 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 3 3 Major 61 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 2 1 Major 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 3 2 Major 76 %
Unused Class Constant All, Analyze, ClassReview, Unused, ChangedBehavior 1 1 Minor 0 %
Unused Public Methods All, Analyze, ChangedBehavior 20 2 Minor 0 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, ChangedBehavior, CE 262 10 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, ChangedBehavior, CE 11 2 Major 63 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 3 1 Minor 54 %
Constant Used Only Once All, Analyze, ChangedBehavior 2 1 Minor 0 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, ChangedBehavior, CE 11 3 Minor 71 %
Missing Include All, Analyze, ChangedBehavior 4 1 Critical 65 %
Native Alias Functions Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 2 1 Minor 20 %
Use Named Boolean In Argument Definition All, Analyze, ChangedBehavior 3 3 Minor 84 %
Could Make A Function All, Analyze, Suggestions, ChangedBehavior 226 10 Minor 66 %
Don't Collect Void All, Analyze, ChangedBehavior 18 2 Minor 0 %
Method Is Not An If All, Analyze 9 2 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks, ChangedBehavior 2 1 Minor 80 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 1 1 Minor 92 %
No Boolean As Default All, Analyze 3 3 Minor 84 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 1 1 Minor 69 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 595 11 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 9 4 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 16 2 Minor 41 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 179 9 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE 8 3 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 39 3 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 60 5 Minor 0 %
Logical To in_array All, Analyze, Level 2, ChangedBehavior 6 2 Minor 67 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE 4 1 Major 59 %
Don't Pollute Global Space All, Analyze 74 5 Minor 0 %
Exit Without Argument All, Analyze, ChangedBehavior 4 3 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 76 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE 3 1 Minor 53 %
No Class In Global All, Analyze, CI-checks, ChangedBehavior, CE 65 4 Minor 77 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 1 1 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 6 3 Major 71 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, ChangedBehavior, CE 3 1 Minor 0 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks, ChangedBehavior, CE 4 1 Major 28 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 1 1 Major 56 %
Alternative Syntax Consistence All, Analyze, ChangedBehavior 2 1 Major 21 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4, ChangedBehavior 16 3 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 20 4 Minor 77 %
Buried Assignation Analyze, All, ChangedBehavior 2 2 Minor 84 %
Check JSON All, Analyze, CI-checks, CE 3 1 Major 65 %
Common Alternatives Analyze, All, Simple, ChangedBehavior 13 3 Major 80 %
Could Be A Static Variable Analyze, OneFile, All, ClassReview, ChangedBehavior 2 2 Major 23 %
Double Checks All, Analyze, ChangedBehavior 1 1 Minor 0 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 3 2 Minor 70 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions, ChangedBehavior 9 2 Minor 60 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 7 3 Minor 66 %
Empty Instructions Dead code, Analyze, All, Simple, ChangedBehavior 1 1 Minor 57 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE 8 3 Major 61 %
Global Usage Analyze, Appinfo, ClearPHP, All, ChangedBehavior, CE 28 3 Minor 52 %
Identical Case In Switch All, Analyze, ChangedBehavior 4 1 Minor 0 %
Iffectations Analyze, All, ChangedBehavior 9 2 Minor 80 %
Long Arguments All, Analyze, ChangedBehavior 21 4 Minor 68 %
Max Level Of Nesting All, Analyze, ChangedBehavior 3 2 Minor 0 %
Merge If Then All, Analyze, CI-checks, ChangedBehavior, CE 15 2 Minor 0 %
Missing Assignation In Branches All, Analyze, ChangedBehavior 13 3 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple, ChangedBehavior 3 2 Minor 63 %
Nested Ifthen Analyze, All, RadwellCodes, ChangedBehavior 22 3 Major 84 %
No Need For Else All, Analyze, ChangedBehavior 3 2 Minor 74 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 9 3 Minor 62 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 29 5 Minor 93 %
include_once() Usage Analyze, Appinfo, All, ChangedBehavior, CE 4 1 Minor 73 %
Several Instructions On The Same Line Analyze, All, ChangedBehavior 8 4 Major 56 %
Print And Die Analyze, All, Simple, CI-checks, ChangedBehavior, CE 3 2 Minor 32 %
Avoid Parenthesis With Language Construct Analyze, All, Simple, CI-checks, ChangedBehavior, CE 2 1 Minor 11 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, ChangedBehavior, CE 4 3 Major 50 %
Repeated Regex All, Analyze, Level 1, CI-checks, ChangedBehavior, CE 2 1 Minor 47 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE 10 3 Minor 86 %
Preprocessable Analyze, All, Rector, ChangedBehavior 21 4 Minor 85 %
Static Inclusions All, Analyze, ChangedBehavior 5 2 Minor 0 %
Static Loop Analyze, All, Simple, Level 4, ChangedBehavior 1 1 Minor 67 %
Switch To Switch Analyze, All, RadwellCodes, Simple, ChangedBehavior 3 3 Minor 58 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 8 2 Major 49 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 4 2 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple, ChangedBehavior 3 2 Minor 82 %
Useless Global Analyze, OneFile, All, Simple, Level 2, ChangedBehavior 2 2 Minor 27 %
Useless Parenthesis Analyze, All, Simple, CI-checks, ChangedBehavior, CE 10 2 Minor 81 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks, ChangedBehavior, CE 2 1 Minor 33 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE 9 3 Minor 49 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 4 3 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 22 3 Minor 0 %
Assigned Twice All, Analyze, ChangedBehavior 11 2 Minor 79 %
Overwritten Literals Analyze, All, ChangedBehavior 13 2 Major 79 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 163 8 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10, ChangedBehavior 4 2 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 138 7 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 6 2 Minor 87 %