PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Arrays/WeakType All, Analyze 11 7 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec 2 2 Major 24 %
Accessing Private Analyze, All, Simple 6 6 Major 17 %
Ambiguous Static All, Analyze, Semantics 3 3 Minor 66 %
Ambiguous Visibilities All, Analyze, Semantics 22 11 Minor 70 %
Avoid Optional Properties All, Analyze 6 6 Major 84 %
Class, Interface, Enum Or Trait With Identical Names Analyze, All 8 8 Minor 19 %
Class Could Be Final All, Analyze, ClassReview 58 58 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 23 18 Minor 92 %
Could Inject Param All, Analyze, ClassReview 4 3 Minor 0 %
Dependant Abstract Classes All, Analyze, ClassReview 2 2 Minor 0 %
Hidden Nullable Typehint All, Analyze, ClassReview 1 1 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze 1 1 Critical 0 %
Mismatch Properties Typehints All, Analyze, LintButWontExec, ClassReview 11 8 Minor 0 %
Multiple Identical Trait Or Interface Analyze, OneFile, All, Simple, CI-checks, CE 7 7 Minor 0 %
No Public Access Analyze, All 2 2 Minor 61 %
Parent First All, Analyze, Suggestions 4 4 Minor 56 %
Property Could Be Local All, Analyze, ClassReview 36 22 Minor 76 %
Never Used Properties Analyze, All, Simple, Unused 2 2 Minor 71 %
Property Used In One Method Only All, Analyze 12 12 Minor 84 %
Scalar Or Object Property All, Analyze 1 1 Minor 32 %
Should Use Local Class Analyze, ClearPHP, All, Simple 25 18 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 150 44 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 50 20 Major 62 %
Undefined Parent Analyze, All, Simple, Undefined 1 1 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE 36 3 Major 61 %
Undefined ::class All, Analyze, CI-checks, Undefined, CE 6 1 Major 36 %
Unfinished Object All, Analyze, ClassReview 9 6 Major 0 %
Unresolved Classes Analyze, All, Stubs 25 16 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused 2 2 Major 67 %
Unused Public Method All, Analyze 40 34 Minor 0 %
Used Once Property All, Analyze 3 2 Minor 74 %
Useless Constructor Analyze, All, Simple, Level 3 1 1 Minor 41 %
Weak Typing All, Analyze 6 6 Minor 47 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 1 1 Minor 0 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 27 3 Minor 71 %
Throw Raw Exceptions All, Analyze, Suggestions 3 3 Minor 0 %
Uncaught Exceptions Analyze, All 10 10 Minor 84 %
Useless Catch All, Analyze, CI-checks, CE 2 2 Minor 44 %
Use Named Boolean In Argument Definition All, Analyze 1 1 Minor 84 %
Callback Function Needs Return All, Analyze, CI-checks, CE 19 11 Major 42 %
Could Make A Function All, Analyze, Suggestions 9 7 Minor 66 %
Dont Collect Void All, Analyze, IsPHP, IsStub, IsExt 6 4 Minor 0 %
Empty Function Analyze, All, Simple 20 12 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 2 2 Major 70 %
Insufficient Typehint All, Analyze, Typechecks 6 5 Major 43 %
Mismatched Typehint All, Analyze, Typechecks 9 7 Major 66 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 1 1 Minor 92 %
No Boolean As Default All, Analyze 1 1 Minor 84 %
Too Many Local Variables All, Analyze 2 2 Minor 64 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 5 1 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 2 1 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 100 31 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 21 13 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 12 11 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 10 7 Minor 0 %
Already Parents Interface Analyze, All, Level 3, Suggestions, IsPHP, IsStub, IsExt 7 7 Minor 26 %
Forgotten Interface All, Analyze 4 4 Minor 48 %
Interfaces Is Not Implemented All, Analyze, ClassReview, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE 1 1 Minor 0 %
Repeated Interface All, Analyze, LintButWontExec 7 7 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 62 30 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 3 3 Minor 59 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 11 11 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 112 51 Major 69 %
Logical To in_array All, Analyze, Level 2 1 1 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 9 3 Minor 74 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze, CE 1 1 Minor 0 %
Assumptions All, Analyze 4 2 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE 1 1 Major 76 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 5 4 Minor 0 %
Comparison Is Always True All, Analyze 6 6 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 8 4 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 1 1 Minor 77 %
Double Assignation Analyze, All 2 2 Major 59 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE 1 1 Minor 70 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 5 2 Minor 66 %
Max Level Of Nesting All, Analyze 2 2 Minor 0 %
Merge If Then All, Analyze, CI-checks, CE 1 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 1 1 Minor 63 %
Nested Ifthen Analyze, All, RadwellCodes 12 3 Major 84 %
No Need For Else All, Analyze 4 2 Minor 74 %
Variable Is Not A Condition All, Analyze 5 2 Minor 93 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 2 2 Minor 86 %
Preprocessable Analyze, All, Rector 28 20 Minor 85 %
Switch To Switch Analyze, All, RadwellCodes, Simple 2 2 Minor 58 %
Use Positive Condition All, Analyze, OneFile, Simple 5 5 Minor 82 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 18 2 Minor 81 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 10 10 Minor 0 %
Assigned Twice All, Analyze 66 11 Minor 79 %
Overwritten Literals Analyze, All 64 11 Major 79 %
Recycled Variables All, Analyze 2 1 Minor 0 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 7 2 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 2 2 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 5 5 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 3 1 Minor 87 %