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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.63ms] Passed 4 tests
This is a short check of server-side resources used by WPSSO Tune WP Image Editors
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 46.30 ▲5.19 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.49 ▼2.71 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.56 ▲1.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 95.60 ▼1.66 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 30.48 ▼3.59 |
Server storage [IO: ▲0.24MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WPSSO Tune WP Image Editors: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.72 ▲0.00 | 1.69 ▼0.22 | 46.58 ▼1.88 |
Dashboard /wp-admin | 2,201 ▲24 | 5.62 ▼0.02 | 82.66 ▼6.98 | 39.96 ▲0.10 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.94 ▼0.02 | 35.20 ▼0.86 | 33.53 ▼1.35 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 25.16 ▲1.70 | 606.82 ▼62.84 | 67.10 ▼2.11 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.22 ▲0.04 | 100.93 ▲3.56 | 43.18 ▲1.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wpsso-tune-image-editors/gettext/gettext-lib-abstract-com.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/filters.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/filters-upgrade.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/submenu/image-editors.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/filters-wp.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/abstract/com/add-on.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/register.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/abstract/add-on.php
- > /wp-content/plugins/wpsso-tune-image-editors/lib/imagick.php
- > /wp-content/plugins/wpsso-tune-image-editors/gettext/gettext-lib-config.php
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: image, resize, imagemagick, sharpen, imagick
wpsso-tune-image-editors/wpsso-tune-image-editors.php Passed 13 tests
The principal PHP file in "WPSSO Tune WP Image Editors" v. 4.0.0 is loaded by WordPress automatically on each request
104 characters long description:
Improves the appearance of WordPress images for better click through rates from social and search sites.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,077 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 469 | 236 | 848 |
PO File | 1 | 55 | 57 | 148 |
Markdown | 1 | 24 | 0 | 51 |
HTML | 2 | 32 | 0 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 8 | 17.39% |
▷ Public methods | 37 | 80.43% |
▷ Protected methods | 5 | 10.87% |
▷ Private methods | 4 | 8.70% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-128x128.png | 24.49KB | 8.54KB | ▼ 65.12% |
images/icon-256x256.png | 67.32KB | 22.36KB | ▼ 66.79% |