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.08MB] [CPU: ▼1.72ms] Passed 4 tests
An overview of server-side resources used by Gutenberg Blocks Pattern builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 37.05 ▲0.69 |
Dashboard /wp-admin | 3.39 ▲0.09 | 45.13 ▼7.29 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.45 ▼3.60 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.65 ▲5.34 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.54 ▲3.34 |
Help /wp-admin/edit.php?post_type=upbp_pattern&page=upbp_help | 3.28 | 40.26 |
Patterns /wp-admin/edit.php?post_type=upbp_pattern | 3.35 | 49.55 |
New Pattern /wp-admin/post-new.php?post_type=upbp_pattern | 6.02 | 76.37 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Gutenberg Blocks Pattern builder: 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,834 ▲88 | 13.25 ▼1.34 | 4.37 ▲2.72 | 42.93 ▲1.57 |
Dashboard /wp-admin | 2,237 ▲48 | 4.85 ▼1.07 | 111.22 ▼0.76 | 42.44 ▲2.38 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 1.98 ▼0.04 | 39.46 ▲3.23 | 34.76 ▲2.23 |
Add New Post /wp-admin/post-new.php | 1,545 ▲3 | 22.92 ▲4.68 | 594.87 ▼41.79 | 52.01 ▼4.34 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.25 ▲0.01 | 98.70 ▲0.76 | 43.98 ▲0.10 |
Help /wp-admin/edit.php?post_type=upbp_pattern&page=upbp_help | 1,288 | 9.55 | 255.36 | 60.79 |
Patterns /wp-admin/edit.php?post_type=upbp_pattern | 1,081 | 2.00 | 31.24 | 32.44 |
New Pattern /wp-admin/post-new.php?post_type=upbp_pattern | 6,194 | 21.82 | 808.58 | 30.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
ultimate-block-patterns-builder/ubpb.php 92% from 13 tests
"Gutenberg Blocks Pattern builder" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("ultimate-block-patterns-builder.php" instead of "ubpb.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected271 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 35 | 43 | 216 |
CSS | 1 | 10 | 0 | 55 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 11 | |
▷ Named functions | 11 | 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
There are no PNG files in this plugin