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: ▲0.14MB] [CPU: ▲3.01ms] Passed 4 tests
Analyzing server-side resources used by DooBlockPatterns
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 57.67 ▲10.85 |
Dashboard /wp-admin | 3.44 ▲0.14 | 53.42 ▼1.55 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 54.46 ▲2.56 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 102.02 ▲1.27 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.26 ▲9.77 |
Categories /wp-admin/edit-tags.php?taxonomy=doobp-pattern_cat&post_type=doobp-pattern | 3.36 | 36.18 |
Settings /wp-admin/edit-tags.php?taxonomy=doobp-pattern_cat&post_type=doobp-pattern&page=doobp_options_page | 3.24 | 26.72 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by DooBlockPatterns
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲41 | 14.74 ▲0.06 | 1.97 ▼0.22 | 43.24 ▼0.66 |
Dashboard /wp-admin | 2,233 ▲53 | 5.64 ▼0.01 | 83.07 ▼19.56 | 37.61 ▼5.58 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.02 ▲0.04 | 40.91 ▲5.37 | 38.04 ▲2.50 |
Add New Post /wp-admin/post-new.php | 1,564 ▲35 | 18.34 ▼4.67 | 639.07 ▼4.23 | 75.43 ▲27.05 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.11 ▼0.09 | 110.79 ▲4.17 | 48.60 ▲1.80 |
Categories /wp-admin/edit-tags.php?taxonomy=doobp-pattern_cat&post_type=doobp-pattern | 1,306 | 2.11 | 29.18 | 29.94 |
Settings /wp-admin/edit-tags.php?taxonomy=doobp-pattern_cat&post_type=doobp-pattern&page=doobp_options_page | 28 | 0.42 | 0.07 | 4.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/edit-tags.php?taxonomy=doobp-pattern_cat&post_type=doobp-pattern&page=doobp_options_page
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=doobp-pattern_cat&post_type=doobp-pattern&page=doobp_options_page - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Requires php: The plugin version is formatted incorrectly
doo-block-patterns/doo-block-patterns.php 92% from 13 tests
The principal PHP file in "DooBlockPatterns" v. 1.2.5 is loaded by WordPress automatically on each request
Please make the necessary changes and 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected532 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 35 | 89 | 437 |
PO File | 1 | 38 | 40 | 95 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 22 | |
▷ Named functions | 20 | 90.91% |
▷ Anonymous functions | 2 | 9.09% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin