PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze, ChangedBehavior 4 1 Minor 0 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 13 13 Minor 96 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 4 1 Minor 0 %
Property Used In One Method Only All, Analyze, ChangedBehavior 1 1 Minor 84 %
Undefined Classes Analyze, All, Stubs, Undefined 13 2 Major 91 %
Undefined ::class All, Analyze, CI-checks, Undefined, ChangedBehavior, CE 2 1 Major 36 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 2 1 Major 0 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 1 1 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 11 11 Major 67 %
Unused Public Methods All, Analyze, ChangedBehavior 4 2 Minor 0 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 1 1 Minor 0 %
Constant Used Only Once All, Analyze, ChangedBehavior 3 3 Minor 0 %
Catch With Undefined Variable All, Analyze, Undefined, ChangedBehavior 1 1 Minor 0 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 1 1 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 1 1 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple, ChangedBehavior 12 12 Minor 45 %
Useless Try All, Analyze, ChangedBehavior 2 2 Minor 0 %
Callback Function Needs Return All, Analyze, CI-checks, CE 2 1 Major 42 %
Mismatched Typehint All, Analyze, Typechecks, ChangedBehavior 2 1 Major 66 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 1 1 Minor 69 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 1 1 Minor 41 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 4 1 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE 1 1 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 2 1 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 11 2 Major 72 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 8 2 Major 69 %
Exit Without Argument All, Analyze, ChangedBehavior 1 1 Minor 0 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 1 1 Minor 77 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, ChangedBehavior, CE 1 1 Major 61 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE 1 1 Minor 86 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 10 3 Minor 0 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 6 1 Minor 95 %