10% mx-pagebuilder-html

Code Review | MX PageBuilder HTML

WordPress plugin MX PageBuilder HTML scored10%from 54 tests.

About plugin

  • Plugin page: mx-pagebuilder-html
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.0
  • WordPress version: 6.3.1
  • First release: May 28, 2019
  • Latest release: May 28, 2019
  • Number of updates: 3
  • Update frequency: N/A
  • Top authors: markomaksym (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /502 total downloads

Benchmarks

Plugin footprint 23% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • Install procedure validation failed for this plugin
    • > Notice in wp-content/plugins/mx-pagebuilder-html/includes/core/helpers.php+39
    Undefined index: post

Server metrics [RAM: ▼1.88MB] [CPU: ▼50.87ms] Passed 4 tests

Server-side resources used by MX PageBuilder HTML
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.10 ▼1.364.88 ▼35.44
Dashboard /wp-admin2.12 ▼1.187.16 ▼48.60
Posts /wp-admin/edit.php2.12 ▼1.238.33 ▼41.57
Add New Post /wp-admin/post-new.php2.12 ▼3.767.71 ▼77.88
Media Library /wp-admin/upload.php2.12 ▼1.106.69 ▼25.11

Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 54 new files
Database: 1 new table, 6 new options
New tables
wp_mxmph_mx_builder_options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-comments
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for MX PageBuilder HTML
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,907 ▲16113.63 ▼1.137.45 ▲5.5738.66 ▼4.62
Dashboard /wp-admin2,228 ▲405.87 ▲1.00107.76 ▼24.6342.73 ▼5.96
Posts /wp-admin/edit.php2,111 ▲192.08 ▲0.0640.59 ▼1.8137.23 ▲1.51
Add New Post /wp-admin/post-new.php1,545 ▲1223.17 ▼0.04597.86 ▼97.7253.95 ▲0.54
Media Library /wp-admin/upload.php1,413 ▲224.22 ▲0.0296.84 ▼7.6141.94 ▼5.53

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/mx-pagebuilder-html/includes/core/helpers.php+39
    Undefined index: post
  • Zombie tables detected upon uninstall: 1 table
    • wp_mxmph_mx_builder_options
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 2× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/mx-pagebuilder-html/includes/admin/build-templates/1.php
    • > /wp-content/plugins/mx-pagebuilder-html/includes/admin/build-templates/0.php
  • 3× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/mx-pagebuilder-html/includes/admin/views/sub-page.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/mx-pagebuilder-html/includes/admin/views/hidemenu-page.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/mx-pagebuilder-html/includes/admin/views/main-page.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: editor, page builder

mx-pagebuilder-html/mx-pagebuilder-html.php Passed 13 tests

The entry point to "MX PageBuilder HTML" version 1.0 is a PHP file that has certain tags in its header comment area
72 characters long description:
This plugin will help you create fully editable content on your website.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin4,423 lines of code in 45 files:
LanguageFilesBlank linesComment linesLines of code
CSS413292,439
PHP35701462961
SVG100685
JavaScript4291145305
PO File18833

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity2.88
▷ Minimum class complexity1.00
▷ Maximum class complexity17.00
Average method complexity1.58
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes26
▷ Abstract classes13.85%
▷ Concrete classes2596.15%
▷ Final classes14.00%
Methods77
▷ Static methods2025.97%
▷ Public methods77100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions14
▷ Named functions750.00%
▷ Anonymous functions750.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin