/class/class-mainwp-ui.php:346 | 31 | - 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:269 | 27 | - 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:345 | 18 | - 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:268 | 16 | - 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:115 | 16 | - 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:81 | 14 | - 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:1063 | 13 | - 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:237 | 13 | - 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:1415 | 12 | - 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:1747 | 12 | - 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:919 | 12 | - 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:1064 | 12 | - 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:464 | 12 | - 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:526 | 12 | - Several Instructions On The Same Line
- Uses Default Values
- Should Typecast
- Undefined Functions
- Could Make A Function
- Empty Instructions
|
/class/class-mainwp-connect.php:466 | 11 | - 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:336 | 11 | - 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:1217 | 11 | - Several Instructions On The Same Line
- Uses Default Values
- Should Typecast
- Undefined Functions
- Could Make A Function
- Empty Instructions
|
/pages/page-mainwp-post.php:1246 | 11 | - 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:897 | 11 | - 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:930 | 11 | - 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:244 | 11 | - 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:293 | 10 | - 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:461 | 10 | - 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:1214 | 10 | - 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:222 | 10 | - 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:319 | 10 | - 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:415 | 10 | - 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:510 | 10 | - 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:229 | 10 | - 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:324 | 10 | - 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:418 | 10 | - 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:511 | 10 | - 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:705 | 9 | - 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:450 | 9 | - 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:454 | 9 | - 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:458 | 9 | - 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:105 | 9 | - 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:1541 | 9 | - 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:1565 | 9 | - 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:266 | 9 | - 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:462 | 9 | - 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:245 | 9 | - 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:460 | 9 | - 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:588 | 9 | - 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:185 | 9 | - Several Instructions On The Same Line
- Uses Default Values
- Undefined Functions
- __DIR__ Then Slash
- Empty Instructions
- Echo With Concat
|
/class/class-mainwp-hooks.php:556 | 8 | - 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:1542 | 8 | - 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:487 | 8 | - 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:416 | 8 | - 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:28 | 8 | - 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:676 | 8 | - 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:693 | 8 | - 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:43 | 8 | - 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:968 | 8 | - 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:134 | 8 | - 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:330 | 8 | - 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:526 | 8 | - 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:667 | 8 | - 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:787 | 8 | - 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:478 | 8 | - 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:586 | 8 | - 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:241 | 8 | - Several Instructions On The Same Line
- Uses Default Values
- Undefined Functions
- __DIR__ Then Slash
- Empty Instructions
- Echo With Concat
|
/class/class-mainwp-format.php:179 | 7 | - 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:296 | 7 | - 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:70 | 7 | - 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:621 | 7 | - 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:1024 | 7 | - 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:710 | 7 | - Several Instructions On The Same Line
- Undefined Functions
- Could Make A Function
- Empty Instructions
- Echo With Concat
- Preprocessable
|
/pages/page-mainwp-setup-wizard.php:746 | 7 | - 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:89 | 7 | - 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:744 | 6 | - 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:686 | 6 | - 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:374 | 6 | - Uses Default Values
- Useless Parenthesis
- Should Typecast
- Timestamp Difference
- Preprocessable
- Else If Versus Elseif
|
/pages/page-mainwp-user.php:175 | 6 | - Used Once Variables (In Scope)
- Methods Without Return
- Unused Arguments
- Should Use Local Class
- Never Used Parameter
- Mismatched Default Arguments
|