PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Ambiguous Visibilities All, Analyze, Semantics 7 3 Minor 70 %
Class Could Be Final All, Analyze, ClassReview 10 10 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 11 6 Minor 92 %
Could Inject Param All, Analyze, ClassReview 1 1 Minor 0 %
No Public Access Analyze, All 7 2 Minor 61 %
Property Could Be Local All, Analyze, ClassReview 3 1 Minor 76 %
Never Used Properties Analyze, All, Simple, Unused 2 1 Minor 71 %
Property Used In One Method Only All, Analyze 1 1 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 5 4 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 25 6 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 1 1 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 9 2 Major 61 %
Unused Classes Dead code, All, Simple, Analyze, Unused 1 1 Major 67 %
Unused Public Method All, Analyze 17 7 Minor 0 %
Throw Raw Exceptions All, Analyze, Suggestions 2 1 Minor 0 %
Uncaught Exceptions Analyze, All 2 1 Minor 84 %
Useless Try All, Analyze 1 1 Minor 0 %
Empty Function Analyze, All, Simple 1 1 Minor 74 %
Insufficient Typehint All, Analyze, Typechecks 1 1 Major 43 %
Mismatched Default Arguments All, Analyze, Typechecks 1 1 Minor 80 %
Mismatched Typehint All, Analyze, Typechecks 2 1 Major 66 %
Relay Function Analyze, All 1 1 Major 84 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 28 8 Major 68 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 7 4 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 2 2 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 11 6 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 2 1 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 4 3 Major 72 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 19 9 Major 69 %
Don't Pollute Global Space All, Analyze 2 1 Minor 0 %
No Class In Global All, Analyze, CI-checks, CE 2 1 Minor 77 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 2 1 Minor 0 %
Comparison Is Always The Same All, Analyze 1 1 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 2 2 Minor 64 %
Check JSON All, Analyze, CI-checks, CE 2 1 Major 65 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE 6 2 Minor 63 %
Variable Is Not A Condition All, Analyze 1 1 Minor 93 %
Preprocessable Analyze, All, Rector 4 2 Minor 85 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE 3 1 Critical 15 %
StandaloneType True False Null All, Appcontent, Analyze 6 2 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview 1 1 Minor 0 %