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
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.33ms] Passed 4 tests
An overview of server-side resources used by WOW Best WP Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 40.05 ▼7.75 |
Dashboard /wp-admin | 3.38 ▲0.03 | 49.02 ▼15.85 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.11 ▼0.64 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 92.15 ▼0.44 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.80 ▼1.09 |
Add Block /wp-admin/post-new.php?post_type=wow_blocks | 3.43 | 49.02 |
Best WP Blocks /wp-admin/edit.php?post_type=wow_blocks | 3.34 | 40.26 |
Server storage [IO: ▲8.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 580 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
WOW Best WP Blocks: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲84 | 13.57 ▼0.83 | 1.61 ▼0.10 | 37.09 ▼7.71 |
Dashboard /wp-admin | 2,236 ▲48 | 4.87 ▼0.06 | 103.76 ▼0.74 | 39.68 ▼3.97 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.00 ▲0.01 | 36.49 ▼2.46 | 33.25 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 18.38 ▲0.07 | 595.71 ▼20.38 | 60.10 ▲0.75 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.14 ▼0.09 | 99.98 ▼5.03 | 43.32 ▼0.95 |
Add Block /wp-admin/post-new.php?post_type=wow_blocks | 2,340 | 7.89 | 172.25 | 66.70 |
Best WP Blocks /wp-admin/edit.php?post_type=wow_blocks | 1,114 | 2.02 | 30.32 | 31.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/best-wp-blocks/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 214× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Theme_Options_Container' not found in wp-content/plugins/best-wp-blocks/vendor/htmlburger/carbon-fields/core/Container/Network_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Meta_Datastore' not found in wp-content/plugins/best-wp-blocks/vendor/htmlburger/carbon-fields/core/Datastore/Network_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/best-wp-blocks/vendor/htmlburger/carbon-fields/core/Container/Broken_Container.php:9
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/best-wp-blocks/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/best-wp-blocks/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/best-wp-blocks/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/best-wp-blocks/vendor/composer/installers/src/Composer/Installers/Plugin.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/best-wp-blocks/vendor/htmlburger/carbon-fields/core/Service/Legacy_Storage_Service_v_1_5.php:15
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/best-wp-blocks/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/best-wp-blocks/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== best-wp-blocks ===
) - Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in best-wp-blocks/assets to your readme.txt
best-wp-blocks/nguyen-app.php 92% from 13 tests
Analyzing the main PHP file in "WOW Best WP Blocks" version 1.2.0
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("best-wp-blocks.php" instead of "nguyen-app.php")
Code Analysis Passed 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
There were no executable files found in this plugin30,554 lines of code in 522 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 171 | 5,188 | 8,459 | 12,933 |
PHP | 256 | 2,930 | 7,429 | 10,900 |
PO File | 26 | 819 | 1,020 | 2,202 |
Sass | 49 | 342 | 1 | 1,896 |
CSS | 9 | 329 | 1,139 | 1,779 |
JSON | 5 | 0 | 0 | 658 |
YAML | 3 | 30 | 3 | 118 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 23 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 229 | |
▷ Abstract classes | 12 | 5.24% |
▷ Concrete classes | 217 | 94.76% |
▷ Final classes | 1 | 0.46% |
Methods | 1,016 | |
▷ Static methods | 92 | 9.06% |
▷ Public methods | 802 | 78.94% |
▷ Protected methods | 199 | 19.59% |
▷ Private methods | 15 | 1.48% |
Functions | 113 | |
▷ Named functions | 27 | 23.89% |
▷ Anonymous functions | 86 | 76.11% |
Constants | 35 | |
▷ Global constants | 8 | 22.86% |
▷ Class constants | 27 | 77.14% |
▷ Public constants | 27 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/logo.png | 14.66KB | 7.71KB | ▼ 47.40% |
admin/assets/img/icon.png | 10.50KB | 5.29KB | ▼ 49.68% |