Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.67MB] [CPU: ▲1.75ms] Passed 4 tests
This is a short check of server-side resources used by Beaver Builder Toolkit
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 40.85 ▲1.56 |
Dashboard /wp-admin | 4.06 ▲0.76 | 56.92 ▲10.28 |
Posts /wp-admin/edit.php | 4.14 ▲0.79 | 54.51 ▲3.51 |
Add New Post /wp-admin/post-new.php | 6.64 ▲0.75 | 88.83 ▼2.25 |
Media Library /wp-admin/upload.php | 3.96 ▲0.74 | 38.38 ▲4.18 |
BB Toolkit /wp-admin/options-general.php?page=bb_toolkit_options | 4.24 | 39.68 |
Server storage [IO: ▲3.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 368 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Beaver Builder Toolkit
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.61 ▼0.93 | 4.61 ▲2.79 | 40.57 ▼4.33 |
Dashboard /wp-admin | 2,221 ▲33 | 4.90 ▲0.00 | 111.94 ▼3.16 | 42.03 ▼1.86 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.09 ▲0.08 | 38.03 ▼2.81 | 30.86 ▼5.33 |
Add New Post /wp-admin/post-new.php | 1,526 ▲7 | 23.42 ▲0.26 | 685.08 ▲21.54 | 56.32 ▼10.81 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.33 ▲0.14 | 96.34 ▼16.35 | 40.14 ▼6.44 |
BB Toolkit /wp-admin/options-general.php?page=bb_toolkit_options | 929 | 2.28 | 26.33 | 25.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 39× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/CMB2_Options_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/CMB2.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/helper-functions.php:131
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/toolkit-for-beaver-builder/vendor/CMB2/includes/types/CMB2_Type_Wysiwyg.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=bb_toolkit_options
- > Network (severe)
var/www/wordpress/wp-content/plugins/toolkit-for-beaver-builder/assets/css/admin.css?ver=1.0.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% 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
2 plugin tags: beaver, beaver builder
toolkit-for-beaver-builder/toolkit-for-beaver-builder.php 92% from 13 tests
The entry point to "Beaver Builder Toolkit" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected54,722 lines of code in 222 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 61 | 2,295 | 6,699 | 7,633 |
JSON | 2 | 0 | 0 | 6,602 |
CSS | 12 | 250 | 1,190 | 4,554 |
JavaScript | 7 | 361 | 583 | 1,431 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 249 | 0 | 768 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 71 | |
▷ Abstract classes | 9 | 12.68% |
▷ Concrete classes | 62 | 87.32% |
▷ Final classes | 3 | 4.84% |
Methods | 570 | |
▷ Static methods | 95 | 16.67% |
▷ Public methods | 475 | 83.33% |
▷ Protected methods | 89 | 15.61% |
▷ Private methods | 6 | 1.05% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 3 | 30.00% |
▷ Class constants | 7 | 70.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
vendor/CMB2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/CMB2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
vendor/CMB2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |