Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼6.13ms] 75% from 4 tests
Server-side resources used by Block Pattern Builder For WordPress - Boost Up Gutenberg Patterns
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 2,480.09ms on /wp-admin/edit.php?post_type=ssbp-block-pattern&page=ssbp-browse-patterns)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 46.08 ▲2.42 |
Dashboard /wp-admin | 3.39 ▲0.05 | 54.14 ▼15.63 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 51.62 ▼0.07 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 98.53 ▼8.73 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 40.14 ▼0.07 |
Keywords /wp-admin/edit-tags.php?taxonomy=ssbp-keywords&post_type=ssbp-block-pattern | 3.31 | 36.07 |
Browse Patterns /wp-admin/edit.php?post_type=ssbp-block-pattern&page=ssbp-browse-patterns | 3.32 | 2,480.09 |
All Block Patterns /wp-admin/edit.php?post_type=ssbp-block-pattern | 3.36 | 42.39 |
Add New /wp-admin/post-new.php?post_type=ssbp-block-pattern | 6.13 | 85.99 |
Categories /wp-admin/edit-tags.php?taxonomy=ssbp-categories&post_type=ssbp-block-pattern | 3.31 | 35.52 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Block Pattern Builder For WordPress - Boost Up Gutenberg Patterns
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 14.50 ▲0.47 | 1.64 ▼0.04 | 39.82 ▼2.15 |
Dashboard /wp-admin | 2,237 ▲60 | 5.65 ▲0.05 | 92.73 ▼0.69 | 41.77 ▼1.57 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.02 ▲0.03 | 39.54 ▲2.38 | 36.70 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 22.93 ▼0.33 | 614.96 ▼50.10 | 54.43 ▼6.53 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.22 ▲0.01 | 97.82 ▼18.32 | 43.65 ▼6.28 |
Keywords /wp-admin/edit-tags.php?taxonomy=ssbp-keywords&post_type=ssbp-block-pattern | 1,282 | 2.12 | 28.10 | 31.64 |
Browse Patterns /wp-admin/edit.php?post_type=ssbp-block-pattern&page=ssbp-browse-patterns | 1,135 | 2.04 | 25.62 | 33.55 |
All Block Patterns /wp-admin/edit.php?post_type=ssbp-block-pattern | 1,179 | 1.95 | 35.48 | 31.68 |
Add New /wp-admin/post-new.php?post_type=ssbp-block-pattern | 1,594 | 17.05 | 826.19 | 32.74 |
Categories /wp-admin/edit-tags.php?taxonomy=ssbp-categories&post_type=ssbp-block-pattern | 1,285 | 2.12 | 29.66 | 32.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-block-patterns/inc/patterns-settings.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-block-patterns/inc/load-pattern.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/create-block-patterns/inc/filter-tabs/latest-patterns.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/create-block-patterns/inc/browse-patterns.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/create-block-patterns/inc/custom-post-type.php:135
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/create-block-patterns/inc/filter-tabs/author-patterns.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (Block patterns list table screen.), #2 (Categories list table screen.), #3 (Block pattern settings sidebar.)
create-block-patterns/block-pattern.php 62% from 13 tests
The primary PHP file in "Block Pattern Builder For WordPress - Boost Up Gutenberg Patterns" version 3.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 181 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("5.9.3" instead of "5.2")
- Main file name: Name the main plugin file the same as the plugin slug ("create-block-patterns.php" instead of "block-pattern.php")
- Requires PHP: Required version must match the one declared in readme.txt ("5.6" instead of "7.2")
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
Success! There were no dangerous files found in this plugin473 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 41 | 63 | 362 |
JavaScript | 1 | 8 | 3 | 93 |
CSS | 1 | 0 | 1 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin