Benchmarks
Plugin footprint 65% 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: ▼1.73MB] [CPU: ▼53.89ms] Passed 4 tests
This is a short check of server-side resources used by WPD Beaver Builder Additions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.22 ▼1.24 | 8.30 ▼38.84 |
Dashboard /wp-admin | 2.29 ▼1.02 | 12.54 ▼41.61 |
Posts /wp-admin/edit.php | 2.29 ▼1.06 | 10.37 ▼43.96 |
Add New Post /wp-admin/post-new.php | 2.29 ▼3.60 | 12.54 ▼91.16 |
Media Library /wp-admin/upload.php | 2.29 ▼0.94 | 9.91 ▼27.38 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 112 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
wpd-bb-additions-activated |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPD Beaver Builder Additions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.42 ▼0.96 | 1.97 ▲0.27 | 44.22 ▲0.17 |
Dashboard /wp-admin | 2,218 ▲33 | 5.79 ▼0.06 | 113.75 ▲7.32 | 42.96 ▼1.17 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.02 ▲0.03 | 34.61 ▼3.23 | 34.45 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,526 ▲5 | 17.68 ▼5.43 | 630.09 ▼18.01 | 50.78 ▲2.22 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.16 ▼0.08 | 114.28 ▲13.68 | 47.20 ▲0.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/wpd-bb-additions/wpd-bb-additions.php+81
Trying to get property 'plugin_slug' of non-object
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- wpd-bb-additions-activated
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wpd-bb-additions/app/Components/Modules/wpd-optimised-video/includes/frontend.php
- 50× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: settings in wp-content/plugins/wpd-bb-additions/app/Components/Modules/wpd-optimised-video/includes/frontend.css.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wpd-bb-additions/app/Components/Modules/Base.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function WPD\\BBAdditions\\__() in wp-content/plugins/wpd-bb-additions/config/config.php:10
- > PHP Notice
Undefined variable: id in wp-content/plugins/wpd-bb-additions/app/Components/Modules/wpd-optimised-video/includes/frontend.css.php on line 6
- > PHP Notice
Undefined variable: settings in wp-content/plugins/wpd-bb-additions/app/Components/Modules/wpd-optimised-video/includes/frontend.php on line 14
- > PHP Fatal error
Trait 'WPD\\Toolset\\Traits\\PluginPropertyGetters' not found in wp-content/plugins/wpd-bb-additions/app/Plugin.php on line 29
- > PHP Fatal error
Uncaught Error: Class 'Mexitek\\PHPColors\\Color' not found in wp-content/plugins/wpd-bb-additions/vendor/mexitek/phpcolors/demo/demo.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPD\\Toolset\\Features\\WhiteLabel' not found in wp-content/plugins/wpd-bb-additions/vendor/smarterdigital/wpd-toolset/features/white-label/wpd-toolset-white-label.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPD\\Toolset\\Utilities\\AdminNotice' not found in wp-content/plugins/wpd-bb-additions/vendor/smarterdigital/wpd-toolset/utilities/admin-notice/wpd-toolset-admin-notice-utilities.php:3
- > PHP Fatal error
Uncaught Error: Class 'WPD\\Toolset\\Traits\\PluginPropertyGetters' not found in wp-content/plugins/wpd-bb-additions/vendor/smarterdigital/wpd-toolset/traits/plugin-property-getters/wpd-toolset-trait-plugin-property-getters.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 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
3 plugin tags: beaver builder, beaver builder enhancements, beaver builder modules
wpd-bb-additions/wpd-bb-additions.php Passed 13 tests
This is the main PHP file of "WPD Beaver Builder Additions" version 2.0.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
95 characters long description:
A collection of useful modules, custom fields and settings for the Beaver Builder page builder.
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
Success! There were no dangerous files found in this plugin5,457 lines of code in 96 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 1,016 | 2,142 | 4,411 |
JSON | 10 | 1 | 0 | 530 |
Markdown | 7 | 146 | 0 | 405 |
YAML | 2 | 7 | 1 | 35 |
SVG | 3 | 0 | 1 | 32 |
XML | 2 | 7 | 6 | 31 |
JavaScript | 7 | 0 | 0 | 8 |
CSS | 5 | 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.39 |
Average class complexity | 13.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 25 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 34 | |
▷ Abstract classes | 1 | 2.94% |
▷ Concrete classes | 33 | 97.06% |
▷ Final classes | 6 | 18.18% |
Methods | 308 | |
▷ Static methods | 111 | 36.04% |
▷ Public methods | 255 | 82.79% |
▷ Protected methods | 45 | 14.61% |
▷ Private methods | 8 | 2.60% |
Functions | 19 | |
▷ Named functions | 6 | 31.58% |
▷ Anonymous functions | 13 | 68.42% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/mexitek/phpcolors/demo/phpColor-demo.png | 26.99KB | 9.30KB | ▼ 65.54% |