PHP Static analysis for horizontalee

Label Recipes Issues Files Severity Frequence
Multiple Index Definition Analyze, OneFile, All, Simple, CI-checks 1 1 Minor 25 %
Avoid Optional Properties All, Analyze 2 1 Major 83 %
Class Could Be Final All, Analyze, ClassReview 2 2 Minor 95 %
Method Could Be Static All, Analyze, ClassReview 1 1 Minor 95 %
Locally Unused Property Dead code, All, Simple 1 1 Minor 76 %
No Public Access Analyze, All 3 1 Minor 60 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks 3 1 Minor 42 %
Never Used Properties Analyze, All, Simple 1 1 Minor 72 %
Property Used In One Method Only All, Analyze 2 1 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 1 1 Minor 94 %
Undefined Classes Analyze, All 35 1 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks 7 1 Major 58 %
Unresolved Classes Analyze, All 35 1 Major 86 %
Unused Methods Dead code, All, Simple 2 1 Minor 95 %
Used Once Property All, Analyze 2 1 Minor 72 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks 4 3 Minor 54 %
Missing Include All, Analyze 8 1 Critical 61 %
Aliases Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks 1 1 Minor 42 %
Could Make A Function All, Analyze, Suggestions 200 15 Minor 75 %
Empty Function Analyze, All, Simple 1 1 Minor 71 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 1 1 Major 61 %
Mismatched Default Arguments All, Analyze, Typechecks 3 1 Minor 33 %
Never Used Parameter All, Analyze, Suggestions 1 1 Minor 47 %
Relay Function Analyze, All 3 3 Major 83 %
Undefined Functions Analyze, All, CI-checks 706 33 Major 71 %
Unused Arguments Analyze, All, Simple 3 3 Major 89 %
Unused Functions Dead code, All, Simple 3 2 Minor 53 %
Uses Default Values Analyze, All, Simple, CI-checks 34 7 Minor 97 %
Methods Without Return All, Analyze 37 9 Minor 0 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks 1 1 Major 55 %
Logical To in_array All, Analyze, Level 2 2 1 Minor 66 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks 4 3 Minor 74 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze 2 2 Minor 0 %
Don't Pollute Global Space All, Analyze 74 11 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks 2 1 Major 45 %
No Class In Global All, Analyze, CI-checks 74 11 Minor 78 %
PHP 7.3 Last Empty Argument All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 1 1 Critical 13 %
PHP Keywords As Names Analyze, All, Simple 13 2 Major 89 %
Trailing Comma In Calls All, CompatibilityPHP53, CompatibilityPHP70, Appinfo, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 1 1 Minor 0 %
Alternative Syntax Consistence All, Analyze 7 1 Major 20 %
Array_merge Needs Array Of Arrays All, Analyze 2 2 Minor 0 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks 2 2 Minor 76 %
Buried Assignation Analyze, All 1 1 Minor 82 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 1 1 Minor 55 %
Check All Types All, Analyze 1 1 Major 68 %
Common Alternatives Analyze, All, Simple 12 1 Major 61 %
Could Be Static Analyze, OneFile, All, ClassReview 1 1 Major 20 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks 1 1 Major 56 %
Double Assignation Analyze, All 1 1 Major 55 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions 6 3 Minor 58 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks 1 1 Minor 65 %
Empty Instructions Dead code, Analyze, All, Simple 209 26 Minor 43 %
Global Usage Analyze, Appinfo, ClearPHP, All 2 2 Minor 52 %
Iffectations Analyze, All 1 1 Minor 80 %
Inconsistent Elseif All, Analyze 2 2 Major 73 %
Long Arguments All, Analyze 8 3 Minor 67 %
Merge If Then All, Analyze, CI-checks 1 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 1 1 Minor 56 %
Multiple Type Variable All, Analyze, Level 4 1 1 Minor 43 %
Nested Ifthen Analyze, All, RadwellCodes 1 1 Major 87 %
No Need For Else All, Analyze 1 1 Minor 74 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks 3 1 Minor 61 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks 6 1 Minor 57 %
Variable Is Not A Condition All, Analyze 1 1 Minor 57 %
include_once() Usage Analyze, Appinfo, All 1 1 Minor 73 %
Several Instructions On The Same Line Analyze, All 10 9 Major 57 %
Printf Number Of Arguments All, Analyze, CI-checks 5 2 Minor 42 %
Return True False Analyze, All, Simple, Level 1, CI-checks 1 1 Major 53 %
Should Make Ternary All, Analyze, OneFile, Simple, CI-checks 7 5 Minor 85 %
Preprocessable Analyze, All, Rector 2 2 Minor 86 %
Static Loop Analyze, All, Simple, Level 4 6 6 Minor 65 %
Use Constant PHP recommendations, All, Analyze, php-cs-fixable, CI-checks 1 1 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple 3 2 Minor 81 %
Useless Global Analyze, OneFile, All, Simple, Level 2 2 2 Minor 24 %
Useless Parenthesis Analyze, All, Simple, CI-checks 1 1 Minor 81 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks 8 2 Minor 47 %
Assigned Twice All, Analyze 4 2 Minor 78 %
Overwritten Literals Analyze, All 5 2 Major 78 %
Undefined Variable All, Analyze, CI-checks 8 2 Minor 77 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 5 4 Minor 95 %