PHP Static analysis for wordpress-develop

Label Recipes Issues Files Severity Frequence
Append And Assign Arrays Analyze, Internal, All 25 21 Minor 0 %
Multiple Index Definition Analyze, OneFile, All, Simple, Rector, CI-checks, CE 2 1 Minor 33 %
Non-constant Index In Array Analyze, All, Simple 2 1 Minor 14 %
Null Or Boolean Arrays Analyze, All 393 62 Minor 0 %
Randomly Sorted Arrays Analyze, All, Suggestions, Level 4 288 56 Minor 41 %
Too Many Array Dimensions Analyze, All 837 65 Minor 0 %
Weak Type With Array Analyze, All 5199 344 Minor 0 %
Abstract Or Implements Analyze, All, LintButWontExec 1 1 Major 24 %
Access Protected Structures Analyze, All, Simple, IsPHP, IsStub, IsExt 5 4 Major 17 %
Ambiguous Static Analyze, All, Semantics 349 203 Minor 66 %
Ambiguous Visibilities Analyze, All, Semantics 479 263 Minor 70 %
Avoid option arrays in constructors Analyze, All, ClassReview 14 14 Minor 0 %
Avoid Optional Properties Analyze, All 409 130 Major 84 %
Class, Interface, Enum Or Trait With Identical Names Analyze, All 2 2 Minor 19 %
Clone With Non-Object Analyze, All, LintButWontExec 3 3 Minor 33 %
Could Be Abstract Class Analyze, All, ClassReview 44 42 Minor 65 %
Class Could Be Final Analyze, All, ClassReview 400 383 Minor 96 %
Method Could Be Static Analyze, All, ClassReview 863 254 Minor 92 %
Could Inject Parameter Analyze, All, ClassReview 190 100 Minor 0 %
Cyclic References Analyze, All, ClassReview 10 7 Minor 0 %
Different Argument Counts Analyze, All, ClassReview 19 12 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 19 12 Major 43 %
Don't Send $this In Constructor Analyze, All 9 9 Minor 41 %
Don't Unset Properties Analyze, All, Top10, php-cs-fixable, CI-checks, CE 52 24 Major 42 %
Empty Classes Analyze, All, Simple 34 32 Minor 60 %
Hidden Nullable Typehint Analyze, All, ClassReview 670 184 Minor 0 %
Incompatible Signature Methods With Covariance Analyze, All 46 37 Critical 0 %
Locally Unused Property Dead code, All, Simple, Unused 397 130 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 146 65 Minor 71 %
Make Global A Property Analyze, All, Simple 286 93 Minor 37 %
Method Signature Must Be Compatible Analyze, All, LintButWontExec 22 14 Critical 53 %
Multiple Class Declarations Analyze, All, Simple, CI-checks, CE 4 2 Major 29 %
New Object Then Immediate Call Analyze, All, ClassReview 209 102 Minor 0 %
self, parent, static Outside Class Analyze, All, LintButWontExec 1 1 Major 8 %
No Public Access Analyze, All 432 125 Minor 61 %
Non Nullable Getters Analyze, All, ClassReview 1 1 Minor 0 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 687 47 Minor 42 %
Var Keyword Analyze, OneFile, ClearPHP, All, Simple, Level 1 359 42 Minor 4 %
Parent First Analyze, All, Suggestions 42 41 Minor 56 %
Property Could Be Local Analyze, All, ClassReview 68 46 Minor 76 %
Same Name For Property And Method Analyze, All, ClassReview, Semantics 185 33 Minor 0 %
Never Used Properties Analyze, All, Simple, Unused 218 51 Minor 71 %
Property Used In One Method Only Analyze, All 408 145 Minor 84 %
Scalar Or Object Property Analyze, All 14 10 Minor 32 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 311 40 Minor 63 %
Should Use Local Class Analyze, ClearPHP, All, Simple 1219 265 Minor 95 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 180 14 Minor 50 %
Too Many Dereferencing Analyze, All 42 3 Minor 0 %
Undefined Classes Analyze, All, Stubs, Undefined 64 27 Major 91 %
Undefined Parent Analyze, All, Simple, Undefined 1 1 Minor 45 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CE, CompatibilityPHP82, ChangedBehavior, Undefined 1572 225 Major 61 %
Unfinished Object Analyze, All, ClassReview 247 84 Major 0 %
Unreachable Method Analyze, Dead code, All, ClassReview, Unused 33 9 Minor 0 %
Unresolved Classes Analyze, All, Stubs 10 8 Major 76 %
Unused Classes Analyze, Dead code, All, Simple, Unused 32 31 Major 67 %
Unused Class Constant Analyze, All, ClassReview, Unused 142 13 Minor 0 %
Unused Methods Dead code, All, Simple, Unused 1568 326 Minor 96 %
Unused Private Methods Dead code, OneFile, All, Simple, Unused 13 10 Minor 50 %
Unused Private Properties Dead code, OneFile, All, Simple, Unused 2 2 Minor 51 %
Unused Protected Methods Dead code, All, Unused 64 38 Major 68 %
Unused Public Methods Analyze, All 1044 298 Minor 0 %
Use ::Class Operator Analyze, Performances, All, Simple, CI-checks, CE 623 221 Minor 71 %
Use Instanceof Analyze, All, Simple, CI-checks, CE 152 75 Major 63 %
Used Once Property Analyze, All 15 8 Minor 74 %
Useless Abstract Class Analyze, All, Simple 9 9 Minor 33 %
Useless Constructor Analyze, All, Simple, Level 3 7 7 Minor 41 %
Useless Method Analyze, All 3 2 Minor 0 %
Weak Typing Analyze, All 77 23 Minor 47 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 590 72 Minor 54 %
Multiple Constant Definition Analyze, All, Simple, CI-checks, CE 149 54 Minor 41 %
Undefined Constants stubs 770 47 Minor 71 %
Unused Constants Dead code, All, Simple, Unused 168 12 Minor 39 %
Could Be A Constant All, Dump 4050 462 Minor 0 %
Catch With Undefined Variable Analyze, All, Undefined 6 2 Minor 0 %
Undefined Caught Exceptions Dead code, All 1 1 None 53 %
Caught Exceptions All, Dump 131 34 None 100 %
Converted Exceptions Analyze, All 1 1 Minor 0 %
Could Drop Variable Dead code, All, Suggestions 82 16 Minor 0 %
Forgotten Thrown Analyze, All 2 2 Minor 20 %
Rethrown Exceptions Dead code, All 1 1 Minor 20 %
Throw Raw Exceptions Analyze, All, Suggestions 208 46 Minor 0 %
Uncaught Exceptions Analyze, All 210 47 Minor 84 %
Unthrown Exception Analyze, Dead code, ClearPHP, All, Simple 38 38 Minor 45 %
Useless Catch Analyze, All, CI-checks, CE 20 8 Minor 44 %
Useless Try Analyze, All 31 15 Minor 0 %
Missing Include Analyze, All 1131 241 Critical 65 %
Native Alias Functions Usage Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 108 16 Minor 20 %
Use Named Boolean In Argument Definition Analyze, All 659 189 Minor 84 %
Callback Function Needs Return Analyze, All, CI-checks, CE 20 14 Major 42 %
Can't Call Generator Analyze, All 13 1 Minor 0 %
Cancelled Parameter Analyze, All 13 11 Minor 0 %
Could Make A Function Analyze, All, Suggestions 16184 1137 Minor 66 %
Deep Definitions Analyze, Appinfo, All, Simple, CE 148 28 Major 13 %
Don't Collect Void Analyze, All, IsPHP, IsStub, IsExt 17741 902 Minor 0 %
Empty Function Analyze, All, Simple 87 36 Minor 74 %
Hardcoded Passwords Analyze, Security, OneFile, All, Simple, Level 3 266 68 Major 70 %
Method Is Not An If Analyze, All 234 137 Minor 0 %
Mismatch Parameter Name Analyze, All, CompatibilityPHP80, CE, ChangedBehavior 13 12 Minor 0 %
Mismatched Default Arguments Analyze, All, Typechecks 701 132 Minor 80 %
Mismatched Typehint Analyze, All, Typechecks 602 118 Major 66 %
Modified Typed Parameter Analyze, All, ClassReview 47 14 Minor 0 %
Must Return Methods Analyze, All, Simple, Level 2, LintButWontExec, CI-checks, CE 5 4 Major 34 %
Never Called Parameter Analyze, All, Suggestions, Rector, Unused 334 134 Minor 92 %
No Boolean As Default Analyze, All 811 218 Minor 84 %
No Default For Referenced Parameter Analyze, All 10 9 Minor 0 %
No Referenced Void Analyze, All, CompatibilityPHP81, Deprecated 1 1 Minor 0 %
No Return Used Analyze, All, Suggestions, Level 4 63 38 Minor 69 %
Only Variable For Reference Analyze, All, LintButWontExec 2 1 Critical 20 %
Redeclared PHP Functions Analyze, Appinfo, All, Simple, CI-checks, CE 115 5 Minor 26 %
Relay Function Analyze, All 240 98 Major 84 %
Retyped Reference Analyze, All, Typehints 12 10 Major 0 %
Too Many Local Variables Analyze, All 299 170 Minor 64 %
Class-typed References Analyze, All, CI-checks, CE 1 1 Minor 37 %
Undefined Functions stubs 28 16 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 484 199 Major 90 %
Unused Functions Dead code, All, Simple, Unused 693 92 Minor 52 %
Unused Returned Value Analyze, Dead code, OneFile, All, Simple, Unused 7220 794 Minor 41 %
Use Constant As Arguments Analyze, All, Simple, CI-checks, CE 5 5 Major 30 %
Useless Argument Analyze, All 1050 316 Minor 0 %
Useless Referenced Argument Analyze, All 58 37 Minor 58 %
Useless Return Analyze, OneFile, All, Simple, Level 4 4 4 Minor 30 %
Useless Type Check Dead code, OneFile, All 1 1 Minor 0 %
Uses Default Values Analyze, All, Simple, CI-checks, CE, IsPHP, IsStub, IsExt 45621 1176 Minor 98 %
Using Deprecated Method Analyze, All, Attributes 277 62 Minor 0 %
Wrong Argument Type Analyze, All, Typechecks 34115 1131 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, CE, Stubs, IsPHP, IsStub, IsExt 17899 912 Major 81 %
Wrong Type Returned Analyze, All, LintButWontExec, ClassReview, CI-checks, CE 4911 541 Minor 0 %
Wrong Type With Call Analyze, All, Typechecks, CI-checks, CE 38500 1198 Minor 0 %
Forgotten Interface Analyze, All 37 37 Minor 48 %
Interfaces Is Not Implemented Analyze, All, LintButWontExec, ClassReview, CI-checks, CE, IsPHP, IsStub, IsExt 2 2 Minor 0 %
Undefined Interfaces Analyze, All, LintButWontExec, CI-checks, CE, IsPHP, IsStub, IsExt, Undefined 1 1 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 4 4 Minor 59 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 38 38 Minor 44 %
No array_merge() In Loops Analyze, Performances, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 72 50 Major 57 %
Logical To in_array Analyze, All, Level 2 282 108 Minor 67 %
Memoize MagicCall Analyze, All, ClassReview 10 8 Minor 0 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks, CE 470 108 Minor 74 %
strpos() Too Much Analyze, All, CI-checks, CE 22 13 Minor 49 %
array_key_exists() Works On Arrays Analyze, All, CompatibilityPHP74, CE 176 69 Minor 0 %
Assumptions Analyze, All 46 33 Minor 0 %
Avoid get_object_vars() All, CompatibilityPHP74, CompatibilityPHP80 56 34 Minor 0 %
Avoid mb_dectect_encoding() Analyze, All 1 1 Minor 0 %
Use random_int() Analyze, Security, CompatibilityPHP71, All, Simple, Level 2, CI-checks, CE 43 18 Major 59 %
Clone Constant Analyze, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, LintButWontExec, CompatibilityPHP74, CompatibilityPHP80 2 1 Minor 0 %
Comparison On Different Types All, Dump 4 4 Minor 0 %
Constant Scalar Expression Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All 1846 427 Major 0 %
Deprecated PHP Functions Analyze, All, CI-checks, CE 3 3 Major 23 %
Don't Pollute Global Space Analyze, All 5974 776 Minor 0 %
False To Array Conversion Analyze, All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82 1102 89 Minor 0 %
Wrong fopen() Mode Analyze, All, CI-checks, CE 1 1 Major 17 %
idn_to_ascii() New Default All, CompatibilityPHP74, CE 1 1 Minor 2 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, CE 103 42 Major 76 %
Is_A() With String Analyze, All, Simple, Rector, CI-checks, CE 1 1 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, CE 125 72 Minor 53 %
PHP Native Interfaces and Return Type Analyze, All, LintButWontExec, CompatibilityPHP81, Deprecated 7 2 Minor 0 %
List With Keys Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, CompatibilityPHP53, CompatibilityPHP70, All, CE, ChangedBehavior 9 7 Major 34 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks, CE 52 5 Minor 43 %
Possible Missing Subpattern Analyze, All, Top10, CI-checks, CE 43 30 Minor 45 %
PHP Native Class Type Compatibility Analyze, All, CompatibilityPHP81 13 2 Major 0 %
No Class In Global Analyze, All, CI-checks, CE 4920 745 Minor 77 %
No Null For Native PHP Functions Analyze, All, CompatibilityPHP81, Deprecated 116 53 Minor 0 %
Only Variable Passed By Reference Analyze, All, LintButWontExec 6 5 Minor 0 %
PHP 7.4 Removed Functions All, CompatibilityPHP74, CE 1 1 Critical 0 %
PHP 80 Named Parameter Variadic All, CompatibilityPHP80, CE 8 6 Minor 0 %
Php 8.0 Only TypeHints Appinfo, CompatibilityPHP56, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP72, All, CompatibilityPHP73, CompatibilityPHP74, CE 1 1 Minor 0 %
PHP 8.0 Removed Directives All, CompatibilityPHP80, CE, CompatibilityPHP81 6 5 Minor 0 %
PHP 8.0 Resources Turned Into Objects All, CompatibilityPHP80, CE 1 1 Major 0 %
PHP 8.1 Removed Directives All, CompatibilityPHP81 1 1 Minor 0 %
$HTTP_RAW_POST_DATA Usage Appinfo, CompatibilityPHP56, All, CE 9 2 Major 3 %
Scalar Are Not Arrays Analyze, All, CompatibilityPHP74, CI-checks, CE 2383 142 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 712 187 Major 71 %
String Int Comparison All, CompatibilityPHP80, ChangedBehavior 68 27 Minor 0 %
Strtr Arguments Analyze, All, CI-checks, CE 2 2 Major 7 %
Too Many Native Calls Analyze, All, IsPHP, IsExt 16 14 Minor 49 %
Unknown Pcre2 Option Analyze, All, CompatibilityPHP73 2 2 Minor 17 %
Use Nullable Type Appinfo, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, CompatibilityPHP70, All, CE 49 16 Major 90 %
Use PHP Object API Analyze, ClearPHP, All, Simple, CI-checks, CE 12 4 Minor 27 %
Avoid Using stdClass Analyze, OneFile, All, Simple, Level 4 65 43 Minor 46 %
Wrong Type For Native PHP Function Analyze, All, CI-checks, CE 3273 593 Minor 0 %
Always Anchor Regex Security, All 201 80 Major 65 %
Avoid Those Hash Functions Security, All 128 72 Major 62 %
Configure Extract Security, All 1 1 Minor 25 %
Safe Curl Options Security, All 5 2 Major 15 %
Direct Injection Security, All 80 49 Major 51 %
Don't Echo Error Analyze, Security, All, Simple, Level 1, CI-checks, CE 3 3 Critical 35 %
Dynamic Library Loading Security, All 1 1 Major 4 %
Encoded Simple Letters Security, All 111 26 Minor 41 %
Incompatible Types With Incoming Values Security, All 528 116 Minor 0 %
Indirect Injection Security, All 1516 314 Critical 42 %
Insecure Integer Validation Security, All 21 9 Major 0 %
Keep Files Access Restricted Security, All 6 2 Minor 0 %
Mkdir Default Security, All 2 2 Major 37 %
move_uploaded_file Instead Of copy Security, All 1 1 Major 3 %
No ENT_IGNORE Security, All 1 1 Minor 0 %
No Net For Xml Load Security, All 9 7 Major 51 %
Avoid sleep()/usleep() Security, All 3 3 Minor 41 %
No Weak SSL Crypto Security, All 5 4 Minor 0 %
Set Cookie Safe Arguments Security, All 33 6 Major 25 %
Should Use Prepared Statement Analyze, Security, All, Simple, CI-checks, CE 30 9 Major 28 %
Should Use session_regenerateid() Security, All 1 1 Major 18 %
Unserialize Second Arg Security, All 13 12 Critical 50 %
Adding Zero Dump 31 13 Minor 69 %
Altering Foreach Without Reference Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 65 44 Major 56 %
Alternative Syntax Consistence Analyze, All 211 1 Major 21 %
Comparison Is Always The Same Analyze, All 291 110 Minor 0 %
Array Access On Literal Array Analyze, All, Semantics 3 1 Minor 0 %
Array_merge Needs Array Of Arrays Analyze, All 227 102 Minor 0 %
Bail Out Early Analyze, OneFile, All, Simple, Level 4 920 313 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 111 36 Minor 77 %
Buried Assignation Analyze, All 207 55 Minor 84 %
Cast To Boolean Analyze, OneFile, All, Simple, Level 1 55 35 Minor 56 %
Check All Types Analyze, All 247 109 Major 69 %
Check Division By Zero Analyze, All 142 59 Minor 0 %
Check JSON Analyze, All, CI-checks, CE 45 33 Major 65 %
Common Alternatives Analyze, All, Simple 283 98 Major 80 %
Concat Empty String Analyze, OneFile, All 49 15 Minor 0 %
Could Be Else Analyze, All 37 28 Minor 49 %
Could Be Spaceship Analyze, All, Suggestions 1 1 Minor 0 %
Could Be A Static Variable Analyze, OneFile, All, ClassReview 26 17 Major 23 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, CE 30 14 Major 56 %
Could Use Short Assignation Analyze, Performances, OneFile, All, Simple, Rector, CI-checks, CE 77 34 Minor 63 %
Could Use str_repeat() Analyze, All, Level 1, Top10, CI-checks, CE 3 3 Minor 14 %
Dangling Array References Analyze, PHP recommendations, ClearPHP, All, Simple, Level 1, Top10, CI-checks, CE 32 25 Major 46 %
Default Then Discard Analyze, All, Readability 3 2 Minor 0 %
Don't Change The Blind Var Analyze, All 189 113 Minor 73 %
Don't Mix ++ Analyze, All 107 34 Minor 56 %
Don't Read And Write In One Expression Analyze, All, CompatibilityPHP73, CompatibilityPHP74, CE 8 4 Critical 38 %
Don't Reuse Foreach Source Analyze, All 2 2 Minor 0 %
Double Assignation Analyze, All 105 66 Major 59 %
Double Checks Analyze, All 186 79 Minor 0 %
Double Instructions Analyze, All, Simple 32 15 Minor 57 %
Drop Else After Return Analyze, OneFile, All, Simple, Suggestions, Level 4, CI-checks, CE 309 114 Minor 70 %
Echo With Concat Analyze, Performances, All, Simple, Suggestions 536 147 Minor 60 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 172 81 Minor 66 %
Empty Blocks Analyze, All, Simple, CI-checks, CE 67 22 Minor 51 %
Empty Loop Analyze, All 5 2 Major 0 %
Empty Try Catch Analyze, All, Level 3 3 3 Minor 49 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 349 120 Major 61 %
Switch Fallthrough Inventory, Security, All, Stats 10 9 Minor 39 %
Foreach Reference Is Not Modified Analyze, All, Simple, CI-checks, CE 3 2 Minor 24 %
Overwritten Source And Value Analyze, OneFile, All 1 1 Minor 0 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE 1819 266 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks, CE 39 18 Major 40 %
Htmlentities Using Default Flag Analyze, All, Simple, CI-checks, ChangedBehavior 44 20 Minor 0 %
Identical Case In Switch Analyze, All 114 23 Minor 0 %
Identical Conditions Analyze, All, Simple, CI-checks, CE 15 5 Critical 28 %
Identical Consecutive Expression Analyze, All 79 28 Minor 59 %
If With Same Conditions Analyze, All, Simple, CI-checks, CE 59 42 Major 47 %
Iffectations Analyze, All 393 38 Minor 80 %
Implicit Conversion To Int Analyze, All, LintButWontExec 4 3 Minor 0 %
Implied If Analyze, ClearPHP, All, Simple, Rector, CI-checks, CE 27 1 Major 33 %
Implode() Arguments Order Analyze, All, CI-checks, CE, ChangedBehavior 14 10 Minor 0 %
Indices Are Int Or String Analyze, OneFile, All, Simple, CI-checks, CE 12 2 Major 20 %
Infinite Recursion Analyze, All 18 13 Major 0 %
Invalid Pack Format Analyze, All, CI-checks, CE 4 2 Major 0 %
Invalid Regex Analyze, All, CI-checks, CE 1 1 Major 37 %
Is Actually Zero Analyze, All, Level 2, CI-checks, CE 4 3 Minor 18 %
list() May Omit Variables Analyze, All, Simple, Suggestions, Level 3, CI-checks, CE 36 20 Minor 37 %
Logical Mistakes Analyze, All, Simple, Level 1, CI-checks, CE 7 7 Critical 32 %
Long Arguments Analyze, All 1423 322 Minor 68 %
Max Level Of Nesting Analyze, All 226 121 Minor 0 %
Merge If Then Analyze, All, CI-checks, CE 648 233 Minor 0 %
Mismatched Ternary Alternatives Analyze, All, Suggestions, Level 4 43 26 Major 64 %
Missing Assignation In Command Analyze, All 1706 382 Minor 0 %
Missing Cases In Switch Analyze, All 23 15 Minor 36 %
Maybe Missing New Analyze, All 574 2 Critical 57 %
Mixed Concat And Interpolation Analyze, Coding Conventions, All 74 30 Minor 45 %
Modernize Empty With Expression Analyze, OneFile, All, Simple 1321 191 Minor 63 %
Multiples Identical Case Analyze, OneFile, ClearPHP, All, Simple, Level 1, Rector, CI-checks, CE 28 5 Minor 29 %
Multiple Type Cases In Switch All, CompatibilityPHP80 1 1 Minor 0 %
Multiple Type Variable Analyze, All, Level 4 115 60 Minor 58 %
Multiply By One Dump, Dum p 9 5 Minor 44 %
Nested Ifthen Analyze, All, RadwellCodes 1173 287 Major 84 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 24 14 Major 50 %
Next Month Trap Analyze, All, Top10, CI-checks, CE 2 2 Major 8 %
Don't Change Incomings Analyze, All 163 49 Minor 44 %
No Choice Analyze, All, Simple, Level 2, Top10, Rector, CI-checks, CE 10 7 Major 42 %
No Direct Usage Analyze, All, Simple 6 4 Major 39 %
No Hardcoded Hash Analyze, Security, All, Simple 27 8 Critical 45 %
No Hardcoded Ip Analyze, Security, ClearPHP, All, Simple 1 1 Minor 25 %
No Hardcoded Path Analyze, ClearPHP, All, Simple 1 1 Major 35 %
No isset() With empty() Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE 13 13 Minor 30 %
No Max On Empty Array All, CompatibilityPHP80, ChangedBehavior 56 37 Minor 0 %
No Need For Else Analyze, All 351 125 Minor 74 %
No Need For Triple Equal Analyze, All 32 21 Minor 0 %
No Null For Index Analyze, All 6 2 Minor 0 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE 188 60 Minor 62 %
Avoid Substr() One Analyze, Performances, CompatibilityPHP71, All, Simple, Suggestions, Level 2, Top10, CI-checks, CE 336 37 Minor 58 %
No Valid Cast Analyze, All 3 2 Minor 0 %
Variable Is Not A Condition Analyze, All 4798 551 Minor 93 %
Non Integer Nor String As Index Analyze, All 50 17 Minor 0 %
@ Operator Analyze, Appinfo, Performances, ClearPHP, All, CI-checks, CE 380 60 Minor 65 %
Not Not Analyze, OneFile, All, Simple, CI-checks, CE 2 1 Minor 14 %
Objects Don't Need References Analyze, OneFile, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 74 3 Minor 40 %
include_once() Usage Analyze, Appinfo, All, CE 866 258 Minor 73 %
Several Instructions On The Same Line Analyze, All 609 196 Major 56 %
Only First Byte Analyze, All, ChangedBehavior 9 5 Minor 0 %
Overwritten Foreach Var Analyze, OneFile, All 6 6 Major 0 %
PHP7 Dirname CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, CompatibilityPHP53, All, Suggestions, php-cs-fixable 12 10 Minor 44 %
Phpinfo Security, OneFile, All, Simple 1 1 Major 16 %
Print And Die Analyze, All, Simple, CI-checks, CE 8 8 Minor 32 %
Printf Number Of Arguments Analyze, All, CI-checks, CE 6 4 Minor 41 %
Random Without Try Security, All 24 6 Critical 30 %
Repeated print() Analyze, All, Simple, Suggestions, Level 3, Top10, CI-checks, CE 118 65 Major 50 %
Repeated Regex Analyze, All, Level 1, CI-checks, CE 290 109 Minor 47 %
Results May Be Missing Analyze, All, Simple, CI-checks, CE 4 3 Major 24 %
Return True False Analyze, All, Simple, Level 1, CI-checks, CE 48 28 Major 46 %
Same Conditions In Condition Analyze, All, Simple, CI-checks, CE 51 44 Critical 55 %
Should Chain Exception Analyze, All, Simple, CI-checks, CE 1 1 Minor 39 %
Should Use Ternary Operator Analyze, OneFile, All, Simple, CI-checks, CE 1139 314 Minor 86 %
Preprocessable Analyze, All, Rector 3291 462 Minor 85 %
Should Use Explode Args Analyze, All, CI-checks, CE 1 1 Minor 0 %
Static Loop Analyze, All, Simple, Level 4 196 137 Minor 67 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks, CE 31 23 Major 54 %
Suspicious Comparison Analyze, All, Level 3 15 7 Major 39 %
Switch To Switch Analyze, All, RadwellCodes, Simple 90 56 Minor 58 %
Switch Without Default Analyze, ClearPHP, All, Simple, CI-checks, CE 172 100 Major 69 %
Test Then Cast Analyze, All 20 15 Major 34 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, CE 106 42 Major 49 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks, CE 17 13 Major 50 %
Unconditional Break In Loop Analyze, All, Level 3, CI-checks, CE 45 35 Major 48 %
Unpreprocessed Values Analyze, Performances, OneFile, ClearPHP, All, Simple 4 3 Minor 30 %
Unreachable Code Dead code, OneFile, ClearPHP, All, Simple, Suggestions, Level 3, Unused 256 103 Major 61 %
Unset In Foreach Analyze, Dead code, OneFile, All, Simple 1 1 Major 15 %
Unsupported Operand Types Analyze, PHP recommendations, All 1 1 Minor 0 %
Unsupported Types With Operators Analyze, All, CompatibilityPHP80, CE 503 191 Minor 0 %
Unused Global Analyze, All, Simple, Unused 34 1 Minor 22 %
Unused Label Dead code, All, Simple, Unused, ChangedBehavior 1 1 Minor 1 %
Use Constant Instead Of Function Analyze, PHP recommendations, All, php-cs-fixable, CI-checks, CE 30 14 Minor 61 %
Use Positive Condition Analyze, OneFile, All, Simple 485 205 Minor 82 %
Use Same Types For Comparisons Analyze, All 13 9 Minor 0 %
Use Variable Created Inside Loop Dead code, All 272 111 Minor 0 %
Useless Type Casting Analyze, PHP recommendations, OneFile, All, RadwellCodes, Simple, Level 4, CI-checks, CE 232 86 Minor 47 %
Useless Check Analyze, OneFile, All, Simple, Level 1, CI-checks, CE 10 7 Minor 35 %
Useless Global Analyze, OneFile, All, Simple, Level 2 43 22 Minor 27 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 41 23 Minor 63 %
Useless Null Coalesce Analyze, All, Typehints 1 1 Minor 0 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 962 198 Minor 81 %
Useless Switch Analyze, All, Simple 12 10 Major 32 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks, CE 25 16 Major 42 %
Wrong Locale Analyze, All, Semantics 1 1 Major 0 %
Wrong Precedence In Expression Analyze, All, ChangedBehavior 4 4 Minor 0 %
Wrong Range Check Analyze, All 6 3 Major 11 %
No Real Comparison Analyze, PHP recommendations, All, Simple, Level 2, Top10, CI-checks, CE 3 2 Major 26 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks, CE 12 10 Minor 33 %
Should Typecast Analyze, OneFile, All, Simple, Rector, CI-checks, CE 84 18 Minor 49 %
String May Hold A Variable Analyze, All, Simple 268 74 Minor 59 %
Strings With Strange Space Analyze, All, CI-checks, CE 1 1 Minor 21 %
Missing Some Returntype Analyze, All, Typehints, CI-checks, CE 312 117 Minor 0 %
StandaloneType True False Null Analyze, Appcontent, All 1 1 Minor 0 %
Wrong Type With Default Analyze, All, LintButWontExec, ClassReview 3345 436 Minor 0 %
Assigned Twice Analyze, All 2460 226 Minor 79 %
Lost References Analyze, All, Simple 1 1 Major 14 %
Overwritten Literals Analyze, All 3257 228 Major 79 %
Recycled Variables Analyze, All 66 16 Minor 0 %
Undefined Variable Analyze, All, CI-checks, CE, Undefined 6597 290 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 248 63 Minor 74 %
Used Once Variables (In Scope) Analyze, OneFile, ClearPHP, All, Simple, Level 4, CE 1962 388 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 357 106 Minor 87 %