Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.66ms] Passed 4 tests
An overview of server-side resources used by Block Pattern Maker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.09 ▼2.78 |
Dashboard /wp-admin | 3.32 ▼0.02 | 53.63 ▼7.07 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 52.35 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 94.53 ▲2.77 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.38 ▼0.72 |
Add New /wp-admin/post-new.php?post_type=dk_block_patterns | 5.96 | 84.97 |
Block patterns /wp-admin/edit.php?post_type=dk_block_patterns | 3.30 | 47.97 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=dk_block_patterns | 3.40 | 40.83 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
category_children |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Block Pattern Maker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.27 ▼1.04 | 1.60 ▼0.04 | 42.18 ▼9.11 |
Dashboard /wp-admin | 2,234 ▲46 | 5.82 ▼0.07 | 99.28 ▼6.34 | 40.17 ▲0.67 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 1.97 ▼0.01 | 39.12 ▼2.17 | 36.77 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,568 ▲35 | 18.48 ▼4.59 | 620.41 ▼93.34 | 69.61 ▲5.51 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.17 ▼0.00 | 94.17 ▼12.37 | 44.65 ▲0.41 |
Add New /wp-admin/post-new.php?post_type=dk_block_patterns | 6,212 | 22.36 | 903.79 | 31.10 |
Block patterns /wp-admin/edit.php?post_type=dk_block_patterns | 1,125 | 1.96 | 37.92 | 34.83 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=dk_block_patterns | 1,471 | 2.14 | 28.01 | 34.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- category_children
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/block-pattern-maker/block-pattern-maker.php:64
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: block-editor-patterns, block-editor
block-pattern-maker/block-pattern-maker.php Passed 13 tests
The main file in "Block Pattern Maker" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
44 characters long description:
Create your own block patterns and use them.
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
Everything looks great! No dangerous files found in this plugin40 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 12 | 40 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin