Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.77ms] Passed 4 tests
A check of server-side resources used by Simple Image Optimizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 47.32 ▲4.81 |
Dashboard /wp-admin | 3.31 ▲0.01 | 55.76 ▼3.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.85 ▲3.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 84.99 ▼9.34 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.27 ▼2.19 |
Simple Image Optimizer /wp-admin/options-general.php?page=simple_io_admin_menu | 3.17 | 31.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Simple Image Optimizer: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼1.07 | 1.76 ▼0.33 | 45.08 ▲1.98 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼0.96 | 111.61 ▲7.92 | 44.80 ▲2.15 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.02 ▲0.05 | 34.45 ▼16.98 | 35.12 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.27 ▼0.14 | 669.65 ▲47.64 | 57.19 ▲5.13 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▲0.04 | 95.49 ▼9.13 | 45.48 ▼0.31 |
Simple Image Optimizer /wp-admin/options-general.php?page=simple_io_admin_menu | 783 | 2.06 | 25.40 | 25.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple_io_admin_menu
- > Notice in wp-content/plugins/simple-image-optimizer/simple-image-optimizer.php+73
Undefined index: quality_percentaje
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 fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/simple-image-optimizer/simple-image-optimizer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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 to be fixed:
- Requires php: The plugin version is formatted incorrectly
simple-image-optimizer/simple-image-optimizer.php 92% from 13 tests
"Simple Image Optimizer" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 167 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin132 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 23 | 132 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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
No PNG files were detected