Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.04MB] [CPU: ▼35.86ms] Passed 4 tests
An overview of server-side resources used by Blockify - Lightweight Full Site Editing Block Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 23.02 ▼21.14 |
Dashboard /wp-admin | 3.97 ▲0.67 | 24.00 ▼26.51 |
Posts /wp-admin/edit.php | 3.97 ▲0.62 | 28.79 ▼19.54 |
Add New Post /wp-admin/post-new.php | 3.97 ▼1.91 | 24.53 ▼76.25 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 23.82 ▼8.29 |
Server storage [IO: ▲2.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 646 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
recovery_mode_email_last_sent |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Blockify - Lightweight Full Site Editing Block Toolkit: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲66 | 14.34 ▼0.37 | 1.65 ▼0.22 | 47.07 ▲3.93 |
Dashboard /wp-admin | 2,192 ▲12 | 5.68 ▲0.04 | 92.53 ▼3.92 | 39.56 ▼3.56 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 38.85 ▲2.68 | 35.80 ▼1.03 |
Add New Post /wp-admin/post-new.php | 45 ▼1,481 | 0.41 ▼22.65 | 0.08 ▼687.89 | 9.25 ▼52.79 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.27 ▲0.09 | 115.86 ▲0.95 | 82.00 ▲35.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-includes/class-wp-list-util.php+170
Undefined index: slug
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 67× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/contact/form-boxed.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/utility/search-toggle.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/blog/grid-boxed.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/testimonial/three-column.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/page/landing.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/blog/three-column.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/footer/default.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/header/default.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/hero/image-below.php
- > /wp-content/plugins/blockify/vendor/blockify/theme/patterns/contact/map.php
- 54× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/blocks/tag-cloud.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blockify/vendor/blockify/theme/includes/common/scripts.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/extensions/counter.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/blockify/vendor/blockify/theme/includes/blocks/table-of-contents.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/extensions/dark-mode.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/extensions/inline-color.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/api/block-extensions.php:399
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/blocks/image.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/blocks/list.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blockify/vendor/blockify/theme/includes/blocks/paragraph.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #9 in blockify/assets to your readme.txt
blockify/blockify.php Passed 13 tests
The main PHP script in "Blockify - Lightweight Full Site Editing Block Toolkit" version 1.3.1 is automatically included on every request by WordPress
41 characters long description:
Blockify full site editing theme toolkit.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin12,101 lines of code in 623 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 147 | 1,782 | 2,344 | 10,198 |
JSON | 3 | 0 | 0 | 1,370 |
SVG | 331 | 0 | 0 | 352 |
CSS | 120 | 0 | 16 | 119 |
HTML | 18 | 69 | 121 | 58 |
JavaScript | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 23.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 19 | 46.34% |
▷ Public methods | 38 | 92.68% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 7.32% |
Functions | 141 | |
▷ Named functions | 137 | 97.16% |
▷ Anonymous functions | 4 | 2.84% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.04MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/blockify/theme/screenshot.png | 36.99KB | 40.73KB | 0.00% |