PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Ambiguous Static All, Analyze 5 5 Minor 66 %
Avoid Optional Properties All, Analyze 4 1 Major 84 %
Class Could Be Final All, Analyze, ClassReview 98 98 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 57 22 Minor 92 %
Hidden Nullable Typehint All, Analyze, ClassReview 2 2 Minor 0 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec 2 2 Critical 53 %
Multiple Identical Trait Or Interface Analyze, OneFile, All, Simple, CI-checks, CE 1 1 Minor 0 %
No Public Access Analyze, All 49 29 Minor 61 %
Parent First All, Analyze, Suggestions 1 1 Minor 56 %
Property Could Be Local All, Analyze, ClassReview 8 6 Minor 76 %
Never Used Properties Analyze, All, Simple, Unused 102 43 Minor 71 %
Property Used In One Method Only All, Analyze 21 6 Minor 84 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 2 1 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple 60 24 Minor 95 %
Too Many Injections All, Analyze, Dismell 1 1 Minor 19 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 290 68 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE 73 18 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, Undefined 5 3 Minor 35 %
Undefined ::class All, Analyze, CI-checks, Undefined, CE 3 1 Major 36 %
Unfinished Object All, Analyze, ClassReview 50 17 Major 0 %
Unresolved Classes Analyze, All, Stubs 2 2 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused 10 10 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 13 4 Minor 0 %
Unused Public Method All, Analyze 142 52 Minor 0 %
Used Once Property All, Analyze 2 2 Minor 74 %
Use Named Boolean In Argument Definition All, Analyze 1 1 Minor 84 %
Dont Collect Void All, Analyze, IsPHP, IsStub, IsExt 1 1 Minor 0 %
Empty Function Analyze, All, Simple 7 7 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 3 3 Major 70 %
Insufficient Typehint All, Analyze, Typechecks 17 9 Major 43 %
Mismatched Typehint All, Analyze, Typechecks 2 2 Major 66 %
No Boolean As Default All, Analyze 1 1 Minor 84 %
Relay Function Analyze, All 4 3 Major 84 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 166 39 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 26 10 Major 90 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 15 5 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 2 2 Minor 0 %
Forgotten Interface All, Analyze 13 13 Minor 48 %
Empty Interfaces Analyze, All, Simple 5 5 Minor 41 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 241 66 Major 72 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks, CE 1 1 Minor 23 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 43 33 Minor 44 %
Overload Existing Names All, Analyze, Semantics, IsPHP, IsStub, IsExt 6 6 Minor 0 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 308 118 Major 69 %
Assumptions All, Analyze 6 6 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 2 2 Minor 64 %
Double Instructions Analyze, All, Simple 2 2 Minor 57 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE 1 1 Minor 70 %
Empty Instructions Dead code, Analyze, All, Simple 2 2 Minor 57 %
Implicit Conversion To Int All, Analyze, LintButWontExec 1 1 Minor 0 %
Merge If Then All, Analyze, CI-checks, CE 1 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 5 4 Minor 63 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 5 5 Major 42 %
No Need For Else All, Analyze 1 1 Minor 74 %
Variable Is Not A Condition All, Analyze 7 5 Minor 93 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 1 1 Minor 86 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 5 4 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 5 5 Minor 63 %
Useless Null Coalesce All, Analyze, Typehints 1 1 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 3 2 Minor 81 %
Already Parents Trait All, Analyze 1 1 Minor 0 %
Dependant Trait Analyze, All, Level 3 1 1 Minor 28 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE 63 36 Critical 15 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 5 3 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview 2 1 Minor 0 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 27 11 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 3 3 Minor 87 %