PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze 4 3 Minor 0 %
Avoid Optional Properties All, Analyze 2 2 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview 3 3 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 24 24 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 2 2 Minor 92 %
Empty Classes Analyze, All, Simple 1 1 Minor 60 %
Hidden Nullable Typehint All, Analyze, ClassReview 3 2 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze 18 18 Critical 0 %
Non Nullable Getters All, Analyze, ClassReview 3 3 Minor 0 %
Property Could Be Local All, Analyze, ClassReview 4 2 Minor 76 %
Property Used In One Method Only All, Analyze 2 1 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 4 4 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 30 3 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 3 1 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 3 1 Major 61 %
Undefined ::class All, Analyze, CI-checks, Undefined, CE 1 1 Major 36 %
Unfinished Object All, Analyze, ClassReview 6 5 Major 0 %
Unresolved Classes Analyze, All, Stubs 7 2 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 1 1 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused 2 2 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 1 1 Minor 0 %
Unused Public Methods All, Analyze 24 13 Minor 0 %
Useless Abstract Class Analyze, All, Simple 1 1 Minor 33 %
Overwritten Exceptions Analyze, All, Simple, Suggestions, Level 4, CI-checks, CE 1 1 Minor 22 %
Throw Raw Exceptions All, Analyze, Suggestions 2 2 Minor 0 %
Uncaught Exceptions Analyze, All 4 3 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple 2 2 Minor 45 %
Useless Try All, Analyze 1 1 Minor 0 %
Use Named Boolean In Argument Definition All, Analyze 5 3 Minor 84 %
Empty Function Analyze, All, Simple 3 3 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 1 1 Major 70 %
Insufficient Typehint All, Analyze, Typechecks 2 1 Major 43 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 3 2 Minor 92 %
No Boolean As Default All, Analyze 4 2 Minor 84 %
No Return Used All, Analyze, Suggestions, Level 4 19 8 Minor 69 %
Relay Function Analyze, All 1 1 Major 84 %
Unused Parameter Analyze, All, Simple, Unused 1 1 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 37 17 Minor 41 %
Useless Argument All, Analyze 11 7 Minor 0 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 35 15 Minor 98 %
Wrong Argument Type All, Analyze, Typechecks 15 2 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 4 4 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 43 17 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 38 14 Minor 0 %
Forgotten Interface All, Analyze 3 3 Minor 48 %
Empty Interfaces Analyze, All, Simple 1 1 Minor 41 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 7 2 Major 72 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 4 4 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 12 3 Major 69 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 2 1 Major 57 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated 2 1 Minor 0 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 1 1 Major 56 %
Comparison Is Always The Same All, Analyze 9 3 Minor 0 %
Array_merge Needs Array Of Arrays All, Analyze 2 2 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 1 1 Minor 64 %
Empty Try Catch Analyze, All, Level 3 3 2 Minor 49 %
Iffectations Analyze, All 1 1 Minor 80 %
Missing Assignation In Command All, Analyze 1 1 Minor 0 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 4 2 Major 42 %
Variable Is Not A Condition All, Analyze 8 2 Minor 93 %
Preprocessable Analyze, All, Rector 2 2 Minor 85 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 4 1 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 4 2 Minor 63 %
Trait Is Not A Type All, Analyze, ClassReview, Typehints 2 1 Minor 0 %
String May Hold A Variable Analyze, All, Simple 2 2 Minor 59 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 1 1 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze 24 7 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview 6 3 Minor 0 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 3 1 Minor 95 %