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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.94ms] Passed 4 tests
Server-side resources used by Supreme Addons for Beaver Builder -
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 37.85 ▼4.94 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.76 ▼5.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.47 ▲0.38 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.00 ▼8.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.15 ▼0.90 |
Server storage [IO: ▲1.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 438 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Supreme Addons for Beaver Builder -
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.26 ▼1.33 | 1.61 ▼0.32 | 39.08 ▼15.56 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲0.97 | 95.58 ▼13.01 | 35.98 ▼4.13 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▲0.02 | 36.35 ▲1.14 | 34.80 ▼0.65 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.19 ▲0.52 | 601.66 ▼9.21 | 71.84 ▲21.19 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.15 ▼0.09 | 96.46 ▲0.41 | 42.64 ▼0.55 |
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 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php
- > /wp-content/plugins/supreme-addons-for-beaver-builder-lite/assets/lib/index.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'default_event_name' of non-object in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 41
- > PHP Notice
Trying to get property 'default_event_end' of non-object in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 40
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/QR-Code/includes/frontend.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/supreme-addons-for-beaver-builder-lite/bb-supreme-addon.php:15
- > PHP Notice
Undefined variable: settings in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 41
- > PHP Notice
Trying to get property 'default_event_address' of non-object in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 42
- > PHP Notice
Undefined variable: settings in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 40
- > PHP Notice
Undefined variable: settings in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 39
- > PHP Notice
Undefined variable: settings in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/includes/frontend.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/supreme-addons-for-beaver-builder-lite/modules/Add-to-calender/Add-to-calender.php:10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (12 tag instead of maximum 10)
supreme-addons-for-beaver-builder-lite/bb-supreme-addon.php 77% from 13 tests
"Supreme Addons for Beaver Builder -" version 1.0.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 221 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("supreme-addons-for-beaver-builder-lite.php" instead of "bb-supreme-addon.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Please fix the following items
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/supreme-addons-for-beaver-builder-lite/assets/lib/tools/merge.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 1,325 | 1,124 | 4,631 |
Bourne Shell | 1 | 0 | 0 | 2 |
DOS Batch | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 22.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 270 | |
▷ Static methods | 122 | 45.19% |
▷ Public methods | 266 | 98.52% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 1.48% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 74 | |
▷ Global constants | 74 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
44 PNG files occupy 0.73MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/cache/frame_39.png | 0.26KB | 0.23KB | ▼ 9.85% |
assets/lib/cache/frame_27.png | 0.23KB | 0.22KB | ▼ 6.33% |
assets/lib/cache/frame_36.png | 0.27KB | 0.25KB | ▼ 7.72% |
assets/lib/cache/frame_28.png | 0.23KB | 0.21KB | ▼ 5.98% |
screenshot-3.png | 130.39KB | 43.01KB | ▼ 67.01% |