PHP Static analysis for rox

Label Recipes Issues Files Severity Frequence
Multiple Index Definition Analyze, OneFile, All, Simple, CI-checks 3 2 Minor 25 %
Null Or Boolean Arrays All, Analyze 58 10 Minor 0 %
Randomly Sorted Arrays All, Analyze, Level 4, Suggestions 3 3 Minor 41 %
String Initialization All, CompatibilityPHP71 47 15 Minor 33 %
Too Many Array Dimensions All, Analyze 412 10 Minor 0 %
Accessing Private Analyze, All, Simple 3 2 Major 13 %
Access Protected Structures Analyze, All, Simple 2 1 Major 6 %
Ambiguous Static All, Analyze 127 97 Minor 64 %
Ambiguous Visibilities All, Analyze 613 283 Minor 70 %
Avoid option arrays in constructors All, Analyze, ClassReview 3 3 Minor 0 %
Avoid Optional Properties All, Analyze 199 64 Major 83 %
Cant Instantiate Class All, Analyze 6 5 Critical 28 %
Child Class Removes Typehint All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Typechecks 1 1 Major 1 %
Clone With Non-Object All, Analyze, LintButWontExec 1 1 Minor 0 %
Const Visibility Usage All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 125 26 Minor 16 %
Could Be Abstract Class All, Analyze, ClassReview 48 47 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 820 805 Minor 95 %
Method Could Be Static All, Analyze, ClassReview 480 239 Minor 95 %
Cyclic References All, Analyze, ClassReview 7 3 Minor 0 %
Dependant Abstract Classes All, Analyze, ClassReview 2 2 Minor 0 %
Different Argument Counts All, Analyze, ClassReview 2 2 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks 8 5 Major 41 %
Don't Send $this In Constructor All, Analyze 2 2 Minor 39 %
Don't Unset Properties All, Analyze, Top10, php-cs-fixable, CI-checks 33 27 Major 40 %
Empty Classes Analyze, All, Simple 32 32 Minor 58 %
Class Should Be Final By Ocramius All, Analyze 3 3 Minor 42 %
Hidden Nullable All, Analyze, ClassReview 37 26 Minor 0 %
Incompatible Signature Methods With Covariance All, Analyze 31 31 Critical 0 %
Locally Unused Property Dead code, All, Simple 153 97 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 76 24 Minor 49 %
Make Global A Property Analyze, All, Simple 11 7 Minor 33 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec 2 2 Critical 50 %
Multiple Class Declarations Analyze, All, Simple, CI-checks 2 2 Major 5 %
No Public Access Analyze, All 40 12 Minor 60 %
Non Nullable Getters All, Analyze, ClassReview 13 11 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks 393 56 Minor 42 %
Non Static Methods Called In A Static Analyze, CompatibilityPHP56, All, Simple, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CI-checks 28 22 Minor 20 %
Old Style Constructor Analyze, OneFile, Appinfo, ClearPHP, All, Simple, CompatibilityPHP80 2 2 Minor 14 %
Var Keyword Analyze, OneFile, ClearPHP, All, Simple, Level 1 196 21 Minor 22 %
Parent First All, Analyze, Suggestions 8 8 Minor 55 %
Property Could Be Local All, Analyze, ClassReview 239 192 Minor 71 %
Never Used Properties Analyze, All, Simple 58 37 Minor 72 %
Property Used In One Method Only All, Analyze 134 59 Minor 84 %
Redefined Private Property All, Analyze 2 2 Major 18 %
Scalar Or Object Property All, Analyze 2 1 Minor 24 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 71 10 Minor 57 %
Should Use Local Class Analyze, ClearPHP, All, Simple 577 258 Minor 94 %
Static Methods Can't Contain $this Analyze, ClearPHP, All, Simple, Level 1, CI-checks 1 1 Major 5 %
Static Methods Called From Object Analyze, All, Simple, CI-checks 182 56 Minor 38 %
$this Belongs To Classes Or Traits Analyze, All, Simple 1307 167 Major 23 %
$this Is Not For Static Methods Analyze, All 1 1 Major 5 %
Too Many Dereferencing All, Analyze 45 13 Minor 0 %
Too Many Finds All, Analyze 2 2 Minor 6 %
Too Many Injections All, Analyze, Dismell 2 2 Minor 0 %
Wrong Access Style to Property All, Analyze, Level 2, ClassReview, CI-checks 936 150 Critical 3 %
Undefined Classes Analyze, All 1327 313 Major 91 %
Undefined Class Constants Analyze, All, CI-checks 113 60 Major 53 %
Undefined Parent Analyze, All, Simple 3 3 Minor 63 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks 389 61 Major 58 %
Undefined static:: Or self:: Analyze, All, Simple 3 2 Minor 33 %
Undefined ::class All, Analyze, CI-checks 199 51 Major 34 %
Unresolved Catch Dead code, ClearPHP, All 17 11 Major 51 %
Unresolved Classes Analyze, All 324 144 Major 86 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 11 8 Major 48 %
Unused Classes Dead code, All, Simple, Analyze 36 36 Major 72 %
Unused Class Constant All, Analyze, ClassReview 51 20 Minor 0 %
Unused Methods Dead code, All, Simple 4330 760 Minor 95 %
Unused Private Methods Dead code, OneFile, All, Simple 24 17 Minor 45 %
Unused Private Properties Dead code, OneFile, All, Simple 43 40 Minor 37 %
Unused Protected Methods Dead code, All 235 128 Major 72 %
Use Class Operator All, Analyze, Performances, Simple, CI-checks 999 253 Minor 74 %
Use Instanceof Analyze, All, Simple, CI-checks 105 28 Major 63 %
Used Once Property All, Analyze 208 173 Minor 72 %
Useless Constructor Analyze, All, Simple, Level 3 11 11 Minor 38 %
Weak Typing All, Analyze 27 23 Minor 41 %
Illegal Name For Method All, Analyze, OneFile, Simple 2 2 Major 19 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks 139 5 Minor 57 %
Constants With Strange Names Analyze, All, Simple, CI-checks 132 4 Minor 1 %
Constants Created Outside Its Namespace Analyze, All 2 1 Minor 0 %
Invalid Constant Name Analyze, All, Simple 132 4 Major 1 %
Multiple Constant Definition Analyze, All, Simple, CI-checks 93 7 Minor 32 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks 53 14 Minor 54 %
Unused Constants Dead code, All, Simple 17 4 Minor 36 %
Catch Undefined Variable All, Analyze 8 1 Minor 0 %
Undefined Caught Exceptions Dead code, All 15 10 None 50 %
Rethrown Exceptions All, Dead code 8 5 Minor 18 %
Throw Functioncall Analyze, All, Simple, Level 1, CI-checks 59 13 Major 3 %
Uncaught Exceptions Analyze, All 55 40 Minor 81 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple 1 1 Minor 43 %
Useless Catch All, Analyze, CI-checks 3 3 Minor 47 %
ext/mcrypt Appinfo, All, CompatibilityPHP71 19 1 Major 14 %
Missing Include All, Analyze 57 46 Critical 61 %
Aliases Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks 16 9 Minor 42 %
Use Named Boolean In Argument Definition All, Analyze 217 112 Minor 84 %
Callback Needs Return All, Analyze, CI-checks 3 3 Major 51 %
Could Make A Function All, Analyze, Suggestions 675 185 Minor 75 %
Empty Function Analyze, All, Simple 81 70 Minor 71 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 26 18 Major 61 %
Mismatch Parameter And Type All, Analyze, Semantics 3 2 Minor 0 %
Mismatch Parameter Name All, Analyze, CompatibilityPHP80 2 2 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks 117 57 Minor 33 %
Mismatched Typehint All, Analyze, Typechecks 9 6 Major 5 %
Modified Typed Parameter All, Analyze, ClassReview 5 4 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks 2 2 Major 22 %
Never Used Parameter All, Analyze, Suggestions 226 128 Minor 47 %
No Boolean As Default All, Analyze 217 112 Minor 84 %
No Return Used All, Analyze, Suggestions, Level 4 122 50 Minor 41 %
Only Variable Passed By Reference All, Analyze 8 3 Critical 40 %
Relay Function Analyze, All 77 52 Major 83 %
Too Many Local Variables All, Analyze 34 30 Minor 65 %
Typehinted References All, Analyze, CI-checks 2 2 Minor 12 %
Undefined Functions Analyze, All, CI-checks 774 183 Major 71 %
Unused Arguments Analyze, All, Simple 229 115 Major 89 %
Useless Referenced Argument All, Analyze 56 23 Minor 57 %
Useless Return Analyze, OneFile, All, Simple, Level 4 3 3 Minor 29 %
Useless Type Check All, Dead code, OneFile 1 1 Minor 0 %
Uses Default Values Analyze, All, Simple, CI-checks 2269 388 Minor 97 %
Using Deprecated Method All, Analyze 4 3 Minor 0 %
Methods Without Return All, Analyze 1123 454 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks 187 89 Major 38 %
Wrong Optional Parameter Analyze, All, Simple, Level 1, CI-checks 4 4 Minor 38 %
Wrong Returned Type All, Analyze, ClassReview, CI-checks 6 6 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks 244 43 Minor 0 %
Forgotten Interface All, Analyze 5 5 Minor 52 %
Undefined Interfaces Analyze, All, CI-checks 575 197 Major 67 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 3 3 Minor 57 %
Hidden Use Expression Analyze, OneFile, All, Simple, CI-checks 3 1 Minor 24 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks 251 191 Minor 42 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks 11 6 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple 516 334 Major 65 %
Unused Use Dead code, ClearPHP, All, Simple 492 297 Major 54 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks 5 4 Major 55 %
Logical To in_array All, Analyze, Level 2 48 23 Minor 66 %
Memoize MagicCall All, Analyze, ClassReview 317 99 Minor 0 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks 218 93 Minor 74 %
strpos() Too Much All, Analyze, CI-checks 4 1 Minor 46 %
array_key_exists() Works On Arrays All, CompatibilityPHP74, Analyze 35 19 Minor 0 %
Assumptions All, Analyze 50 35 Minor 0 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks 24 12 Major 59 %
Concat And Addition All, Analyze, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP73, CompatibilityPHP54, CompatibilityPHP74, CompatibilityPHP80, CompatibilityPHP55, CompatibilityPHP56, Top10, CI-checks 1 1 Minor 0 %
Deprecated Functions Analyze, All, CI-checks 2 1 Major 22 %
Detect Current Class All, Suggestions, CompatibilityPHP74 47 30 None 47 %
Don't Pollute Global Space All, Analyze 829 525 Minor 0 %
Incompilable Files Analyze, Appinfo, ClearPHP, All, Simple 5 5 Critical 0 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks 37 12 Major 45 %
Is_A() With String All, Analyze, Simple, Rector, CI-checks 1 1 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks 2 1 Minor 52 %
List With Appends CompatibilityPHP70, All 1 1 Minor 2 %
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 85 29 Minor 42 %
Possible Missing Subpattern All, Analyze, Top10, CI-checks 4 3 Minor 40 %
No Class In Global All, Analyze, CI-checks 566 522 Minor 78 %
No More Curly Arrays All, CompatibilityPHP74 10 5 Minor 0 %
PHP 7.0 Scalar Typehints All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 196 92 Critical 31 %
PHP 7.1 Scalar Typehints All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 1 1 Critical 0 %
PHP 7.3 Last Empty Argument All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 4 2 Critical 13 %
PHP 7.2 Deprecations All, CompatibilityPHP72 4 3 Major 1 %
PHP 7.2 Removed Functions All, CompatibilityPHP72 2 1 Major 1 %
Php7 Relaxed Keyword CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Appinfo 8 5 Major 25 %
PHP 8.0 Removed Directives All, CompatibilityPHP80 1 1 Minor 0 %
PHP 8.0 Removed Functions All, CompatibilityPHP80 3 2 Major 0 %
PHP Keywords As Names Analyze, All, Simple 1132 106 Major 89 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks 22 4 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks 46 24 Major 71 %
Trailing Comma In Calls All, CompatibilityPHP53, CompatibilityPHP70, Appinfo, CompatibilityPHP71, CompatibilityPHP72, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 4 2 Minor 0 %
Use Nullable Type All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 113 82 Major 21 %
Avoid Using stdClass All, Analyze, OneFile, Simple, Level 4 93 36 Minor 45 %
Usort Sorting In PHP 7.0 CompatibilityPHP70, All 13 9 Major 46 %
Wrong Type For Native PHP Function All, Analyze, CI-checks 95 42 Minor 0 %
Old Style __autoload() Analyze, OneFile, ClearPHP, All, Simple 2 2 Major 4 %
Always Anchor Regex All, Security 25 17 Major 65 %
Avoid Those Hash Functions Security, All 68 29 Major 60 %
Compare Hash Security, ClearPHP, All 9 3 Major 14 %
Configure Extract All, Security 2 2 Minor 22 %
Direct Injection Security, All 42 17 Major 41 %
Don't Echo Error All, Analyze, Security, Simple, Level 1, CI-checks 3 2 Critical 32 %
Encoded Simple Letters All, Security 65 12 Minor 40 %
filter_input() As A Source All, Security 1 1 Minor 6 %
Indirect Injection Security, All 15 8 Critical 21 %
Integer Conversion All, Security 4 2 Major 0 %
Mkdir Default All, Security 6 6 Major 35 %
No Net For Xml Load All, Security 19 11 Major 49 %
Avoid sleep()/usleep() Security, All 2 1 Minor 39 %
No Weak SSL Crypto All, Security 2 1 Minor 0 %
Set Cookie Safe Arguments All, Security 2 2 Major 23 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks 362 53 Major 22 %
Unserialize Second Arg Security, All 22 17 Critical 49 %
Adding Zero Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 58 21 Minor 33 %
Alternative Syntax Consistence All, Analyze 27 1 Major 20 %
Constant Comparison All, Analyze 5 4 Minor 0 %
Array_merge Needs Array Of Arrays All, Analyze 12 6 Minor 0 %
Same Variable Foreach All, Analyze, CI-checks 2 1 Minor 12 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 67 41 Minor 92 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks 175 65 Minor 76 %
Buried Assignation Analyze, All 312 98 Minor 82 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 54 28 Minor 55 %
Catch Overwrite Variable Analyze, ClearPHP, All, Simple 1 1 Minor 23 %
Check All Types All, Analyze 45 30 Major 68 %
Check JSON All, Analyze, CI-checks 13 6 Major 64 %
Common Alternatives Analyze, All, Simple 174 59 Major 61 %
Concat Empty String All, Analyze, OneFile 11 9 Minor 0 %
Could Be Else All, Analyze 7 6 Minor 48 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks 7 4 Major 56 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks 72 20 Minor 60 %
Dangling Array References PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks 19 14 Major 40 %
Dont Change The Blind Var All, Analyze 17 14 Minor 72 %
Dont Mix ++ All, Analyze 12 6 Minor 43 %
Don't Read And Write In One Expression All, Analyze, CompatibilityPHP73, CompatibilityPHP74 14 9 Critical 38 %
Double Assignation Analyze, All 18 15 Major 55 %
Double Instructions Analyze, All, Simple 10 7 Minor 57 %
Double Object Assignation All, Analyze, ClassReview 3 2 Minor 0 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks 172 62 Minor 70 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions 656 192 Minor 58 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks 164 51 Minor 65 %
Empty Blocks Analyze, All, Simple, CI-checks 60 35 Minor 57 %
Empty Instructions Dead code, Analyze, All, Simple 2222 252 Minor 43 %
Empty Try Catch Analyze, All, Level 3 8 7 Minor 47 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks 68 31 Major 60 %
Switch Fallthrough All, Inventory, Security, Stats 4 4 Minor 37 %
Foreach Reference Is Not Modified Analyze, All, Simple, CI-checks 2 2 Minor 24 %
Overwritten Source And Value All, Analyze, OneFile 2 1 Minor 0 %
Forgotten Whitespace Analyze, All, CI-checks 4 4 Minor 15 %
Global Usage Analyze, Appinfo, ClearPHP, All 11 7 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks 136 55 Major 39 %
Identical Consecutive Expression All, Analyze 21 13 Minor 58 %
If With Same Conditions Analyze, All, Simple, CI-checks 11 9 Major 44 %
Iffectations Analyze, All 521 103 Minor 80 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks 1 1 Major 29 %
Implode() Arguments Order All, Analyze, CI-checks 12 9 Minor 0 %
Inconsistent Elseif All, Analyze 42 22 Major 73 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks 3 1 Major 18 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks 44 14 Minor 37 %
Logical Mistakes Analyze, All, Simple, Level 1, CI-checks 1 1 Critical 31 %
Lone Blocks Analyze, All, Simple, Level 4, CI-checks 3 1 Minor 14 %
Long Arguments All, Analyze 331 97 Minor 67 %
Max Level Of Nesting All, Analyze 57 37 Minor 0 %
Merge If Then All, Analyze, CI-checks 149 66 Minor 0 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4 13 8 Major 62 %
Missing Cases In Switch All, Analyze 11 10 Minor 2 %
Mixed Concat And Interpolation All, Coding Conventions, Analyze 48 32 Minor 43 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 40 30 Minor 56 %
Multiples Identical Case Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 4 3 Minor 10 %
Multiple Type Variable All, Analyze, Level 4 10 9 Minor 43 %
Nested Ifthen Analyze, All, RadwellCodes 345 115 Major 87 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks 5 5 Major 20 %
Don't Change Incomings Analyze, All 7 1 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks 3 2 Major 43 %
No Direct Usage Analyze, All, Simple 2 2 Major 36 %
No Hardcoded Hash Analyze, Security, All, Simple 7 6 Critical 44 %
No Hardcoded Path Analyze, ClearPHP, All, Simple 12 8 Major 33 %
No Hardcoded Port Analyze, ClearPHP, Security, All, Simple 1 1 Minor 11 %
No isset() With empty() All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks 5 5 Minor 28 %
No Need For Else All, Analyze 287 66 Minor 74 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks 342 81 Minor 61 %
Avoid Substr() One Analyze, Performances, All, CompatibilityPHP71, Simple, Level 2, Suggestions, Top10, CI-checks 22 12 Minor 57 %
Variable Is Not A Condition All, Analyze 948 278 Minor 57 %
@ Operator Appinfo, ClearPHP, All, Analyze, Performances, CI-checks 47 26 Minor 66 %
Not Equal Is Not !== All, Analyze, CI-checks 3 3 Minor 0 %
Objects Don't Need References Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks 59 15 Minor 31 %
include_once() Usage Analyze, Appinfo, All 44 34 Minor 73 %
Several Instructions On The Same Line Analyze, All 421 139 Major 57 %
Or Die Analyze, OneFile, ClearPHP, All, Simple, CI-checks 1 1 Minor 13 %
PHP7 Dirname CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Suggestions, php-cs-fixable 1 1 Minor 42 %
Print And Die Analyze, All, Simple, CI-checks 8 6 Minor 29 %
Printf Number Of Arguments All, Analyze, CI-checks 10 3 Minor 42 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks 153 73 Major 49 %
Repeated Regex All, Analyze, Level 1, CI-checks 19 11 Minor 47 %
Return True False Analyze, All, Simple, Level 1, CI-checks 46 33 Major 53 %
Same Conditions In Condition Analyze, All, Simple, CI-checks 22 18 Critical 49 %
Should Chain Exception Analyze, All, Simple, CI-checks 9 2 Minor 36 %
Should Make Ternary All, Analyze, OneFile, Simple, CI-checks 333 140 Minor 85 %
Preprocessable Analyze, All, Rector 332 93 Minor 86 %
Static Loop Analyze, All, Simple, Level 4 27 18 Minor 65 %
strip_tags Skips Closed Tag All, Analyze, CI-checks 1 1 Minor 0 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks 10 6 Major 54 %
Suspicious Comparison All, Analyze, Level 3 22 5 Major 15 %
Switch To Switch Analyze, All, RadwellCodes, Simple 51 12 Minor 79 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks 56 40 Major 68 %
Ternary In Concat Analyze, All, Simple, Level 3, CI-checks 2 1 Critical 3 %
Test Then Cast All, Analyze 3 3 Major 32 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks 14 8 Major 50 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks 7 5 Major 49 %
Unconditional Break In Loop All, Analyze, Level 3, CI-checks 1 1 Major 46 %
Unpreprocessed Values Analyze, OneFile, ClearPHP, All, Simple 2 2 Minor 28 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3 64 19 Major 44 %
Unset In Foreach Dead code, Analyze, OneFile, All, Simple 5 4 Major 34 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80 7 4 Minor 0 %
Unused Global Analyze, All, Simple 5 1 Minor 18 %
Unused Label Dead code, All, Simple 1 1 Minor 1 %
Use Constant PHP recommendations, All, Analyze, php-cs-fixable, CI-checks 7 4 Minor 0 %
Avoid get_class() Analyze, All, Simple, CI-checks 5 2 Minor 32 %
Use Positive Condition All, Analyze, OneFile, Simple 287 134 Minor 81 %
Useless Brackets Analyze, All, RadwellCodes, Simple, CI-checks 3 1 Minor 14 %
Useless Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks 25 12 Minor 37 %
Useless Check All, Analyze, OneFile, Simple, Level 1, CI-checks 7 6 Minor 48 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 38 22 Minor 58 %
Useless Parenthesis Analyze, All, Simple, CI-checks 583 150 Minor 81 %
Useless Switch Analyze, All, Simple 3 3 Major 30 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks 6 5 Major 28 %
var_dump()... Usage Analyze, ClearPHP, Security, All, CI-checks 21 13 Critical 40 %
While(List() = Each()) Analyze, Performances, OneFile, All, Simple, Suggestions, Level 2, CI-checks 2 1 Minor 15 %
Already Parents Trait All, Analyze 1 1 Minor 0 %
Dependant Trait Analyze, All, Level 3 2 2 Minor 26 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks 4 4 Critical 21 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks 9 3 Minor 29 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks 120 48 Minor 47 %
String May Hold A Variable Analyze, All, Simple 10 8 Minor 58 %
Missing Returntype In Method All, Typehints, Analyze, CI-checks 4 4 Minor 0 %
Assigned Twice All, Analyze 806 89 Minor 78 %
Overwritten Literals Analyze, All 1157 91 Major 78 %
Strange Name For Variables All, Analyze 5 2 Minor 28 %
Undefined Variable All, Analyze, CI-checks 2263 209 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 68 48 Minor 87 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 1300 390 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple 651 164 Minor 78 %