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: ▲0.03MB] [CPU: ▼9.64ms] Passed 4 tests
A check of server-side resources used by ImageMagick Sharpen Resized Images
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.95 ▼8.43 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.87 ▼9.54 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.82 ▼3.65 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.87 ▼16.93 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.25 ▲5.70 |
IM Sharpen Images /wp-admin/options-general.php?page=imagemagick-sharpen-resized-images/imagick-sharpen-resized-images.php | 3.23 | 29.17 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 12 new options
New WordPress options |
---|
Sharpening |
widget_recent-posts |
AutoConLev |
CompressionQuality |
theysaidso_admin_options |
widget_theysaidso_widget |
Radius |
Sigma |
can_compress_scripts |
Threshold |
... |
Browser metrics Passed 4 tests
A check of browser resources used by ImageMagick Sharpen Resized Images
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.22 ▼1.08 | 4.16 ▲2.34 | 45.96 ▲2.15 |
Dashboard /wp-admin | 2,225 ▲19 | 5.85 ▲0.96 | 108.47 ▼7.16 | 42.78 ▼4.49 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.04 ▼0.02 | 39.58 ▼0.35 | 36.26 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,552 ▲20 | 23.41 ▲0.11 | 665.42 ▼17.40 | 51.79 ▼6.99 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.29 ▲0.04 | 108.08 ▲4.04 | 55.98 ▲11.80 |
IM Sharpen Images /wp-admin/options-general.php?page=imagemagick-sharpen-resized-images/imagick-sharpen-resized-images.php | 1,151 | 6.33 | 159.72 | 59.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Imagick' not found in wp-content/plugins/imagemagick-sharpen-resized-images/check.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/imagemagick-sharpen-resized-images/imagick-sharpen-resized-images.php:177
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=imagemagick-sharpen-resized-images/imagick-sharpen-resized-images.php
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=imagemagick-sharpen-resized-images/imagick-sharpen-resized-images.php
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
imagemagick-sharpen-resized-images/imagick-sharpen-resized-images.php 92% from 13 tests
The primary PHP file in "ImageMagick Sharpen Resized Images" version 1.1.7 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("imagemagick-sharpen-resized-images.php" instead of "imagick-sharpen-resized-images.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin146 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 40 | 146 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 19.04KB | 20.29KB | 0.00% |