Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼6.17MB] [CPU: ▼1,256,323.85ms] Passed 4 tests
An overview of server-side resources used by Find My Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▼24.77 | 40.99 ▼5,025,267.66 |
Dashboard /wp-admin | 3.39 ▲0.00 | 53.41 ▼15.51 |
Posts /wp-admin/edit.php | 3.51 ▲0.10 | 54.80 ▲1.70 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 91.66 ▼13.53 |
Media Library /wp-admin/upload.php | 3.31 ▲0.04 | 37.05 ▲1.30 |
Find My Blocks /wp-admin/tools.php?page=find-my-blocks | 3.31 | 40.92 |
Server storage [IO: ▲14.91MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
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_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Find My Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.73 ▲0.33 | 1.67 ▼0.03 | 40.77 ▼3.56 |
Dashboard /wp-admin | 2,211 ▲31 | 5.62 ▼0.04 | 84.15 ▼11.01 | 45.07 ▼0.09 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.02 ▲0.08 | 40.30 ▲3.76 | 42.26 ▲6.59 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 18.40 ▼4.83 | 610.24 ▼69.73 | 66.04 ▲12.93 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.23 ▲0.00 | 100.38 ▼9.60 | 45.12 ▲1.31 |
Find My Blocks /wp-admin/tools.php?page=find-my-blocks | 1,022 | 16.73 | 438.48 | 34.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 16 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=find-my-blocks
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 16 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=find-my-blocks
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=find-my-blocks
- > Notice in wp-content/plugins/find-my-blocks/inc/register-route.php+69
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/find-my-blocks/inc/save-settings.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: gutenberg, developer, blocks, adopt me, custom blocks
find-my-blocks/find-my-blocks.php 92% from 13 tests
The primary PHP file in "Find My Blocks" version v3.5.5... is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Version: Use only periods and digits for the version number (ex. "1.0.3" instead of "v3.5.5...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,439 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 18 | 1,267 | 2,163 |
PHP | 6 | 56 | 109 | 275 |
CSS | 1 | 0 | 1 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 14 | |
▷ Named functions | 12 | 85.71% |
▷ Anonymous functions | 2 | 14.29% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin