PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Null Or Boolean Arrays All, Analyze 12 3 Minor 0 %
Ambiguous Visibilities All, Analyze 11 10 Minor 70 %
Avoid Optional Properties All, Analyze 20 16 Major 84 %
Could Be Abstract Class All, Analyze, ClassReview 10 10 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 121 121 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 27 18 Minor 92 %
Different Argument Counts All, Analyze, ClassReview 4 4 Minor 0 %
Hidden Nullable Typehint All, Analyze, ClassReview 2 1 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze 5 5 Critical 0 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec 23 15 Critical 53 %
Parent First All, Analyze, Suggestions 17 17 Minor 56 %
Never Used Properties Analyze, All, Simple, Unused 22 16 Minor 71 %
Property Used In One Method Only All, Analyze 19 16 Minor 84 %
Scalar Or Object Property All, Analyze 1 1 Minor 32 %
Should Use Local Class Analyze, ClearPHP, All, Simple 28 18 Minor 95 %
Too Many Dereferencing All, Analyze 2 2 Minor 0 %
Too Many Injections All, Analyze, Dismell 12 12 Minor 19 %
Undefined Classes Analyze, All, Stubs, IsPHP, IsStub, IsExt 390 70 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, IsPHP, IsStub, IsExt, CE 51 20 Major 62 %
Undefined Parent Analyze, All, Simple 7 7 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE 43 22 Major 61 %
Undefined ::class All, Analyze, CI-checks, CE 1 1 Major 36 %
Unfinished Object All, Analyze, ClassReview 11 11 Major 0 %
Unreachable Method All, Analyze, Dead code, ClassReview, Unused 2 2 Minor 0 %
Unresolved Classes Analyze, All, Stubs 46 26 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused 16 16 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 6 6 Minor 0 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, CE 16 8 Minor 71 %
Used Once Property All, Analyze 26 18 Minor 74 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 5 3 Minor 71 %
Catch Undefined Variable All, Analyze 1 1 Minor 0 %
Throw Raw Exceptions All, Analyze, Suggestions 2 2 Minor 0 %
Uncaught Exceptions Analyze, All 5 4 Minor 84 %
Useless Catch All, Analyze, CI-checks, CE 7 6 Minor 44 %
Use Named Boolean In Argument Definition All, Analyze 5 5 Minor 84 %
Dont Collect Void All, Analyze, IsPHP, IsStub, IsExt 2 2 Minor 0 %
Empty Function Analyze, All, Simple 1 1 Minor 74 %
Insufficient Typehint All, Analyze, Typechecks 1 1 Major 43 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 2 1 Minor 92 %
No Boolean As Default All, Analyze 5 5 Minor 84 %
Relay Function Analyze, All 2 2 Major 84 %
Too Many Local Variables All, Analyze 1 1 Minor 64 %
Undefined Functions Analyze, All, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 154 60 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 13 10 Major 90 %
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 19 17 Minor 0 %
Interfaces Is Not Implemented All, Analyze, ClassReview, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE 1 1 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, IsPHP, IsStub, IsExt, CE 318 81 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 2 2 Minor 59 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 48 35 Minor 44 %
Overload Existing Names All, Analyze, Semantics, IsPHP, IsStub, IsExt 88 30 Minor 0 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, CE 16 16 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple 416 105 Major 69 %
False To Array Conversion All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze 4 2 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 2 2 Major 71 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 2 1 Major 56 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 14 10 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 1 1 Minor 77 %
Check Division By Zero All, Analyze 4 3 Minor 0 %
Common Alternatives Analyze, All, Simple 1 1 Major 80 %
Dont Change The Blind Var All, Analyze 2 2 Minor 73 %
Double Instructions Analyze, All, Simple 2 2 Minor 57 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 11 9 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, CE 1 1 Minor 51 %
Empty Instructions Dead code, Analyze, All, Simple 1 1 Minor 57 %
Empty Try Catch Analyze, All, Level 3 3 3 Minor 49 %
Iffectations Analyze, All 5 3 Minor 80 %
Long Arguments All, Analyze 1 1 Minor 68 %
Max Level Of Nesting All, Analyze 6 6 Minor 0 %
Merge If Then All, Analyze, CI-checks, CE 3 2 Minor 0 %
Maybe Missing New All, Analyze 2 2 Critical 57 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 1 1 Minor 63 %
Nested Ifthen Analyze, All, RadwellCodes 9 7 Major 84 %
Variable Is Not A Condition All, Analyze 26 13 Minor 93 %
Should Chain Exception Analyze, All, Simple, CI-checks, CE 1 1 Minor 39 %
Should Make Ternary All, Analyze, OneFile, Simple, CI-checks, CE 7 5 Minor 86 %
Preprocessable Analyze, All, Rector 2 2 Minor 85 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 2 1 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple 1 1 Minor 82 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 11 9 Minor 81 %
Assigned Twice All, Analyze 9 1 Minor 79 %
Overwritten Literals Analyze, All 13 1 Major 79 %
Recycled Variables All, Analyze 9 1 Minor 0 %
Undefined Variable All, Analyze, CI-checks, CE 37 4 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 1 1 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 20 14 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 14 6 Minor 87 %