Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▼4.14ms] Passed 4 tests
A check of server-side resources used by Ultimate Image Optimization Helpers
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.33 ▼7.32 |
Dashboard /wp-admin | 3.59 ▲0.29 | 46.88 ▼2.00 |
Posts /wp-admin/edit.php | 3.70 ▲0.35 | 46.24 ▼4.88 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 88.78 ▼2.34 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 35.53 ▲1.61 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
hdev_optimg |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Image Optimization Helpers
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.65 ▼0.78 | 6.08 ▲4.26 | 42.84 ▼9.87 |
Dashboard /wp-admin | 2,209 ▲18 | 5.91 ▼0.14 | 98.34 ▼0.13 | 40.30 ▲0.70 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.14 | 38.02 ▼1.70 | 35.28 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▼8 | 23.21 ▲4.64 | 626.80 ▼22.68 | 61.19 ▼1.10 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.03 | 95.75 ▼4.22 | 42.51 ▼1.95 |
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
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- hdev_optimg
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
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/ultimate-image-optimization-helpers/lib/admin.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
Attributes that require attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
ultimate-image-optimization-helpers/ultimate-image-optimization-helpers.php Passed 13 tests
"Ultimate Image Optimization Helpers" version 0.2.10's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
110 characters long description:
Optimize images and compress file sizes to improve SEO & performance while preserving/improving image quality.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,427 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 514 | 732 | 1,239 |
CSS | 2 | 5 | 2 | 92 |
JavaScript | 2 | 14 | 13 | 60 |
Markdown | 2 | 14 | 0 | 36 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 49.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 7.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 18 | 38.30% |
▷ Public methods | 47 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 16 | |
▷ Global constants | 16 | 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 are no PNG files in this plugin