Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.76MB] [CPU: ▲3.31ms] Passed 4 tests
This is a short check of server-side resources used by Mighty Builder - Drag & Drop WordPress Page Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.69 | 41.87 ▼0.32 |
Dashboard /wp-admin | 4.17 ▲0.87 | 55.99 ▲7.71 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 59.93 ▲11.30 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.74 | 88.77 ▼4.00 |
Media Library /wp-admin/upload.php | 3.98 ▲0.76 | 42.61 ▲9.83 |
Server storage [IO: ▲4.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 122 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
mighty_builder_ver |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Mighty Builder - Drag & Drop WordPress Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,278 ▲543 | 17.70 ▲3.06 | 8.49 ▲6.40 | 52.45 ▲2.27 |
Dashboard /wp-admin | 2,562 ▲371 | 8.06 ▲2.16 | 158.96 ▲53.06 | 58.84 ▲16.65 |
Posts /wp-admin/edit.php | 2,484 ▲398 | 5.41 ▲3.37 | 71.46 ▲30.87 | 48.49 ▲13.40 |
Add New Post /wp-admin/post-new.php | 1,727 ▲213 | 24.62 ▲6.98 | 632.85 ▼21.26 | 52.10 ▼1.58 |
Media Library /wp-admin/upload.php | 1,617 ▲229 | 5.65 ▲1.49 | 95.54 ▼3.78 | 54.03 ▲12.45 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- mighty_builder_ver
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 19× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/readonly.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/password.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/text.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/dimension.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/checkbox_button.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/text_align.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/checkbox.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/select.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/textarea.php
- > /wp-content/plugins/mighty-builder/framework/core/fields/fields_views/range.php
- 27× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mighty-builder/shortcodes/text.php:53
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mighty-builder/shortcodes/space.php:32
- > PHP Warning
require_once(MP_PB_PATH/shortcodes/section.php): failed to open stream: No such file or directory in wp-content/plugins/mighty-builder/shortcodes/shortcodes.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mighty-builder/shortcodes/progressbar.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mighty-builder/shortcodes/accordion.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/mighty-builder/framework/core/fields/fields_views/color.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mighty-builder/shortcodes/line.php:47
- > PHP Warning
Use of undefined constant MP_PB_PATH - assumed 'MP_PB_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mighty-builder/shortcodes/shortcodes.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/mighty-builder/framework/core/fields/fields_views/color_rgba.php:9
- > PHP Fatal error
require_once(): Failed opening required 'MP_PB_PATH/shortcodes/section.php' (include_path='.:/usr/share/php') in wp-content/plugins/mighty-builder/shortcodes/shortcodes.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: drag and drop, pagebuilder, page composer, page builder
mighty-builder/mighty-builder.php Passed 13 tests
The main PHP file in "Mighty Builder - Drag & Drop WordPress Page Builder" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
49 characters long description:
Mighty Builder is best page builder for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected30,188 lines of code in 93 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 314 | 234 | 13,909 |
JavaScript | 16 | 2,355 | 2,212 | 8,594 |
PHP | 56 | 847 | 229 | 4,682 |
SVG | 3 | 0 | 0 | 2,986 |
Markdown | 1 | 6 | 0 | 17 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 7.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 10 | 23.81% |
▷ Public methods | 38 | 90.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.52% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
framework/assets/images/transparency-grid.png | 5.24KB | 4.19KB | ▼ 20.16% |