Concentrated issues

Here is the list of the lines that generated the most issues.

File Count Analysis
/class/class-mainwp-ui.php:34631
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Common Alternatives
  •   Undefined Functions
  •   Variable Is Not A Condition
  •   Empty Instructions
/class/class-mainwp-ui.php:26927
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Common Alternatives
  •   Variable Is Not A Condition
  •   Empty Instructions
/class/class-mainwp-ui.php:34518
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Common Alternatives
  •   Undefined Functions
  •   Variable Is Not A Condition
  •   Empty Instructions
/class/class-mainwp-ui.php:26816
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Common Alternatives
  •   Undefined Functions
  •   Variable Is Not A Condition
  •   Empty Instructions
/widgets/widget-mainwp-backup-tasks.php:11516
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Nested Ternary
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Preprocessable
/widgets/widget-mainwp-notes.php:8114
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Common Alternatives
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
/pages/page-mainwp-page.php:106313
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
  •   Avoid Substr() One
/widgets/widget-mainwp-recent-pages.php:23713
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
  •   Avoid Substr() One
/class/class-mainwp-manage-sites-list-table.php:141512
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/class/class-mainwp-manage-sites-list-table.php:174712
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/class/class-mainwp-monitoring-sites-list-table.php:91912
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/class/class-mainwp-monitoring-sites-list-table.php:106412
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/widgets/widget-mainwp-connection-status.php:46412
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/widgets/widget-mainwp-connection-status.php:52612
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/class/class-mainwp-connect.php:46611
  •   Wrong Optional Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Useless Referenced Argument
  •   Max Level Of Nesting
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/class/class-mainwp-extensions-view.php:33611
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Could Make A Function
  •   Variable Is Not A Condition
  •   Empty Instructions
/class/class-mainwp-manage-sites-view.php:121711
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/pages/page-mainwp-post.php:124611
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
  •   Avoid Substr() One
/pages/page-mainwp-server-information.php:89711
  •   No Parenthesis For Language Construct
  •   Undefined Functions
  •   Wrong Parameter Type
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/pages/page-mainwp-server-information.php:93011
  •   No Parenthesis For Language Construct
  •   Undefined Functions
  •   Wrong Parameter Type
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-posts.php:24411
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
  •   Avoid Substr() One
/class/class-mainwp-extensions-view.php:29310
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   Could Make A Function
  •   No isset() With empty()
  •   Empty Instructions
  •   Echo With Concat
/class/class-mainwp-hooks.php:46110
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
/class/class-mainwp-manage-sites-view.php:121410
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-pages.php:22210
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-pages.php:31910
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-pages.php:41510
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-pages.php:51010
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-posts.php:22910
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-posts.php:32410
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-posts.php:41810
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/widgets/widget-mainwp-recent-posts.php:51110
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Use Constants
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/class/class-mainwp-hooks.php:7059
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
/class/class-mainwp-post-plugin-theme-handler.php:4509
  •   PHP Keywords As Names
  •   Buried Assignation
  •   Overwritten Literals
  •   Undefined Functions
  •   Written Only Variables
  •   Could Make A Function
  •   Assigned Twice
  •   Exit() Usage
/class/class-mainwp-post-plugin-theme-handler.php:4549
  •   PHP Keywords As Names
  •   Buried Assignation
  •   Overwritten Literals
  •   Undefined Functions
  •   Written Only Variables
  •   Could Make A Function
  •   Assigned Twice
  •   Exit() Usage
/class/class-mainwp-post-plugin-theme-handler.php:4589
  •   PHP Keywords As Names
  •   Buried Assignation
  •   Overwritten Literals
  •   Undefined Functions
  •   Written Only Variables
  •   Could Make A Function
  •   Assigned Twice
  •   Exit() Usage
/class/class-mainwp-ui.php:1059
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
/pages/page-mainwp-plugins.php:15419
  •   Strict Comparison With Booleans
  •   Uses Default Values
  •   Useless Parenthesis
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/pages/page-mainwp-themes.php:15659
  •   Strict Comparison With Booleans
  •   Uses Default Values
  •   Useless Parenthesis
  •   Undefined Functions
  •   Could Make A Function
  •   Wrong Type For Native PHP Function
  •   Empty Instructions
/pages/page-mainwp-updates-per-group.php:2669
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
/pages/page-mainwp-updates-per-group.php:4629
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
/widgets/widget-mainwp-connection-status.php:2459
  •   Several Instructions On The Same Line
  •   Common Alternatives
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
/widgets/widget-mainwp-connection-status.php:4609
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/widgets/widget-mainwp-connection-status.php:5889
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/widgets/widget-mainwp-widget-plugins.php:1859
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   __DIR__ Then Slash
  •   Empty Instructions
  •   Echo With Concat
/class/class-mainwp-hooks.php:5568
  •   Used Once Variables (In Scope)
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Method Could Be Static
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Typehint
/class/class-mainwp-manage-sites-list-table.php:15428
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/class/class-mainwp-manage-sites-update-view.php:4878
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   __DIR__ Then Slash
  •   Empty Instructions
  •   Echo With Concat
/class/class-mainwp-post-plugin-theme-handler.php:4168
  •   Used Once Variables (In Scope)
  •   PHP Keywords As Names
  •   Buried Assignation
  •   Undefined Functions
  •   Written Only Variables
  •   Could Make A Function
  •   Exit() Usage
/class/class-mainwp-sync.php:288
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Typehinted References
  •   Max Level Of Nesting
  •   Mismatched Default Arguments
  •   Mismatched Typehint
  •   Objects Don't Need References
/class/class-mainwp-system-view.php:6768
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Variable Is Not A Condition
  •   Empty Instructions
/class/class-mainwp-system-view.php:6938
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Variable Is Not A Condition
  •   Empty Instructions
/class/class-mainwp-ui.php:438
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   PHP Keywords As Names
  •   Unused Arguments
  •   No Boolean As Default
  •   Ambiguous Static
  •   Use Named Boolean In Argument Definition
/pages/page-mainwp-manage-sites.php:9688
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
/pages/page-mainwp-updates-per-group.php:1348
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Cast To Boolean
  •   Empty Instructions
/pages/page-mainwp-updates-per-group.php:3308
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Cast To Boolean
  •   Empty Instructions
/pages/page-mainwp-updates-per-group.php:5268
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Cast To Boolean
  •   Empty Instructions
/pages/page-mainwp-updates-per-group.php:6678
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Cast To Boolean
  •   Empty Instructions
/pages/page-mainwp-updates-per-group.php:7878
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   __DIR__ Then Slash
  •   Empty Instructions
  •   Echo With Concat
/pages/page-mainwp-updates-per-item.php:4788
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   __DIR__ Then Slash
  •   Empty Instructions
  •   Echo With Concat
/pages/page-mainwp-updates-per-site.php:5868
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   __DIR__ Then Slash
  •   Empty Instructions
  •   Echo With Concat
/widgets/widget-mainwp-widget-plugins.php:2418
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Undefined Functions
  •   __DIR__ Then Slash
  •   Empty Instructions
  •   Echo With Concat
/class/class-mainwp-format.php:1797
  •   Used Once Variables (In Scope)
  •   Wrong Optional Parameter
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/class/class-mainwp-manage-sites-view.php:2967
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Should Use Local Class
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
/class/class-mainwp-monitoring-view.php:707
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Could Make A Function
  •   Logical To in_array
  •   Empty Instructions
/pages/page-mainwp-extensions-handler.php:6217
  •   Never Used Parameter
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/pages/page-mainwp-manage-backups.php:10247
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Could Make A Function
  •   Long Arguments
  •   Empty Instructions
/pages/page-mainwp-manage-sites.php:7107
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
  •   Echo With Concat
  •   Preprocessable
/pages/page-mainwp-setup-wizard.php:7467
  •   No Parenthesis For Language Construct
  •   Several Instructions On The Same Line
  •   Undefined Functions
  •   Could Make A Function
  •   Logical To in_array
  •   Empty Instructions
/widgets/widget-mainwp-notes.php:897
  •   Several Instructions On The Same Line
  •   Uses Default Values
  •   Should Typecast
  •   Undefined Functions
  •   Could Make A Function
  •   Empty Instructions
/class/class-mainwp-backup-handler.php:7446
  •   Too Many Local Variables
  •   No Boolean As Default
  •   Use Named Boolean In Argument Definition
  •   Max Level Of Nesting
  •   Mismatched Default Arguments
  •   Mismatched Typehint
/class/class-mainwp-connect.php:6866
  •   Used Once Variables (In Scope)
  •   Uses Default Values
  •   Useless Parenthesis
  •   Could Make A Function
  •   Repeated Regex
  •   Wrong Type For Native PHP Function
/class/class-mainwp-post-backup-handler.php:3746
  •   Uses Default Values
  •   Useless Parenthesis
  •   Should Typecast
  •   Timestamp Difference
  •   Preprocessable
  •   Else If Versus Elseif
/pages/page-mainwp-user.php:1756
  •   Used Once Variables (In Scope)
  •   Methods Without Return
  •   Unused Arguments
  •   Should Use Local Class
  •   Never Used Parameter
  •   Mismatched Default Arguments