Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲4.96MB] [CPU: ▲23.35ms] Passed 4 tests
An overview of server-side resources used by Seo Optimized Images
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.85 ▲5.39 | 62.55 ▲23.41 |
Dashboard /wp-admin | 8.87 ▲5.57 | 67.36 ▲18.14 |
Posts /wp-admin/edit.php | 8.87 ▲5.52 | 80.75 ▲34.69 |
Add New Post /wp-admin/post-new.php | 9.24 ▲3.35 | 114.12 ▲17.16 |
Media Library /wp-admin/upload.php | 8.87 ▲5.65 | 66.82 ▲35.44 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.87 | 55.03 |
Server storage [IO: ▲3.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 186 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_debug_mode |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
fs_accounts |
fs_active_plugins |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Seo Optimized Images
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲63 | 13.25 ▼1.30 | 1.70 ▼0.29 | 28.39 ▼15.90 |
Dashboard /wp-admin | 2,240 ▲49 | 5.84 ▲0.95 | 114.05 ▲10.93 | 47.50 ▲5.62 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.02 ▲0.03 | 36.33 ▲1.17 | 34.17 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 22.99 ▲5.44 | 629.74 ▼47.82 | 66.84 ▲5.48 |
Media Library /wp-admin/upload.php | 1,425 ▲46 | 4.23 ▲0.03 | 95.33 ▼8.29 | 43.72 ▲0.32 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,084 | 1.83 | 24.44 | 29.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/seo-optimized-images/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- fs_active_plugins
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- fs_debug_mode
- widget_theysaidso_widget
- fs_accounts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/seo-optimized-images/seo-optimized-images-settings.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Requires at least: Version format is invalid
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
seo-optimized-images/seo-optimized-images.php 85% from 13 tests
The principal PHP file in "Seo Optimized Images" v. 2.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 202 characters long)
- Requires at least: Please use periods and digits for the required version (ex. "7.0" instead of "3.3+")
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin38,841 lines of code in 141 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 8,042 | 17,242 | 33,275 |
CSS | 16 | 336 | 150 | 5,137 |
JavaScript | 5 | 40 | 59 | 215 |
Markdown | 1 | 68 | 0 | 214 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 93.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 2 | 4.17% |
▷ Concrete classes | 46 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,259 | |
▷ Static methods | 197 | 15.65% |
▷ Public methods | 870 | 69.10% |
▷ Protected methods | 17 | 1.35% |
▷ Private methods | 372 | 29.55% |
Functions | 104 | |
▷ Named functions | 104 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/seo-optimized-images.png | 3.12KB | 2.85KB | ▼ 8.43% |