Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.72ms] Passed 4 tests
Analyzing server-side resources used by Beaver Builder Imagebox Module
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.27 ▼0.99 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.60 ▼3.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.35 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.56 ▼3.84 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 57.91 ▲20.60 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Beaver Builder Imagebox Module
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.38 ▼0.12 | 2.32 ▲0.47 | 47.50 ▲4.22 |
Dashboard /wp-admin | 2,207 ▲27 | 5.58 ▼0.08 | 93.16 ▼10.79 | 40.62 ▼1.52 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 1.97 ▼0.03 | 34.88 ▼4.37 | 36.11 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.35 ▲0.20 | 680.02 ▲67.38 | 57.58 ▲0.95 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.23 ▲0.05 | 112.22 ▲12.88 | 48.82 ▲1.70 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/imagebox-module/imagebox/includes/frontend.php
- > /wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php
- 56× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: id in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 41
- > PHP Notice
Trying to get property 'link' of non-object in wp-content/plugins/imagebox-module/imagebox/includes/frontend.php on line 2
- > PHP Notice
Trying to get property 'front_bg_image_src' of non-object in wp-content/plugins/imagebox-module/imagebox/includes/frontend.php on line 3
- > PHP Notice
Undefined variable: id in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 6
- > PHP Notice
Trying to get property 'btn_font_size' of non-object in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 32
- > PHP Notice
Undefined variable: id in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 46
- > PHP Notice
Undefined variable: settings in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 2
- > PHP Notice
Undefined variable: settings in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 62
- > PHP Notice
Undefined variable: id in wp-content/plugins/imagebox-module/imagebox/includes/frontend.css.php on line 51
- > PHP Notice
Undefined variable: settings in wp-content/plugins/imagebox-module/imagebox/includes/frontend.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
There were no plugin tags found
imagebox-module/imagebox.php 85% from 13 tests
"Beaver Builder Imagebox Module" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("imagebox-module.php" instead of "imagebox.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin529 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 19 | 32 | 395 |
CSS | 2 | 4 | 0 | 134 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin