Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.11ms] Passed 4 tests
Analyzing server-side resources used by Blocksolid Gather
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.54 ▲3.63 |
Dashboard /wp-admin | 3.45 ▲0.11 | 49.32 ▼12.99 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 46.57 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 82.12 ▼5.43 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 36.01 ▲1.20 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Blocksolid Gather
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲58 | 14.37 ▲0.21 | 1.67 ▲0.07 | 38.61 ▲0.82 |
Dashboard /wp-admin | 2,194 ▲17 | 5.66 ▲0.07 | 94.71 ▲9.98 | 41.07 ▼3.09 |
Posts /wp-admin/edit.php | 2,102 ▲5 | 1.94 ▼0.01 | 34.30 ▼2.85 | 32.15 ▼4.44 |
Add New Post /wp-admin/post-new.php | 6,433 ▲4,905 | 27.11 ▲4.07 | 948.02 ▲256.73 | 75.31 ▲5.61 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.16 ▼0.09 | 95.17 ▼7.44 | 43.31 ▼1.32 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blocksolid-gather/blocksolid-gather.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
blocksolid-gather/blocksolid-gather.php Passed 13 tests
"Blocksolid Gather" version 1.1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
102 characters long description:
Creates a Gutenberg block and shortcode that pulls in related posts and media via specified parameters
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
Everything looks great! No dangerous files found in this plugin2,099 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 289 | 76 | 1,003 |
JavaScript | 1 | 14 | 17 | 910 |
CSS | 2 | 35 | 0 | 186 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
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 | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
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
2 compressed PNG files occupy 0.02MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/no-image.png | 12.00KB | 12.51KB | 0.00% |
media/default-placeholder.png | 8.10KB | 7.86KB | ▼ 2.95% |