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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.68ms] Passed 4 tests
Analyzing server-side resources used by WPCL Beaver Extender
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.10 ▼7.90 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.19 ▲1.35 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.16 ▼2.06 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.22 ▼10.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.67 ▲2.20 |
Server storage [IO: ▲9.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 564 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
_beaver_extender_active |
_fl_builder_post_types |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WPCL Beaver Extender
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.36 ▼1.11 | 1.85 ▲0.08 | 40.07 ▼4.09 |
Dashboard /wp-admin | 2,207 ▲16 | 5.82 ▲0.89 | 95.70 ▼18.67 | 37.58 ▼3.52 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▼0.00 | 40.31 ▼0.55 | 35.42 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,518 ▲4 | 17.68 ▼0.02 | 661.43 ▼17.42 | 54.46 ▼0.73 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.29 ▲0.06 | 96.16 ▼1.92 | 45.36 ▲3.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- _beaver_extender_active
- _fl_builder_post_types
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 11× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wpcl-beaver-extender/wpcl-beaver-extender.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/fields/ui-field-scss.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/center-up.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/angle-right-down.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/arrow-down.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/angle-right-up.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/center-down.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/arrow-up.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/angle-left-down.php
- > /wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/angle-left-up.php
- 124× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'height' of non-object in wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/center-up.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wpcl-beaver-extender/includes/modules/becodeblock.php:9
- > PHP Notice
Undefined variable: settings in wp-content/plugins/wpcl-beaver-extender/js/templates/bemap.js.php on line 34
- > PHP Notice
Undefined variable: settings in wp-content/plugins/wpcl-beaver-extender/js/templates/bemap.js.php on line 83
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wpcl-beaver-extender/includes/modules/bebutton.php:9
- > PHP Notice
Trying to get property 'height' of non-object in wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/center-up.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'FLBuilderModule' not found in wp-content/plugins/wpcl-beaver-extender/includes/modules/beshortcode.php:9
- > PHP Notice
Trying to get property 'height' of non-object in wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/arrow-up.php on line 3
- > PHP Notice
Undefined variable: fill in wp-content/plugins/wpcl-beaver-extender/includes/images/seperators/angle-right-down.php on line 2
- > PHP Notice
Undefined variable: id in wp-content/plugins/wpcl-beaver-extender/js/templates/bemap.js.php on line 28
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: beaver builder, beaver builder addon
wpcl-beaver-extender/wpcl-beaver-extender.php 92% from 13 tests
"WPCL Beaver Extender" version 1.1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected18,453 lines of code in 526 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 74 | 2,825 | 4,255 | 11,809 |
JavaScript | 392 | 409 | 70 | 3,381 |
Sass | 33 | 392 | 77 | 2,873 |
SVG | 7 | 0 | 5 | 248 |
JSON | 2 | 0 | 0 | 81 |
Markdown | 2 | 21 | 0 | 46 |
CSS | 16 | 1 | 16 | 15 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 31.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 719.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 1 | 1.89% |
Methods | 533 | |
▷ Static methods | 23 | 4.32% |
▷ Public methods | 273 | 51.22% |
▷ Protected methods | 237 | 44.47% |
▷ Private methods | 23 | 4.32% |
Functions | 15 | |
▷ Named functions | 3 | 20.00% |
▷ Anonymous functions | 12 | 80.00% |
Constants | 63 | |
▷ Global constants | 1 | 1.59% |
▷ Class constants | 62 | 98.41% |
▷ Public constants | 62 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin