PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Arrays/WeakType All, Analyze 3 2 Minor 0 %
Class Could Be Final All, Analyze, ClassReview 10 10 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 4 1 Minor 92 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 3 1 Minor 71 %
Property Could Be Local All, Analyze, ClassReview 2 2 Minor 76 %
Property Used In One Method Only All, Analyze 6 3 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 5 2 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 8 4 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, Undefined, ChangedBehavior, CE 1 1 Major 61 %
Undefined static:: Or self:: Analyze, All, Simple, Undefined 2 1 Minor 35 %
Unfinished Object All, Analyze, ClassReview 2 2 Major 0 %
Unresolved Classes Analyze, All, Stubs 1 1 Major 76 %
Unused Public Method All, Analyze 15 7 Minor 0 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, CE 1 1 Minor 71 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 1 1 Minor 0 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 1 1 Minor 54 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 26 6 Minor 71 %
Throw Raw Exceptions All, Analyze, Suggestions 3 2 Minor 0 %
Uncaught Exceptions Analyze, All 3 2 Minor 84 %
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 1 1 Minor 84 %
Mismatched Typehint All, Analyze, Typechecks 3 1 Major 66 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE 3 2 Major 34 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 1 1 Minor 92 %
No Boolean As Default All, Analyze 1 1 Minor 84 %
Relay Function Analyze, All 3 1 Major 84 %
Typehint Must Be Returned All, Analyze, LintButWontExec, CI-checks, CE 2 2 Major 22 %
Unused Parameter Analyze, All, Simple, Unused 1 1 Major 90 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 3 2 Minor 41 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 66 11 Minor 98 %
Methods Without Return All, Analyze 2 2 Minor 95 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 2 2 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 15 2 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 1 1 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 1 1 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 1 1 Minor 59 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 5 3 Major 69 %
Logical To in_array All, Analyze, Level 2 5 4 Minor 67 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 4 2 Minor 74 %
Don't Pollute Global Space All, Analyze 8 2 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE 6 4 Minor 53 %
No Class In Global All, Analyze, CI-checks, CE 6 2 Minor 77 %
Too Many Native Calls All, Analyze, IsPHP, IsExt 1 1 Minor 49 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 8 4 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 3 1 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 7 4 Minor 77 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 1 1 Minor 56 %
Check All Types All, Analyze 2 1 Major 69 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions 3 2 Minor 60 %
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 1 1 Minor 51 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 7 4 Major 61 %
Inconsistent Elseif All, Analyze 2 1 Major 73 %
Infinite Recursion All, Analyze 1 1 Major 0 %
Maybe Missing New All, Analyze 1 1 Critical 57 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, CE 4 2 Major 42 %
No Direct Usage Analyze, All, Simple 1 1 Major 39 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE 1 1 Minor 62 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks, CE 1 1 Minor 58 %
Variable Is Not A Condition All, Analyze 4 3 Minor 93 %
Print And Die Analyze, All, Simple, CI-checks, CE 2 1 Minor 32 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, CE 2 1 Major 50 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, CE 1 1 Minor 86 %
Preprocessable Analyze, All, Rector 4 3 Minor 85 %
Static Loop Analyze, All, Simple, Level 4 1 1 Minor 67 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, CE 2 1 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, CE 1 1 Major 50 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, CE 3 1 Minor 0 %
Use Constant Instead Of Function PHP recommendations, All, Analyze, php-cs-fixable, CI-checks, CE 1 1 Minor 61 %
Use Positive Condition All, Analyze, OneFile, Simple 1 1 Minor 82 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 4 2 Minor 63 %
Useless Null Coalesce All, Analyze, Typehints 3 1 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 2 2 Minor 81 %
var_dump()... Usage Analyze, ClearPHP, Security, All, CI-checks, CE 3 2 Critical 42 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, CE 1 1 Minor 49 %
String May Hold A Variable Analyze, All, Simple 1 1 Minor 59 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 3 2 Minor 0 %
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 1 1 Minor 95 %