PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Avoid Optional Properties All, Analyze 1 1 Major 84 %
Class Could Be Final All, Analyze, ClassReview 4 4 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 2 2 Minor 92 %
Could Inject Param All, Analyze, ClassReview 1 1 Minor 0 %
Empty Classes Analyze, All, Simple 3 3 Minor 60 %
No Public Access Analyze, All 3 1 Minor 61 %
Parent First All, Analyze, Suggestions 2 2 Minor 56 %
Never Used Properties Analyze, All, Simple, Unused 11 3 Minor 71 %
Should Use Local Class Analyze, ClearPHP, All, Simple 5 3 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 88 3 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 31 3 Major 62 %
Undefined Parent Analyze, All, Simple, Undefined 2 2 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE 217 3 Major 61 %
Unfinished Object All, Analyze, ClassReview 8 3 Major 0 %
Unresolved Classes Analyze, All, Stubs 13 3 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused 6 6 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 12 2 Minor 0 %
Unused Public Method All, Analyze 7 2 Minor 0 %
Use Instanceof Analyze, All, Simple, CI-checks, CE 1 1 Major 63 %
Useless Abstract Class Analyze, All, Simple 2 2 Minor 33 %
Catch Undefined Variable All, Analyze, Undefined 1 1 Minor 0 %
Uncaught Exceptions Analyze, All 13 3 Minor 84 %
Use Named Boolean In Argument Definition All, Analyze 1 1 Minor 84 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 1 1 Major 70 %
No Boolean As Default All, Analyze 3 2 Minor 84 %
Unused Parameter Analyze, All, Simple, Unused 1 1 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 35 3 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 7 2 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 11 2 Minor 0 %
Forgotten Interface All, Analyze 1 1 Minor 48 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 4 3 Major 72 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 3 1 Minor 74 %
Don't Pollute Global Space All, Analyze 18 6 Minor 0 %
False To Array Conversion All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze 3 1 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE 3 1 Major 76 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 19 8 Minor 43 %
Possible Missing Subpattern All, Analyze, Top10, CI-checks, CE 1 1 Minor 45 %
No Class In Global All, Analyze, CI-checks, CE 6 6 Minor 77 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated 5 1 Minor 0 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 8 2 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 7 2 Minor 64 %
Buried Assignation Analyze, All 2 2 Minor 84 %
Check Division By Zero All, Analyze 12 2 Minor 0 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE 5 2 Minor 63 %
Double Instructions Analyze, All, Simple 1 1 Minor 57 %
Empty Try Catch Analyze, All, Level 3 1 1 Minor 49 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 8 8 Major 61 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks, Rector, CE 8 8 Major 33 %
Merge If Then All, Analyze, CI-checks, CE 2 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 1 1 Minor 63 %
Variable Is Not A Condition All, Analyze 3 3 Minor 93 %
Results May Be Missing Analyze, All, Simple, CI-checks, CE 1 1 Major 24 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 2 1 Minor 86 %
Preprocessable Analyze, All, Rector 13 8 Minor 85 %
Switch To Switch Analyze, All, RadwellCodes, Simple 4 1 Minor 58 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 3 2 Major 69 %
Use Same Types For Comparisons All, Analyze 4 1 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 8 3 Minor 81 %
Assigned Twice All, Analyze 6 1 Minor 79 %
Overwritten Literals Analyze, All 6 1 Major 79 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 1 1 Minor 95 %