PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Null Or Boolean Arrays All, Analyze 16 3 Minor 0 %
Too Many Array Dimensions All, Analyze 17 4 Minor 0 %
Ambiguous Visibilities All, Analyze 3 3 Minor 70 %
Could Be Abstract Class All, Analyze, ClassReview 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 38 38 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 6 6 Minor 92 %
Dependant Abstract Classes All, Analyze, ClassReview 1 1 Minor 0 %
Hidden Nullable Typehint All, Analyze, ClassReview 11 6 Minor 0 %
Make Global A Property Analyze, All, Simple 5 3 Minor 37 %
Non Nullable Getters All, Analyze, ClassReview 4 2 Minor 0 %
Property Could Be Local All, Analyze, ClassReview 1 1 Minor 76 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics 4 2 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused 8 7 Minor 71 %
Property Used In One Method Only All, Analyze 2 2 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 16 13 Minor 95 %
Too Many Injections All, Analyze, Dismell 1 1 Minor 19 %
Undefined Classes Analyze, All, Stubs, IsPHP, IsStub, IsExt 176 35 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, IsPHP, IsStub, IsExt, CE 14 9 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE 25 11 Major 61 %
Undefined ::class All, Analyze, CI-checks, CE 21 12 Major 36 %
Unfinished Object All, Analyze, ClassReview 1 1 Major 0 %
Unresolved Classes Analyze, All, Stubs 51 13 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 10 5 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused 1 1 Major 67 %
Unused Class Constant All, Analyze, ClassReview, Unused 3 3 Minor 0 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 1 1 Minor 71 %
Uncaught Exceptions Analyze, All 4 2 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple 1 1 Minor 45 %
Useless Catch All, Analyze, CI-checks, CE 1 1 Minor 44 %
Use Named Boolean In Argument Definition All, Analyze 2 1 Minor 84 %
Callback Function Needs Return All, Analyze, CI-checks, CE 3 3 Major 42 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 4 1 Major 70 %
Insufficient Typehint All, Analyze, Typechecks 8 5 Major 43 %
Mismatch Parameter And Type All, Analyze, Semantics 1 1 Minor 0 %
Mismatched Typehint All, Analyze, Typechecks 4 1 Major 66 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 2 2 Minor 92 %
No Boolean As Default All, Analyze 2 1 Minor 84 %
Relay Function Analyze, All 10 5 Major 84 %
Typehinted References All, Analyze, CI-checks, CE 1 1 Minor 37 %
Undefined Functions Analyze, All, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 53 17 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 6 6 Major 90 %
Useless Referenced Argument All, Analyze 2 2 Minor 58 %
Uses Default Values Analyze, All, Simple, CI-checks, CE 2 1 Minor 98 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 5 2 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, IsPHP, IsStub, IsExt, CE 67 25 Major 72 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 15 12 Minor 44 %
Overload Existing Names All, Analyze, Semantics, IsPHP, IsStub, IsExt 1 1 Minor 0 %
Unresolved Use Analyze, ClearPHP, All, Simple 149 40 Major 69 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 5 3 Minor 74 %
Assumptions All, Analyze 5 5 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, CE 16 3 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 8 7 Minor 64 %
Check Division By Zero All, Analyze 1 1 Minor 0 %
Could Be Else All, Analyze 1 1 Minor 49 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE 1 1 Minor 70 %
Empty Try Catch Analyze, All, Level 3 14 6 Minor 49 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 3 3 Major 61 %
Foreach Reference Is Not Modified Analyze, All, Simple, CI-checks, CE 1 1 Minor 24 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE 20 7 Minor 52 %
Identical Consecutive Expression All, Analyze 2 2 Minor 59 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks, Rector, CE 3 3 Major 33 %
Inconsistent Elseif All, Analyze 1 1 Major 73 %
Merge If Then All, Analyze, CI-checks, CE 1 1 Minor 0 %
Nested Ifthen Analyze, All, RadwellCodes 3 2 Major 84 %
No Need For Else All, Analyze 1 1 Minor 74 %
No Need For Triple Equal All, Analyze 7 4 Minor 0 %
Objects Don't Need References Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks, CE 1 1 Minor 40 %
Preprocessable Analyze, All, Rector 32 7 Minor 85 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 2 1 Minor 0 %
Useless Type Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks, CE 3 1 Minor 47 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE 4 4 Critical 15 %
No Real Comparison Analyze, All, Simple, Level 2, Top10, CI-checks, PHP recommendations, CE 1 1 Major 26 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 5 4 Minor 0 %
Assigned Twice All, Analyze 3 1 Minor 79 %
Overwritten Literals Analyze, All 3 1 Major 79 %
Recycled Variables All, Analyze 6 3 Minor 0 %
Undefined Variable All, Analyze, CI-checks, CE 4 2 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 3 2 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 27 16 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 3 1 Minor 87 %