PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Null Or Boolean Arrays All, Analyze, ChangedBehavior 2 1 Minor 0 %
Too Many Array Dimensions All, Analyze 1 1 Minor 0 %
Ambiguous Visibilities All, Analyze 7 6 Minor 70 %
Avoid Optional Properties All, Analyze 3 3 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 59 59 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 7 7 Minor 92 %
Could Inject Param All, Analyze, ClassReview 4 2 Minor 0 %
Hidden Nullable Typehint All, Analyze, ClassReview 13 7 Minor 0 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 1 1 Minor 71 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec 94 8 Critical 53 %
Multiple Class Declarations Analyze, All, Simple, CI-checks, CE 2 2 Major 29 %
Parent First All, Analyze, Suggestions 3 3 Minor 56 %
Property Could Be Local All, Analyze, ClassReview 64 22 Minor 76 %
Never Used Properties Analyze, All, Simple, Unused 15 6 Minor 71 %
Property Used In One Method Only All, Analyze 3 3 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 8 7 Minor 95 %
Too Many Dereferencing All, Analyze 5 5 Minor 0 %
Too Many Injections All, Analyze, Dismell 6 6 Minor 19 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 328 51 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 14 10 Major 62 %
Undefined Parent Analyze, All, Simple, Undefined 11 7 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE 23 15 Major 61 %
Undefined ::class All, Analyze, CI-checks, Undefined, CE 6 5 Major 36 %
Unresolved Classes Analyze, All, Stubs 43 14 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 2 2 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused 4 4 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 3 2 Minor 0 %
Unused Public Method All, Analyze 195 29 Minor 0 %
Multiple Constant Definition Analyze, All, Simple, CI-checks, CE 17 4 Minor 41 %
Throw Functioncall Analyze, All, Simple, Level 1, CI-checks, CE 7 4 Major 4 %
Uncaught Exceptions Analyze, All 8 4 Minor 84 %
Useless Catch All, Analyze, CI-checks, CE 1 1 Minor 44 %
Use Named Boolean In Argument Definition All, Analyze 1 1 Minor 84 %
Dont Collect Void All, Analyze, IsPHP, IsStub, IsExt 16 7 Minor 0 %
Mismatch Parameter Name All, Analyze, CompatibilityPHP80, CE 1 1 Minor 0 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 1 1 Minor 92 %
No Boolean As Default All, Analyze 1 1 Minor 84 %
Relay Function Analyze, All 18 9 Major 84 %
Too Many Local Variables All, Analyze 1 1 Minor 64 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 79 22 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 8 8 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 3 3 Minor 98 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 15 8 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 213 57 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 3 3 Minor 59 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 33 23 Minor 44 %
Overload Existing Names All, Analyze, Semantics, IsPHP, IsStub, IsExt 23 10 Minor 0 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, CE 11 11 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 239 66 Major 69 %
Use With Fully Qualified Name Analyze, Coding Conventions, PHP recommendations, All, Simple 2 1 Minor 18 %
Assumptions All, Analyze 8 8 Minor 0 %
Comparison Is Always True All, Analyze 2 2 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 7 7 Minor 64 %
Common Alternatives Analyze, All, Simple 4 4 Major 80 %
Dangling Array References PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE 1 1 Major 46 %
Dont Mix ++ All, Analyze 2 2 Minor 56 %
Empty Instructions Dead code, Analyze, All, Simple 2 2 Minor 57 %
Empty Try Catch Analyze, All, Level 3 2 2 Minor 49 %
Merge If Then All, Analyze, CI-checks, CE 1 1 Minor 0 %
Variable Is Not A Condition All, Analyze 24 14 Minor 93 %
Several Instructions On The Same Line Analyze, All 5 2 Major 56 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 1 1 Minor 86 %
Use Positive Condition All, Analyze, OneFile, Simple 2 2 Minor 82 %
Useless Null Coalesce All, Analyze, Typehints 1 1 Minor 0 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 1 1 Minor 0 %
Assigned Twice All, Analyze 2 1 Minor 79 %
Overwritten Literals Analyze, All 2 1 Major 79 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 18 2 Minor 77 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 18 14 Minor 95 %