10% massive-visual-builder-page-layout-builder

Code Review | Massive Visual Page Builder

WordPress plugin Massive Visual Page Builder scored10%from 54 tests.

About plugin

  • Plugin page: massive-visual-bu...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.6+
  • WordPress version: 6.3.1
  • First release: Oct 27, 2014
  • Latest release: Oct 29, 2014
  • Number of updates: 7
  • Update frequency: every 0.4 days
  • Top authors: wpmeal (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

10+ active /15,055 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/massive-visual-builder-page-layout-builder/assets/shortcodes/color.php+63
    Array and string offset access syntax with curly braces is deprecated

Server metrics [RAM: ▲0.03MB] [CPU: ▲86.55ms] Passed 4 tests

Server-side resources used by Massive Visual Page Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0436.03 ▼6.17
Dashboard /wp-admin3.33 ▲0.03388.45 ▲342.24
Posts /wp-admin/edit.php3.38 ▲0.0247.96 ▼3.46
Add New Post /wp-admin/post-new.php5.95 ▲0.06298.37 ▲192.59
Media Library /wp-admin/upload.php3.26 ▲0.03195.35 ▲163.24

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 512 new files
Database: no new tables, 8 new options
New WordPress options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
notifier-cache
theysaidso_admin_options
widget_recent-comments
notifier-cache-last-updated

Browser metrics Passed 4 tests

A check of browser resources used by Massive Visual Page Builder
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,204 ▲46914.46 ▲0.1511.32 ▲9.4437.71 ▼11.37
Dashboard /wp-admin2,225 ▲345.84 ▲0.9497.26 ▼9.2341.53 ▼2.72
Posts /wp-admin/edit.php2,105 ▲132.05 ▼0.0237.25 ▼4.2838.41 ▲2.54
Add New Post /wp-admin/post-new.php7,383 ▲5,85019.84 ▼3.20897.70 ▲228.0566.91 ▲0.38
Media Library /wp-admin/upload.php1,404 ▲134.23 ▼0.0599.26 ▲1.7745.01 ▲0.12

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The uninstall procedure has failed, leaving 8 options in the database
    • db_upgraded
    • theysaidso_admin_options
    • notifier-cache-last-updated
    • widget_recent-posts
    • notifier-cache
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
  • 7× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/massive-visual-builder-page-layout-builder/assets/WordPress-Plugin-Update-Notifier/update-notifier.php:48
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/massive-visual-builder-page-layout-builder/review.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/massive-visual-builder-page-layout-builder/template.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_reset_postdata() in wp-content/plugins/massive-visual-builder-page-layout-builder/advanced_shortcodes.php:389
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/massive-visual-builder-page-layout-builder/massive_page_bui.php:19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function su_mvb_shortcodes() in wp-content/plugins/massive-visual-builder-page-layout-builder/assets/shortcodes/define_sh.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/massive-visual-builder-page-layout-builder/assets/shortcodes/generator.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 87% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
  • Tested up to: Invalid plugin version format
  • Tags: Please delete some tags, you are using 16 tag instead of maximum 10
You can take inspiration from this readme.txt

massive-visual-builder-page-layout-builder/massive_page_bui.php 85% from 13 tests

The principal PHP file in "Massive Visual Page Builder" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 273 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("massive-visual-builder-page-layout-builder.php" instead of "massive_page_bui.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected71,246 lines of code in 199 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript585,0952,57531,475
CSS731,92773126,502
PHP173641,0423,896
LESS221,2021633,430
PO File51,6322,1123,242
Sass131922928
SVG300850
Markdown53650832
HTML26664
JSON10027

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions80
▷ Named functions80100.00%
▷ Anonymous functions00.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
267 PNG files occupy 2.18MB with 0.86MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/pb/price-head-yellow.png2.90KB2.31KB▼ 20.16%
assets/shortcodes/images/demo/quote.png8.04KB3.04KB▼ 62.14%
assets/shortcodes/images/shortcodes-ultimate/images/quote.png0.30KB0.26KB▼ 14.29%
images/admin-icon/heading.png1.13KB0.27KB▼ 75.90%
assets/pb/price-head-red.png3.07KB2.31KB▼ 24.78%