Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.42ms] Passed 4 tests
This is a short check of server-side resources used by Meta Box - Elementor Integrator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.95 ▼1.11 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.44 ▼4.85 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.28 ▲1.62 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.68 ▼9.33 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.01 ▲2.51 |
Server storage [IO: ▲0.12MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Meta Box - Elementor Integrator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.19 ▼1.39 | 1.95 ▲0.31 | 38.81 ▼2.13 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▲1.00 | 108.04 ▲2.21 | 41.87 ▼3.90 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▲0.03 | 38.42 ▼0.11 | 34.82 ▲1.97 |
Add New Post /wp-admin/post-new.php | 1,547 ▲5 | 18.37 ▲0.06 | 578.42 ▼36.78 | 86.20 ▲30.18 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.03 | 97.39 ▼0.43 | 42.37 ▼1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/mb-elementor-integrator/src/Templates/display_field-url.php
- 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: data in wp-content/plugins/mb-elementor-integrator/src/Templates/display_field-url.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/mb-elementor-integrator/src/Widgets/MBGroup.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image() in wp-content/plugins/mb-elementor-integrator/src/Templates/display_field-image.php:7
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\ThemeBuilder\\Conditions\\Condition_Base' not found in wp-content/plugins/mb-elementor-integrator/src/ThemeBuilder/Conditions/MBField.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/mb-elementor-integrator/src/Tags/Archive/Text.php:9
- > PHP Fatal error
Trait 'MBEI\\Traits\\Location' not found in wp-content/plugins/mb-elementor-integrator/src/Widgets/GroupLocation.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\ThemeBuilder\\Conditions\\Condition_Base' not found in wp-content/plugins/mb-elementor-integrator/src/ThemeBuilder/Conditions/MBFields.php:8
- > PHP Fatal error
Uncaught Error: Class 'ElementorPro\\Modules\\ThemeBuilder\\Documents\\Single' not found in wp-content/plugins/mb-elementor-integrator/src/ThemeBuilder/Documents/Group.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_by() in wp-content/plugins/mb-elementor-integrator/src/Templates/display_field-user.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Core\\DynamicTags\\Tag' not found in wp-content/plugins/mb-elementor-integrator/src/Tags/Settings/Text.php:9
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
8 plugin tags: dynamic tags, custom meta box, elementor, custom fields, custom meta boxes...
mb-elementor-integrator/mb-elementor-integrator.php Passed 13 tests
The entry point to "Meta Box - Elementor Integrator" version 2.1.10 is a PHP file that has certain tags in its header comment area
47 characters long description:
Integrates Meta Box and Elementor Page Builder.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,500 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 562 | 493 | 2,345 |
SVG | 1 | 0 | 0 | 150 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 13.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 9 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 177 | |
▷ Static methods | 35 | 19.77% |
▷ Public methods | 140 | 79.10% |
▷ Protected methods | 10 | 5.65% |
▷ Private methods | 27 | 15.25% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin