PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze 2 2 Minor 0 %
Avoid Optional Properties All, Analyze 1 1 Major 84 %
Class Could Be Final All, Analyze, ClassReview 70 4 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 3 1 Minor 92 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks, CE 1 1 Major 42 %
Empty Classes Analyze, All, Simple 1 1 Minor 60 %
Hidden Nullable Typehint All, Analyze, ClassReview 1 1 Minor 0 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 3 2 Minor 71 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 243 4 Minor 42 %
Var Keyword Analyze, OneFile, ClearPHP, All, Simple, Level 1 238 4 Minor 4 %
Never Used Properties Analyze, All, Simple, Unused 208 4 Minor 71 %
Property Used In One Method Only All, Analyze 6 3 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 3 1 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 204 4 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 17 2 Major 61 %
Unfinished Object All, Analyze, ClassReview 195 3 Major 0 %
Unused Classes Dead code, All, Simple, Analyze, Unused 38 2 Major 67 %
Unused Public Method All, Analyze 14 3 Minor 0 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, CE 49 2 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, CE 2 1 Major 63 %
Used Once Property All, Analyze 14 3 Minor 74 %
Useless Constructor Analyze, All, Simple, Level 3 2 1 Minor 41 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 9 1 Minor 54 %
Uncaught Exceptions Analyze, All 3 1 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple 1 1 Minor 45 %
Native Alias Functions Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks, CE 1 1 Minor 20 %
Use Named Boolean In Argument Definition All, Analyze 2 2 Minor 84 %
Could Make A Function All, Analyze, Suggestions 9 2 Minor 66 %
Empty Function Analyze, All, Simple 4 3 Minor 74 %
No Boolean As Default All, Analyze 2 2 Minor 84 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 6 3 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 3 2 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 75 4 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 2 2 Major 81 %
Wrong Optional Parameter Analyze, All, Simple, Level 1, CI-checks, CompatibilityPHP80, ChangedBehavior, CE 1 1 Minor 32 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 1 1 Minor 59 %
Memoize MagicCall All, Analyze, ClassReview 1 1 Minor 0 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 11 2 Minor 74 %
Avoid mb_dectect_encoding() All, Analyze 1 1 Minor 0 %
Don't Pollute Global Space All, Analyze 82 4 Minor 0 %
PHP Native Interfaces and Return Type All, Analyze, LintButWontExec, CompatibilityPHP81, Deprecated 5 2 Minor 0 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 5 2 Minor 43 %
PHP Native Class Type Compatibility All, Analyze, CompatibilityPHP81 7 2 Major 0 %
No Class In Global All, Analyze, CI-checks, CE 73 4 Minor 77 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated 23 1 Minor 0 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 17 3 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 6 2 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 18 1 Minor 77 %
Check All Types All, Analyze 4 1 Major 69 %
Check Division By Zero All, Analyze 1 1 Minor 0 %
Common Alternatives Analyze, All, Simple 4 1 Major 80 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, CE 6 3 Minor 70 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 1 1 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, CE 4 1 Minor 51 %
Empty Loop All, Analyze 1 1 Major 0 %
Eval() Usage Analyze, Appinfo, Performances, OneFile, ClearPHP, All, Simple, Security, CE 1 1 Major 39 %
eval() Without Try Analyze, All, Simple, Level 3, Security, CI-checks, ChangedBehavior, CE 1 1 Critical 36 %
Identical Consecutive Expression All, Analyze 6 1 Minor 59 %
Max Level Of Nesting All, Analyze 1 1 Minor 0 %
Merge If Then All, Analyze, CI-checks, CE 6 3 Minor 0 %
Missing Assignation In Command All, Analyze 7 2 Minor 0 %
Nested Ifthen Analyze, All, RadwellCodes 10 2 Major 84 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 1 1 Major 42 %
No Need For Else All, Analyze 7 3 Minor 74 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, CE 2 1 Minor 58 %
Variable Is Not A Condition All, Analyze 2 1 Minor 93 %
Return True False Analyze, All, Simple, Level 1, CI-checks, CE 1 1 Major 46 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 3 1 Minor 86 %
Preprocessable Analyze, All, Rector 34 2 Minor 85 %
Static Loop Analyze, All, Simple, Level 4 2 2 Minor 67 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 2 2 Major 69 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 6 2 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple 7 2 Minor 82 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 14 2 Minor 81 %
String May Hold A Variable Analyze, All, Simple 1 1 Minor 59 %
Assigned Twice All, Analyze 20 2 Minor 79 %
Overwritten Literals Analyze, All 26 2 Major 79 %
Recycled Variables All, Analyze 2 1 Minor 0 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 2 1 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 6 2 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 9 2 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 3 1 Minor 87 %