PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Multiple Index Definition Analyze, OneFile, All, Simple, CI-checks, Rector, CE 1 1 Minor 33 %
Avoid Optional Properties All, Analyze, ChangedBehavior 20 2 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 23 13 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 7 6 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 2 2 Minor 0 %
Empty Classes Analyze, All, Simple, ChangedBehavior 1 1 Minor 60 %
No Null With Null Safe Operator All, Analyze, ClassReview, ChangedBehavior 16 1 Minor 0 %
No Public Access Analyze, All, ChangedBehavior 221 6 Minor 61 %
Never Used Properties Analyze, All, Simple, Unused, ChangedBehavior 404 6 Minor 71 %
Property Used In One Method Only All, Analyze, ChangedBehavior 98 2 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 10 8 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 124 11 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE 2 2 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 202 4 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, Undefined, ChangedBehavior 1 1 Minor 35 %
Undefined ::class All, Analyze, CI-checks, Undefined, ChangedBehavior, CE 40 2 Major 36 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 625 4 Major 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 14 5 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 2 1 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 4 4 Major 67 %
Unused Public Methods All, Analyze, ChangedBehavior 55 9 Minor 0 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 1 1 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 2 2 Minor 84 %
Could Make A Function All, Analyze, Suggestions, ChangedBehavior 19 1 Minor 66 %
Empty Function Analyze, All, Simple, ChangedBehavior 18 6 Minor 74 %
Insufficient Typehint All, Analyze, Typechecks, ChangedBehavior 5 4 Major 43 %
Method Is Not An If All, Analyze 2 2 Minor 0 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 23 7 Major 68 %
Unknown Parameter Name All, Analyze, CI-checks, ChangedBehavior, CE 419 2 Minor 0 %
Unused Parameter Analyze, All, Simple, Unused 1 1 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 42 3 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 25 7 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 12 2 Minor 0 %
Forgotten Interface All, Analyze, ChangedBehavior 1 1 Minor 48 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 43 7 Major 72 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, ChangedBehavior, CE 2 2 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 50 13 Major 69 %
Logical To in_array All, Analyze, Level 2, ChangedBehavior 1 1 Minor 67 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, ChangedBehavior, CE 1 1 Minor 0 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 1 1 Minor 77 %
Check All Types All, Analyze, ChangedBehavior 1 1 Major 69 %
Coalesce And Concat All, Analyze, CI-checks, ChangedBehavior, CE 5 1 Minor 0 %
Long Arguments All, Analyze, ChangedBehavior 1 1 Minor 68 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 4 1 Major 50 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE 12 1 Major 42 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 15 1 Minor 93 %
Preprocessable Analyze, All, Rector, ChangedBehavior 2 1 Minor 85 %
Ternary In Concat Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 5 1 Critical 8 %
Use Positive Condition All, Analyze, OneFile, Simple, ChangedBehavior 1 1 Minor 82 %
Useless Type Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, ChangedBehavior, CE 2 1 Minor 47 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 12 1 Minor 63 %
Useless Null Coalesce All, Analyze, Typehints, ChangedBehavior 153 2 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, ChangedBehavior, CE 4 1 Minor 81 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, Undefined, ChangedBehavior, CE 8 4 Critical 15 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 2 2 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 613 5 Minor 0 %
Used Once Variables Analyze, OneFile, All, Simple, Top10, ChangedBehavior 2 2 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 664 8 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 2 2 Minor 87 %