PHP Static analysis for impresscms

Label Recipes Issues Files Severity Frequence
Multiple Index Definition Analyze, OneFile, All, Simple, CI-checks 2 2 Minor 25 %
Null Or Boolean Arrays All, Analyze 58 16 Minor 0 %
String Initialization All, CompatibilityPHP71 28 12 Minor 33 %
Too Many Array Dimensions All, Analyze 30 7 Minor 0 %
Ambiguous Static All, Analyze 91 61 Minor 64 %
Ambiguous Visibilities All, Analyze 81 59 Minor 70 %
Avoid option arrays in constructors All, Analyze, ClassReview 2 2 Minor 0 %
Avoid Optional Properties All, Analyze 57 24 Major 83 %
Cant Instantiate Class All, Analyze 1 1 Critical 28 %
Child Class Removes Typehint All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Typechecks 13 7 Major 1 %
Const Visibility Usage All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 24 2 Minor 16 %
Could Be Abstract Class All, Analyze, ClassReview 22 22 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 272 272 Minor 95 %
Method Could Be Static All, Analyze, ClassReview 198 100 Minor 95 %
Cyclic References All, Analyze, ClassReview 5 3 Minor 0 %
Dependant Abstract Classes All, Analyze, ClassReview 2 2 Minor 0 %
Different Argument Counts All, Analyze, ClassReview 22 14 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks 11 7 Major 41 %
Don't Send $this In Constructor All, Analyze 4 4 Minor 39 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks 2 2 Major 40 %
Empty Classes Analyze, All, Simple 7 7 Minor 58 %
Class Should Be Final By Ocramius All, Analyze 23 23 Minor 42 %
Hidden Nullable All, Analyze, ClassReview 2 2 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze 137 114 Critical 0 %
Locally Unused Property Dead code, All, Simple 70 46 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 32 9 Minor 49 %
Make Global A Property Analyze, All, Simple 132 63 Minor 33 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec 24 16 Critical 50 %
No Public Access Analyze, All 180 55 Minor 60 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks 241 33 Minor 42 %
Non Static Methods Called In A Static Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks 6 6 Minor 20 %
Var Keyword Analyze, OneFile, ClearPHP, All, Simple, Level 1 50 10 Minor 22 %
Parent First All, Analyze, Suggestions 65 65 Minor 55 %
Property Could Be Local All, Analyze, ClassReview 60 37 Minor 71 %
Never Used Properties Analyze, All, Simple 65 45 Minor 72 %
Property Used In One Method Only All, Analyze 107 46 Minor 84 %
Redefined Default Analyze, All, Simple, CI-checks 17 2 Major 26 %
Redefined Private Property All, Analyze 3 3 Major 18 %
Scalar Or Object Property All, Analyze 3 3 Minor 24 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 2 2 Minor 57 %
Should Use Local Class Analyze, ClearPHP, All, Simple 291 105 Minor 94 %
Static Methods Called From Object Analyze, All, Simple, CI-checks 18 10 Minor 38 %
$this Belongs To Classes Or Traits Analyze, All, Simple 20 12 Major 23 %
Too Many Dereferencing All, Analyze 35 2 Minor 0 %
Wrong Access Style to Property All, Analyze, Level 2, ClassReview, CI-checks 2 2 Critical 3 %
Undefined Classes Analyze, All 1683 204 Major 91 %
Undefined Class Constants Analyze, All, CI-checks 52 20 Major 53 %
Undefined Parent Analyze, All, Simple 26 16 Minor 63 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks 48 10 Major 58 %
Undefined ::class All, Analyze, CI-checks 9 4 Major 34 %
Unresolved Catch Dead code, ClearPHP, All 1 1 Major 51 %
Unresolved Classes Analyze, All 1149 107 Major 86 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 11 4 Major 48 %
Unused Classes Dead code, All, Simple, Analyze 31 31 Major 72 %
Unused Class Constant All, Analyze, ClassReview 7 3 Minor 0 %
Unused Methods Dead code, All, Simple 787 223 Minor 95 %
Unused Private Methods Dead code, OneFile, All, Simple 7 3 Minor 45 %
Unused Private Properties Dead code, OneFile, All, Simple 14 8 Minor 37 %
Unused Protected Methods Dead code, All 13 12 Major 72 %
Use Class Operator All, Analyze, Performances, Simple, CI-checks 50 39 Minor 74 %
Use Instanceof Analyze, All, Simple, CI-checks 236 87 Major 63 %
Used Once Property All, Analyze 20 13 Minor 72 %
Useless Abstract Class Analyze, All, Simple 1 1 Minor 60 %
Useless Constructor Analyze, All, Simple, Level 3 10 10 Minor 38 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks 2118 71 Minor 57 %
Constants With Strange Names Analyze, All, Simple, CI-checks 1721 62 Minor 1 %
Constants Created Outside Its Namespace Analyze, All 9 4 Minor 0 %
Invalid Constant Name Analyze, All, Simple 1721 62 Major 1 %
Multiple Constant Definition Analyze, All, Simple, CI-checks 429 64 Minor 32 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks 2093 179 Minor 54 %
Unused Constants Dead code, All, Simple 1160 35 Minor 36 %
Catch Undefined Variable All, Analyze 1 1 Minor 0 %
Undefined Caught Exceptions Dead code, All 2 2 None 50 %
Uncaught Exceptions Analyze, All 20 15 Minor 81 %
Useless Catch All, Analyze, CI-checks 2 2 Minor 47 %
Missing Include All, Analyze 178 68 Critical 61 %
Aliases Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks 5 4 Minor 42 %
Use Named Boolean In Argument Definition All, Analyze 305 121 Minor 84 %
Callback Needs Return All, Analyze, CI-checks 1 1 Major 51 %
Could Make A Function All, Analyze, Suggestions 973 230 Minor 75 %
Empty Function Analyze, All, Simple 37 31 Minor 71 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 220 47 Major 61 %
Mismatch Parameter Name All, Analyze, CompatibilityPHP80 33 26 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks 157 78 Minor 33 %
Mismatched Typehint All, Analyze, Typechecks 1 1 Major 5 %
Modified Typed Parameter All, Analyze, ClassReview 1 1 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks 1 1 Major 22 %
Never Used Parameter All, Analyze, Suggestions 295 139 Minor 47 %
No Boolean As Default All, Analyze 305 121 Minor 84 %
No Literal For Reference All, Analyze, CI-checks 3 3 Minor 0 %
No Return Used All, Analyze, Suggestions, Level 4 10 9 Minor 41 %
Only Variable For Reference All, Analyze, LintButWontExec 1 1 Critical 24 %
Only Variable Passed By Reference All, Analyze 4 4 Critical 40 %
Relay Function Analyze, All 50 20 Major 83 %
Too Many Local Variables All, Analyze 43 27 Minor 65 %
Typehinted References All, Analyze, CI-checks 3 3 Minor 12 %
Undefined Functions Analyze, All, CI-checks 845 143 Major 71 %
Unused Arguments Analyze, All, Simple 84 54 Major 89 %
Unused Functions Dead code, All, Simple 46 26 Minor 53 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple 15 9 Minor 39 %
Use Constant As Arguments Analyze, All, Simple, CI-checks 1 1 Major 25 %
Useless Referenced Argument All, Analyze 85 59 Minor 57 %
Useless Return Analyze, OneFile, All, Simple, Level 4 5 5 Minor 29 %
Uses Default Values Analyze, All, Simple, CI-checks 2262 300 Minor 97 %
Using Deprecated Method All, Analyze 229 47 Minor 0 %
Methods Without Return All, Analyze 453 142 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks 256 141 Major 38 %
Wrong Optional Parameter Analyze, All, Simple, Level 1, CI-checks 2 1 Minor 38 %
Wrong Returned Type All, Analyze, ClassReview, CI-checks 33 19 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks 9 9 Minor 0 %
Already Parents Interface Analyze, All, Level 3, Suggestions 2 2 Minor 17 %
Forgotten Interface All, Analyze 5 5 Minor 52 %
Interfaces Is Not Implemented All, Analyze, ClassReview, LintButWontExec, CI-checks 1 1 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks 74 36 Major 67 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks 2 2 Minor 24 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks 87 52 Minor 42 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks 1 1 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple 138 98 Major 65 %
Unused Use Dead code, ClearPHP, All, Simple 121 90 Major 54 %
Use With Fully Qualified Name Analyze, Coding Conventions, PHP recommendations, All, Simple 1 1 Minor 16 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks 8 8 Major 55 %
Logical To in_array All, Analyze, Level 2 28 18 Minor 66 %
Memoize MagicCall All, Analyze, ClassReview 14 11 Minor 0 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks 493 74 Minor 74 %
strpos() Too Much All, Analyze, CI-checks 33 19 Minor 46 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze 4 3 Minor 0 %
Assumptions All, Analyze 10 9 Minor 0 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks 18 9 Major 59 %
Crc32() Might Be Negative All, PHP recommendations, Analyze 1 1 Major 3 %
Detect Current Class All, Suggestions, CompatibilityPHP74 13 7 None 47 %
Don't Pollute Global Space All, Analyze 2456 185 Minor 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks 21 12 Major 45 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks 14 6 Minor 52 %
List With Keys CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, Appinfo, All 1 1 Major 32 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks 10 8 Minor 42 %
No Class In Global All, Analyze, CI-checks 327 125 Minor 78 %
No Reference For Ternary All, Analyze, CI-checks 2 2 Major 0 %
PHP 7.0 Scalar Typehints All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 126 59 Critical 31 %
PHP 7.4 Removed Functions All, CompatibilityPHP74 1 1 Critical 0 %
PHP 8.0 Removed Functions All, CompatibilityPHP80 6 4 Major 0 %
PHP Keywords As Names Analyze, All, Simple 691 103 Major 89 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks 9 3 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks 44 29 Major 71 %
Use Nullable Type All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 171 85 Major 21 %
Usort Sorting In PHP 7.0 CompatibilityPHP70, All 3 1 Major 46 %
Wrong Type For Native PHP Function All, Analyze, CI-checks 149 68 Minor 0 %
Always Anchor Regex All, Security 22 10 Major 65 %
Avoid Those Hash Functions Security, All 20 14 Major 60 %
Compare Hash Security, ClearPHP, All 1 1 Major 14 %
Configure Extract All, Security 27 15 Minor 22 %
Direct Injection Security, All 62 32 Major 41 %
Don't Echo Error All, Analyze, Security, Simple, Level 1, CI-checks 2 2 Critical 32 %
filter_input() As A Source All, Security 52 13 Minor 6 %
Indirect Injection Security, All 39 11 Critical 21 %
Integer Conversion All, Security 17 4 Major 0 %
Keep Files Access Restricted All, Security 9 5 Minor 0 %
Mkdir Default All, Security 1 1 Major 35 %
No Net For Xml Load All, Security 5 4 Major 49 %
Register Globals Security, All 11 4 Critical 3 %
Set Cookie Safe Arguments All, Security 5 5 Major 23 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks 68 32 Major 22 %
Should Use session_regenerateid() All, Security 1 1 Major 82 %
Unserialize Second Arg Security, All 6 4 Critical 49 %
Adding Zero Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 47 11 Minor 33 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks 9 5 Major 52 %
Constant Comparison All, Analyze 1 1 Minor 0 %
Array_merge Needs Array Of Arrays All, Analyze 13 11 Minor 0 %
Same Variable Foreach All, Analyze, CI-checks 1 1 Minor 12 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 46 26 Minor 92 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks 239 108 Minor 76 %
Buried Assignation Analyze, All 98 52 Minor 82 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 74 29 Minor 55 %
Check All Types All, Analyze 121 57 Major 68 %
Check JSON All, Analyze, CI-checks 2 2 Major 64 %
Common Alternatives Analyze, All, Simple 109 57 Major 61 %
Concat Empty String All, Analyze, OneFile 19 9 Minor 0 %
Could Be Else All, Analyze 4 4 Minor 48 %
Could Be Static Analyze, OneFile, All, ClassReview 4 4 Major 20 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks 22 10 Minor 60 %
Could Use str_repeat() All, Analyze, Level 1, Top10, CI-checks 1 1 Minor 12 %
__DIR__ Then Slash All, Analyze, Level 3, CI-checks 1 1 Major 13 %
Dont Change The Blind Var All, Analyze 25 18 Minor 72 %
Dont Mix ++ All, Analyze 546 3 Minor 43 %
Don't Read And Write In One Expression All, Analyze, CompatibilityPHP73, CompatibilityPHP74 1 1 Critical 38 %
Double Assignation Analyze, All 15 14 Major 55 %
Double Instructions Analyze, All, Simple 3 3 Minor 57 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks 85 40 Minor 70 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions 288 55 Minor 58 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks 96 45 Minor 65 %
Empty Blocks Analyze, All, Simple, CI-checks 18 14 Minor 57 %
Empty Instructions Dead code, Analyze, All, Simple 170 18 Minor 43 %
Empty Try Catch Analyze, All, Level 3 4 4 Minor 47 %
Eval() Usage Analyze, Appinfo, Performances, OneFile, ClearPHP, All, Simple, Security 3 3 Major 37 %
eval() Without Try Analyze, All, Simple, Level 3, Security, CI-checks 2 2 Critical 34 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks 187 81 Major 60 %
Switch Fallthrough All, Inventory, Security, Stats 2 2 Minor 37 %
Overwritten Source And Value All, Analyze, OneFile 1 1 Minor 0 %
Global Usage Analyze, Appinfo, ClearPHP, All 442 129 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks 70 33 Major 39 %
Identical Conditions Analyze, All, Simple, CI-checks 2 2 Critical 28 %
Identical Consecutive Expression All, Analyze 11 10 Minor 58 %
Identical On Both Sides All, Analyze, CI-checks 1 1 Major 19 %
If With Same Conditions Analyze, All, Simple, CI-checks 5 5 Major 44 %
Iffectations Analyze, All 101 60 Minor 80 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks 18 13 Major 29 %
Implode() Arguments Order All, Analyze, CI-checks 1 1 Minor 0 %
Inconsistent Elseif All, Analyze 44 27 Major 73 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks 16 1 Major 18 %
Invalid Regex All, Analyze, CI-checks 8 5 Major 18 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks 5 4 Minor 37 %
Lone Blocks Analyze, All, Simple, Level 4, CI-checks 2 2 Minor 14 %
Long Arguments All, Analyze 13 9 Minor 67 %
Max Level Of Nesting All, Analyze 54 39 Minor 0 %
Mbstring Unknown Encoding All, Analyze, CI-checks 1 1 Minor 0 %
Merge If Then All, Analyze, CI-checks 137 76 Minor 0 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4 7 4 Major 62 %
Missing Cases In Switch All, Analyze 2 1 Minor 2 %
Mixed Concat And Interpolation All, Coding Conventions, Analyze 19 14 Minor 43 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 31 23 Minor 56 %
Multiples Identical Case Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 14 10 Minor 10 %
Multiple Type Variable All, Analyze, Level 4 10 10 Minor 43 %
Nested Ifthen Analyze, All, RadwellCodes 365 115 Major 87 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks 38 14 Major 20 %
Don't Change Incomings Analyze, All 13 7 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks 10 7 Major 43 %
No Empty Regex All, Analyze, CI-checks 1 1 Critical 1 %
No Hardcoded Hash Analyze, Security, All, Simple 3 1 Critical 44 %
No isset() With empty() All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks 14 7 Minor 28 %
No Need For Else All, Analyze 115 44 Minor 74 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks 26 17 Minor 61 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks 37 28 Minor 57 %
Variable Is Not A Condition All, Analyze 558 160 Minor 57 %
@ Operator Appinfo, ClearPHP, All, Analyze, Performances, CI-checks 199 57 Minor 66 %
Objects Don't Need References Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks 51 32 Minor 31 %
include_once() Usage Analyze, Appinfo, All 161 97 Minor 73 %
Several Instructions On The Same Line Analyze, All 59 7 Major 57 %
Only Variable Returned By Reference Analyze, All, Simple 1 1 Major 3 %
Or Die Analyze, OneFile, ClearPHP, All, Simple, CI-checks 1 1 Minor 13 %
PHP7 Dirname CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Suggestions, php-cs-fixable 4 2 Minor 42 %
Print And Die Analyze, All, Simple, CI-checks 22 11 Minor 29 %
Printf Number Of Arguments All, Analyze, CI-checks 3 2 Minor 42 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks 55 23 Major 49 %
Repeated Regex All, Analyze, Level 1, CI-checks 8 5 Minor 47 %
Return True False Analyze, All, Simple, Level 1, CI-checks 19 13 Major 53 %
Same Conditions In Condition Analyze, All, Simple, CI-checks 17 15 Critical 49 %
Should Make Ternary All, Analyze, OneFile, Simple, CI-checks 265 112 Minor 85 %
Preprocessable Analyze, All, Rector 841 204 Minor 86 %
Static Loop Analyze, All, Simple, Level 4 15 8 Minor 65 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks 4 3 Major 54 %
Switch To Switch Analyze, All, RadwellCodes, Simple 25 13 Minor 79 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks 23 17 Major 68 %
Test Then Cast All, Analyze 3 3 Major 32 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks 19 9 Major 50 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks 26 12 Major 49 %
Unconditional Break In Loop All, Analyze, Level 3, CI-checks 1 1 Major 46 %
Unpreprocessed Values Analyze, OneFile, ClearPHP, All, Simple 12 4 Minor 28 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3 192 72 Major 44 %
Unset In Foreach Dead code, Analyze, OneFile, All, Simple 3 2 Major 34 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80 1 1 Minor 0 %
Unused Global Analyze, All, Simple 60 26 Minor 18 %
Use Constant PHP recommendations, All, Analyze, php-cs-fixable, CI-checks 1 1 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple 313 125 Minor 81 %
Useless Brackets Analyze, All, RadwellCodes, Simple, CI-checks 2 2 Minor 14 %
Useless Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks 55 28 Minor 37 %
Useless Check All, Analyze, OneFile, Simple, Level 1, CI-checks 11 8 Minor 48 %
Useless Global Analyze, OneFile, All, Simple, Level 2 6 6 Minor 24 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 40 23 Minor 58 %
Useless Parenthesis Analyze, All, Simple, CI-checks 190 85 Minor 81 %
Useless Switch Analyze, All, Simple 3 2 Major 30 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks 4 3 Major 28 %
var_dump()... Usage Analyze, ClearPHP, Security, All, CI-checks 4 3 Critical 40 %
preg_replace With Option e Analyze, CompatibilityPHP70, Security, CompatibilityPHP71, All, Simple, CompatibilityPHP72, CI-checks 3 2 Major 8 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks 4 3 Minor 29 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks 6 1 Minor 47 %
String May Hold A Variable Analyze, All, Simple 24 9 Minor 58 %
Missing Returntype In Method All, Typehints, Analyze, CI-checks 8 8 Minor 0 %
Assigned Twice All, Analyze 283 49 Minor 78 %
Overwritten Literals Analyze, All 318 50 Major 78 %
Php 7 Indirect Expression CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP70, All 4 3 Major 14 %
Strange Name For Variables All, Analyze 2 2 Minor 28 %
Undefined Constant Name All, Analyze 5 1 Minor 0 %
Undefined Variable All, Analyze, CI-checks 1564 147 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 64 42 Minor 87 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 796 252 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple 284 73 Minor 78 %