Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼1.51ms] Passed 4 tests
This is a short check of server-side resources used by Booster Pack for Beaver Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.10 ▼1.41 |
Dashboard /wp-admin | 3.51 ▲0.21 | 48.31 ▲0.21 |
Posts /wp-admin/edit.php | 3.57 ▲0.20 | 54.24 ▲4.77 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 89.50 ▼7.45 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 35.73 ▲2.60 |
Beaver Booster Settings /wp-admin/options-general.php?page=beaver-booster | 3.35 | 34.50 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 99 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
bpbb_basic |
Browser metrics Passed 4 tests
A check of browser resources used by Booster Pack for Beaver Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲217 | 14.69 ▲0.33 | 1.97 ▲0.46 | 45.53 ▲3.99 |
Dashboard /wp-admin | 2,360 ▲179 | 6.31 ▲0.69 | 115.98 ▲19.27 | 44.94 ▲3.75 |
Posts /wp-admin/edit.php | 2,285 ▲185 | 3.51 ▲1.50 | 56.71 ▲15.69 | 37.49 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.18 ▲0.17 | 608.55 ▼64.94 | 34.21 ▼18.06 |
Media Library /wp-admin/upload.php | 1,419 ▲16 | 4.33 ▲0.20 | 84.88 ▼10.15 | 44.54 ▼0.70 |
Beaver Booster Settings /wp-admin/options-general.php?page=beaver-booster | 1,043 | 3.46 | 46.53 | 27.25 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- bpbb_basic
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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 fix the following
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/booster-beaver/modules/bp-spacer/includes/frontend.php
- > /wp-content/plugins/booster-beaver/modules/bp-advance-progress-bar/includes/frontend.js.php
- > /wp-content/plugins/booster-beaver/modules/bp-after-before-image/includes/frontend.js.php
- > /wp-content/plugins/booster-beaver/modules/bp-splittext/includes/frontend.php
- > /wp-content/plugins/booster-beaver/fields/bp-editor/bp-editor.php
- > /wp-content/plugins/booster-beaver/modules/bp-testimonial/includes/frontend.js.php
- > /wp-content/plugins/booster-beaver/modules/bp-teammember/includes/frontend.js.php
- > /wp-content/plugins/booster-beaver/modules/bp-advanced-google-map/includes/frontend.js.php
- 100× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'masonry_layout' of non-object in wp-content/plugins/booster-beaver/modules/bp-testimonial/includes/frontend.php on line 3
- > PHP Notice
Trying to get property 'markers' of non-object in wp-content/plugins/booster-beaver/modules/bp-advanced-google-map/includes/frontend.php on line 4
- > PHP Notice
Trying to get property 'front_background' of non-object in wp-content/plugins/booster-beaver/modules/bp-flipbox/includes/frontend.css.php on line 5
- > PHP Notice
Undefined variable: settings in wp-content/plugins/booster-beaver/modules/bp-flipbox/includes/frontend.css.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'BP_BB\\Helper' not found in wp-content/plugins/booster-beaver/modules/bp-flipbox/includes/frontend.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function add_render_attribute() on null in wp-content/plugins/booster-beaver/modules/bp-teammember/includes/frontend.php:8
- > PHP Notice
Undefined variable: settings in wp-content/plugins/booster-beaver/modules/bp-imagebox/includes/frontend.php on line 4
- > PHP Notice
Undefined variable: module in wp-content/plugins/booster-beaver/modules/bp-social-icon/includes/frontend.php on line 3
- > PHP Warning
Use of undefined constant BP_BB_ASSETS_URL - assumed 'BP_BB_ASSETS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/booster-beaver/modules/bp-advanced-google-map/includes/frontend.js.php on line 51
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/booster-beaver/bp-beaver.php:16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #4 in booster-beaver/assets to your readme.txt
booster-beaver/bp-beaver.php 77% from 13 tests
The main PHP file in "Booster Pack for Beaver Builder" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- 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
- Description: Please don't use more than 140 characters for the plugin description (currently 161 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("booster-beaver.php" instead of "bp-beaver.php")
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
Success! There were no dangerous files found in this plugin10,953 lines of code in 72 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 48 | 1,019 | 688 | 8,816 |
CSS | 13 | 176 | 32 | 1,342 |
JavaScript | 6 | 256 | 521 | 768 |
SVG | 5 | 0 | 3 | 27 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 2 | 3.08% |
▷ Public methods | 62 | 95.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.62% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
16 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/people35.png | 1.36KB | 1.43KB | 0.00% |
modules/bp-after-before-image/css/default.png | 3.97KB | 4.56KB | 0.00% |
assets/images/conv40.png | 1.48KB | 1.52KB | 0.00% |
assets/images/m3.png | 3.86KB | 3.06KB | ▼ 20.80% |
assets/images/heart30.png | 1.41KB | 1.46KB | 0.00% |