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.02MB] [CPU: ▼3.70ms] Passed 4 tests
Analyzing server-side resources used by Simple Image Converter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.66 ▼3.00 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.41 ▼1.19 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.00 ▼2.75 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 80.68 ▼7.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.32 ▼0.21 |
Image Converter /wp-admin/options-general.php?page=image-Converter-settings | 3.21 | 30.25 |
Server storage [IO: ▲0.30MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Image Converter
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.24 ▼0.32 | 1.94 ▲0.35 | 43.16 ▼1.48 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▼0.12 | 84.06 ▼14.65 | 36.79 ▼1.29 |
Posts /wp-admin/edit.php | 2,083 ▼17 | 2.01 ▼0.00 | 34.26 ▼4.62 | 31.59 ▼3.59 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.23 ▲4.98 | 591.76 ▼38.74 | 49.81 ▼33.40 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.28 ▲0.04 | 101.14 ▼4.59 | 42.14 ▼7.14 |
Image Converter /wp-admin/options-general.php?page=image-Converter-settings | 799 | 2.00 | 29.46 | 29.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-image-converter/simple-image-converter.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please a description for screenshot #1 in simple-image-converter/assets to your readme.txt
- Contributors: Plugin contributors field is missing
simple-image-converter/simple-image-converter.php Passed 13 tests
The main file in "Simple Image Converter" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
114 characters long description:
This plugin will compress images and convert them to WebP format automatically when uploaded to the media library.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected56 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 34 | 56 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.29MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-128x128.png | 13.92KB | 6.55KB | ▼ 52.97% |
img/banner-772x250.png | 93.34KB | 44.61KB | ▼ 52.20% |
img/screenshot-1.png | 50.23KB | 19.04KB | ▼ 62.10% |
img/banner-1544x500.png | 110.11KB | 44.15KB | ▼ 59.91% |
img/icon-256x256.png | 31.45KB | 14.22KB | ▼ 54.78% |