Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.27ms] Passed 4 tests
Server-side resources used by Block Widgets Monster
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.69 ▼4.59 |
Dashboard /wp-admin | 3.40 ▲0.09 | 47.06 ▼3.16 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 45.97 ▼1.26 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 95.32 ▲8.16 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.72 ▼0.06 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_block_widgets_monster |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Block Widgets Monster
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.05 | 1.65 ▲0.05 | 40.82 ▼1.15 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼0.03 | 107.90 ▲3.85 | 37.90 ▼1.87 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.01 | 38.72 ▲0.29 | 35.38 ▲5.01 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.44 ▲5.92 | 658.94 ▲31.16 | 61.78 ▲11.13 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▲0.00 | 102.77 ▲4.16 | 47.48 ▲1.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- widget_block_widgets_monster
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% 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 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 items
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/block-widgets-monster/blocks/woo-blocks.php:26
- > PHP Notice
Undefined variable: rows in wp-content/plugins/block-widgets-monster/blocks/woo-blocks.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/block-widgets-monster/block-widgets-monster.php:47
- > PHP Notice
Undefined variable: rows in wp-content/plugins/block-widgets-monster/blocks/woo-blocks.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/block-widgets-monster/blocks/wp-blocks.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/block-widgets-monster/define.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/block-widgets-monster/widgets/woo-widgets.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/block-widgets-monster/class-bwm-widget.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/block-widgets-monster/widgets/wp-widgets.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: theme development, woocommerce widget bundle, widget, debug, woocommerce monster widget...
block-widgets-monster/block-widgets-monster.php 92% from 13 tests
The main file in "Block Widgets Monster" v. 1.0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,431 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 146 | 299 | 1,362 |
JavaScript | 2 | 12 | 4 | 69 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin