Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼4.79ms] Passed 4 tests
An overview of server-side resources used by Bloom for Publishers
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 40.76 ▲1.23 |
Dashboard /wp-admin | 3.60 ▲0.25 | 49.49 ▼14.36 |
Posts /wp-admin/edit.php | 3.72 ▲0.36 | 56.51 ▲8.95 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.30 | 90.26 ▼14.98 |
Media Library /wp-admin/upload.php | 3.55 ▲0.31 | 49.52 ▲13.60 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Bloom for Publishers
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲100 | 13.47 ▼0.74 | 7.81 ▲6.04 | 36.15 ▼1.90 |
Dashboard /wp-admin | 2,217 ▲37 | 5.61 ▲0.04 | 89.08 ▲2.52 | 76.88 ▲35.26 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.09 ▲0.07 | 38.80 ▲5.64 | 37.54 ▲3.40 |
Add New Post /wp-admin/post-new.php | 1,699 ▲173 | 22.22 ▼0.88 | 763.73 ▲88.62 | 59.54 ▲10.48 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.24 ▲0.06 | 92.87 ▼3.13 | 77.32 ▲33.52 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bloom-for-publishers/admin/info-geotagging.php
- 6× 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/bloom-for-publishers/post/post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bloom-for-publishers/bloom.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bloom-for-publishers/admin/info-shortcodes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function blm_lib_get_version() in wp-content/plugins/bloom-for-publishers/search/search.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bloom-for-publishers/admin/admin-settings.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bloom-for-publishers/admin/admin-post.php:3
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Invalid URI ("")
bloom-for-publishers/bloom.php 92% from 13 tests
Analyzing the main PHP file in "Bloom for Publishers" version 1.7.8
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("bloom-for-publishers.php" instead of "bloom.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
Everything looks great! No dangerous files found in this plugin7,665 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 406 | 23 | 2,606 |
PHP | 8 | 443 | 379 | 1,859 |
JavaScript | 6 | 555 | 486 | 1,791 |
SVG | 1 | 0 | 4 | 1,409 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
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 | 43 | |
▷ Named functions | 42 | 97.67% |
▷ Anonymous functions | 1 | 2.33% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/state-ny.png | 9.71KB | 4.97KB | ▼ 48.83% |