PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Null Or Boolean Arrays All, Analyze, ChangedBehavior 14 1 Minor 0 %
Weak Type With Array All, Analyze 29 5 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec 11 11 Major 24 %
Ambiguous Static All, Analyze, Semantics 86 6 Minor 66 %
Avoid Optional Properties All, Analyze 5 5 Major 84 %
Class Could Be Final All, Analyze, ClassReview 16 16 Minor 96 %
Could Inject Param All, Analyze, ClassReview 4 3 Minor 0 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics 16 4 Minor 0 %
Property Used In One Method Only All, Analyze 7 4 Minor 84 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 2 1 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple 12 5 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 4 3 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 6 2 Major 61 %
Unfinished Object All, Analyze, ClassReview 12 4 Major 0 %
Unused Class Constant All, Analyze, ClassReview, Unused 29 4 Minor 0 %
Unused Public Method All, Analyze 84 22 Minor 0 %
Useless Constructor Analyze, All, Simple, Level 3 1 1 Minor 41 %
Weak Typing All, Analyze 1 1 Minor 47 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 2 1 Minor 0 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 3 1 Minor 71 %
Throw Raw Exceptions All, Analyze, Suggestions 25 4 Minor 0 %
Uncaught Exceptions Analyze, All 25 4 Minor 84 %
Use Named Boolean In Argument Definition All, Analyze 4 2 Minor 84 %
Empty Function Analyze, All, Simple 10 10 Minor 74 %
Mismatched Default Arguments All, Analyze, Typechecks 7 3 Minor 80 %
Mismatched Typehint All, Analyze, Typechecks 14 3 Major 66 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 7 4 Minor 92 %
No Boolean As Default All, Analyze 2 1 Minor 84 %
Relay Function Analyze, All 54 9 Major 84 %
Unused Parameter Analyze, All, Simple, Unused 2 2 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 132 10 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 5 1 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 39 15 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 33 5 Minor 0 %
Forgotten Interface All, Analyze 1 1 Minor 48 %
Interfaces Is Not Implemented All, Analyze, ClassReview, LintButWontExec, CI-checks, IsPHP, IsStub, IsExt, CE 11 11 Minor 0 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze, CE 8 3 Minor 0 %
Assumptions All, Analyze 3 3 Minor 0 %
Avoid mb_dectect_encoding() All, Analyze 1 1 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE 8 2 Major 76 %
PHP Native Class Type Compatibility All, Analyze, CompatibilityPHP81 4 2 Major 0 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated 13 3 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 1 1 Major 71 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 21 4 Minor 0 %
Comparison Is Always The Same All, Analyze 1 1 Minor 0 %
Array_merge Needs Array Of Arrays All, Analyze 2 1 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 1 1 Minor 64 %
Buried Assignation Analyze, All 13 3 Minor 84 %
Casting Ternary All, Analyze, OneFile, CI-checks, CE 3 1 Major 0 %
Check All Types All, Analyze 2 2 Major 69 %
Dont Change The Blind Var All, Analyze 1 1 Minor 73 %
Empty Blocks Analyze, All, Simple, CI-checks, CE 1 1 Minor 51 %
Empty Loop All, Analyze 1 1 Major 0 %
Identical Case In Switch All, Analyze 2 1 Minor 0 %
Iffectations Analyze, All 8 3 Minor 80 %
Merge If Then All, Analyze, CI-checks, CE 3 2 Minor 0 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4 2 2 Major 64 %
Missing Assignation In Command All, Analyze 8 2 Minor 0 %
Maybe Missing New All, Analyze 3 1 Critical 57 %
Nested Ifthen Analyze, All, RadwellCodes 2 2 Major 84 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 1 1 Major 50 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 1 1 Major 42 %
No Null For Index All, Analyze 11 4 Minor 0 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, CE 3 2 Minor 58 %
Variable Is Not A Condition All, Analyze 4 1 Minor 93 %
Several Instructions On The Same Line Analyze, All 1 1 Major 56 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 3 1 Minor 86 %
Preprocessable Analyze, All, Rector 13 3 Minor 85 %
Static Loop Analyze, All, Simple, Level 4 3 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 16 3 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple 3 1 Minor 82 %
Use Same Types For Comparisons All, Analyze 1 1 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 1 1 Minor 63 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 4 1 Minor 81 %
Dependant Trait Analyze, All, Level 3 1 1 Minor 28 %
StandaloneType True False Null All, Appcontent, Analyze 33 8 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview 9 7 Minor 0 %
Assigned Twice All, Analyze 2 1 Minor 79 %
Overwritten Literals Analyze, All 3 1 Major 79 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 2 2 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 3 1 Minor 87 %