PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Null Or Boolean Arrays All, Analyze, ChangedBehavior 1 1 Minor 0 %
Weak Type With Array All, Analyze 3 2 Minor 0 %
Avoid Optional Properties All, Analyze 2 2 Major 84 %
Class Could Be Final All, Analyze, ClassReview 2 2 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 3 2 Minor 92 %
Could Inject Param All, Analyze, ClassReview 12 8 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 3 3 Major 43 %
No Public Access Analyze, All 11 5 Minor 61 %
Property Could Be Local All, Analyze, ClassReview 12 5 Minor 76 %
Never Used Properties Analyze, All, Simple, Unused 2 2 Minor 71 %
Property Used In One Method Only All, Analyze 25 12 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 11 10 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 8 3 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 4 2 Major 61 %
Unfinished Object All, Analyze, ClassReview 14 10 Major 0 %
Unused Classes Dead code, All, Simple, Analyze, Unused 11 11 Major 67 %
Unused Public Method All, Analyze 12 7 Minor 0 %
Use Instanceof Analyze, All, Simple, CI-checks, CE 2 2 Major 63 %
Used Once Property All, Analyze 9 6 Minor 74 %
Useless Constructor Analyze, All, Simple, Level 3 3 3 Minor 41 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 1 1 Minor 0 %
Can't Throw Throwable All, Analyze, LintButWontExec 1 1 Minor 14 %
Forgotten Thrown All, Analyze 4 3 Minor 20 %
Throw Raw Exceptions All, Analyze, Suggestions 2 1 Minor 0 %
Uncaught Exceptions Analyze, All 2 1 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple 3 3 Minor 45 %
Use Named Boolean In Argument Definition All, Analyze 1 1 Minor 84 %
Callback Function Needs Return All, Analyze, CI-checks, CE 4 3 Major 42 %
Empty Function Analyze, All, Simple 15 11 Minor 74 %
Fn Argument Variable Confusion All, Analyze, Semantics 2 1 Minor 0 %
Mismatched Typehint All, Analyze, Typechecks 4 4 Major 66 %
Modified Typed Parameter All, Analyze, ClassReview 1 1 Minor 0 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 3 2 Minor 92 %
Unused Parameter Analyze, All, Simple, Unused 1 1 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 41 16 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 8 4 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 16 14 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 6 4 Minor 0 %
Forgotten Interface All, Analyze 6 6 Minor 48 %
Empty Interfaces Analyze, All, Simple 2 2 Minor 41 %
Interfaces Is Not Implemented All, Analyze, ClassReview, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE 7 7 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 8 3 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 2 2 Minor 59 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 27 19 Major 69 %
Assumptions All, Analyze 2 1 Minor 0 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, CE 1 1 Major 59 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE 2 1 Major 76 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated 2 1 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, CE 1 1 Minor 0 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 6 2 Minor 0 %
Comparison Is Always The Same All, Analyze 2 2 Minor 0 %
Check JSON All, Analyze, CI-checks, CE 3 3 Major 65 %
Double Checks All, Analyze 2 1 Minor 0 %
Infinite Recursion All, Analyze 1 1 Major 0 %
Long Arguments All, Analyze 3 3 Minor 68 %
Missing Assignation In Command All, Analyze 3 1 Minor 0 %
Nested Ifthen Analyze, All, RadwellCodes 1 1 Major 84 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 2 2 Major 42 %
Preprocessable Analyze, All, Rector 3 2 Minor 85 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 2 2 Minor 63 %
String May Hold A Variable Analyze, All, Simple 1 1 Minor 59 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 1 1 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze 15 10 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 16 10 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 1 1 Minor 87 %