Benchmarks
Plugin footprint 83% 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: ▼0.00MB] [CPU: ▼6.86ms] Passed 4 tests
Server-side resources used by CB Custom Beaver Builder Modules
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.27 ▼0.93 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.70 ▼12.34 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.53 ▼3.53 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 81.93 ▼10.62 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.58 ▲2.71 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 105 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by CB Custom Beaver Builder Modules
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.18 ▼0.00 | 1.83 ▲0.15 | 46.23 ▲5.16 |
Dashboard /wp-admin | 2,189 ▲8 | 5.51 ▼0.23 | 81.55 ▼21.68 | 39.86 ▲0.78 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 2.02 ▲0.03 | 37.43 ▲2.78 | 33.34 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.53 ▲0.47 | 651.60 ▼28.99 | 60.03 ▲1.02 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▼0.09 | 97.17 ▼6.28 | 42.06 ▼3.16 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
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 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
- 25× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/cb-custom-modules/cb-broadside/includes/frontend.css.php
- > /wp-content/plugins/cb-custom-modules/cb-poise/includes/frontend.css.php
- > /wp-content/plugins/cb-custom-modules/cb-button-list/includes/frontend.css.php
- > /wp-content/plugins/cb-custom-modules/cb-menu/includes/frontend.js.php
- > /wp-content/plugins/cb-custom-modules/cb-link-list/includes/frontend.php
- > /wp-content/plugins/cb-custom-modules/cb-button-list/includes/frontend.php
- > /wp-content/plugins/cb-custom-modules/cb-caption/includes/frontend.css.php
- > /wp-content/plugins/cb-custom-modules/cb-dust/includes/frontend.css.php
- > /wp-content/plugins/cb-custom-modules/cb-caption/includes/frontend.js.php
- > /wp-content/plugins/cb-custom-modules/cb-drawerfolio/includes/frontend.php
- 227× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/cb-custom-modules/cb-custom-module.php:11
- > PHP Notice
Undefined variable: id in wp-content/plugins/cb-custom-modules/cb-broadside/includes/frontend.js.php on line 17
- > PHP Notice
Trying to get property 'cb_broadside_multiple_photos_field' of non-object in wp-content/plugins/cb-custom-modules/cb-broadside/includes/frontend.php on line 15
- > PHP Notice
Undefined variable: settings in wp-content/plugins/cb-custom-modules/cb-broadside/includes/frontend.css.php on line 18
- > PHP Notice
Undefined variable: settings in wp-content/plugins/cb-custom-modules/cb-link-list/includes/frontend.css.php on line 19
- > PHP Notice
Undefined variable: settings in wp-content/plugins/cb-custom-modules/cb-scout/includes/frontend.css.php on line 101
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/cb-custom-modules/cb-simple-events/cb-simple-events.php:9
- > PHP Notice
Undefined variable: id in wp-content/plugins/cb-custom-modules/cb-drawerfolio/includes/frontend.css.php on line 36
- > PHP Notice
Undefined variable: id in wp-content/plugins/cb-custom-modules/cb-broadside/includes/frontend.css.php on line 17
- > PHP Fatal error
Uncaught Error: Call to a member function responsive_breakpoint() on null in wp-content/plugins/cb-custom-modules/cb-scout/includes/frontend.js.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: page builder, drag and drop, photography, builder, beaver builder...
cb-custom-modules/cb-custom-module.php 92% from 13 tests
This is the main PHP file of "CB Custom Beaver Builder Modules" version 1.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cb-custom-modules.php" instead of "cb-custom-module.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
Everything looks great! No dangerous files found in this plugin6,729 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 52 | 699 | 654 | 5,355 |
Sass | 10 | 47 | 9 | 581 |
JavaScript | 7 | 153 | 160 | 520 |
CSS | 14 | 13 | 15 | 271 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 3.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 2 | 9.09% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/BB-date-Field-master/assets/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
includes/BB-date-Field-master/assets/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
includes/BB-date-Field-master/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
includes/BB-date-Field-master/assets/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
includes/BB-date-Field-master/assets/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |