Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.36MB] [CPU: ▲4.81ms] Passed 4 tests
A check of server-side resources used by Dynamic Blocks for WordPress, WooCommerce & Gutenberg
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.73 ▲1.26 | 50.15 ▲7.31 |
Dashboard /wp-admin | 4.69 ▲1.35 | 56.32 ▼3.87 |
Posts /wp-admin/edit.php | 4.80 ▲1.45 | 60.93 ▲12.09 |
Add New Post /wp-admin/post-new.php | 7.36 ▲1.47 | 104.26 ▲3.71 |
Media Library /wp-admin/upload.php | 4.62 ▲1.39 | 48.91 ▲12.21 |
Dashboard /wp-admin/admin.php?page=dynamicblock-dashboard | 4.60 | 50.43 |
Blocks /wp-admin/edit.php?post_type=dynamicblock-block | 4.63 | 42.59 |
Help & Support /wp-admin/admin.php?page=help | 4.56 | 43.53 |
Server storage [IO: ▲8.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 157 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Dynamic Blocks for WordPress, WooCommerce & Gutenberg
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲141 | 17.12 ▲2.77 | 17.60 ▲15.91 | 44.56 ▲1.57 |
Dashboard /wp-admin | 2,192 ▲14 | 6.23 ▲0.54 | 132.13 ▲17.90 | 84.36 ▲38.34 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 3.77 ▲1.82 | 88.28 ▲50.35 | 60.48 ▲25.81 |
Add New Post /wp-admin/post-new.php | 6,280 ▲4,754 | 22.65 ▼0.62 | 1,100.71 ▲398.10 | 50.72 ▼5.78 |
Media Library /wp-admin/upload.php | 1,459 ▲65 | 5.51 ▲1.33 | 136.21 ▲31.92 | 79.54 ▲36.19 |
Dashboard /wp-admin/admin.php?page=dynamicblock-dashboard | 1,398 | 3.60 | 73.66 | 70.93 |
Blocks /wp-admin/edit.php?post_type=dynamicblock-block | 1,849 | 3.68 | 42.71 | 73.98 |
Help & Support /wp-admin/admin.php?page=help | 725 | 2.98 | 23.58 | 28.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=dynamicblock-block
- > Notice in wp-content/plugins/dynamic-blocks-builder/admin/class/class-dynamicblock-admin.php+375
Undefined index: page
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=help
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dynamic-blocks-builder/templates/admin/dynamicblock_page_title.php
- 44× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: _dynamicblock_product_set_control in wp-content/plugins/dynamic-blocks-builder/admin/meta-boxes/dynamicblock-product-set-meta-box.php on line 8
- > PHP Warning
include_once(vitec/getUser.php): failed to open stream: No such file or directory in wp-content/plugins/dynamic-blocks-builder/admin/class/display-rules/functions.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/dynamic-blocks-builder/templates/admin/dynamicblock-nav-banner.php on line 2
- > PHP Warning
Use of undefined constant DYNAMICBLOCK_PLUGIN_URL - assumed 'DYNAMICBLOCK_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/dynamic-blocks-builder/admin/meta-boxes/where-display-meta-box.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/dynamic-blocks-builder/admin/class/class-admin-dashboard-grid.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/dynamic-blocks-builder/templates/admin/dynamicblock-textarea.php:2
- > PHP Fatal error
Uncaught Error: Class 'DynamicBlock_Conditional_Content_Input_Text' not found in wp-content/plugins/dynamic-blocks-builder/admin/class/inputs/time_picker.php:3
- > PHP Warning
include_once(vitec/getOptions.php): failed to open stream: No such file or directory in wp-content/plugins/dynamic-blocks-builder/admin/class/display-rules/functions.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/dynamic-blocks-builder/admin/class/class-admin-dashboard-grid.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/dynamic-blocks-builder/templates/admin/dynamicblock-nav-banner.php:6
- > PHP Notice
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 issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #6 (Add custom CSS or JS.), #7 (Dynamic Blocks Builder is a tool designed for Ecommerce Manager)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
dynamic-blocks-builder/dynamicblock.php 77% from 13 tests
The entry point to "Dynamic Blocks for WordPress, WooCommerce & Gutenberg" version 1.1.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: Keep the plugin description shorter than 140 characters (currently 212 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dynamic-blocks-builder.php" instead of "dynamicblock.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected67,013 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 3,973 | 7,729 | 41,730 |
PHP | 82 | 1,936 | 1,172 | 12,070 |
SVG | 25 | 0 | 3 | 7,708 |
CSS | 12 | 642 | 243 | 5,411 |
JSON | 1 | 0 | 0 | 94 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 13.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 337.00 |
Average method complexity | 3.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 87 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 87 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 422 | |
▷ Static methods | 43 | 10.19% |
▷ Public methods | 415 | 98.34% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 1.66% |
Functions | 41 | |
▷ Named functions | 31 | 75.61% |
▷ Anonymous functions | 10 | 24.39% |
Constants | 14 | |
▷ Global constants | 14 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/up-arrow-white.png | 6.03KB | 2.60KB | ▼ 56.83% |
assets/images/down-arrow-white.png | 7.95KB | 3.42KB | ▼ 57.04% |
assets/css/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
assets/images/down-arrow-black.png | 3.84KB | 3.78KB | ▼ 1.60% |
assets/images/dynamicblock_fav.png | 48.25KB | 1.34KB | ▼ 97.22% |