Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲1.14ms] Passed 4 tests
An overview of server-side resources used by Optimize More! - Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 52.20 ▲9.43 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.20 ▼4.65 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 50.99 ▲3.03 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 99.48 ▲5.28 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.73 ▲0.91 |
Optimize More! /wp-admin/admin.php?page=optimize-more-images | 3.33 | 40.71 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Optimize More! - Images
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲72 | 13.24 ▼1.07 | 2.33 ▲0.35 | 45.62 ▲2.38 |
Dashboard /wp-admin | 2,261 ▲58 | 5.81 ▲0.94 | 99.50 ▼8.08 | 43.42 ▼3.30 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.04 ▲0.02 | 42.20 ▲6.30 | 38.12 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,571 ▲23 | 22.91 ▼0.44 | 585.72 ▼74.24 | 58.21 ▼6.33 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.33 ▲0.16 | 100.57 ▼10.36 | 43.37 ▼3.80 |
Optimize More! /wp-admin/admin.php?page=optimize-more-images | 1,790 | 4.32 | 81.81 | 51.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just 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/optimize-more-images/view/admin/parts/partials/sidebar.php
- > /wp-content/plugins/optimize-more-images/index.php
- > /wp-content/plugins/optimize-more-images/includes/index.php
- > /wp-content/plugins/optimize-more-images/public/index.php
- > /wp-content/plugins/optimize-more-images/includes/classes/partials/index.php
- > /wp-content/plugins/optimize-more-images/view/admin/parts/index.php
- > /wp-content/plugins/optimize-more-images/view/index.php
- > /wp-content/plugins/optimize-more-images/includes/classes/index.php
- > /wp-content/plugins/optimize-more-images/view/admin/index.php
- > /wp-content/plugins/optimize-more-images/assets/index.php
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-images/view/admin/parts/extras.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-images/view/admin/parts/partials/use-img-cdn.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-images/view/admin/parts/partials/lazy-load-simple-lozad.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-images/view/admin/parts/lazyload.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-images/view/admin/parts/partials/images-dimensions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-images/view/admin/parts/partials/lazy-load-css-bg-image.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function checked() in wp-content/plugins/optimize-more-images/view/admin/parts/partials/preload-images.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/optimize-more-images/view/admin/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-images/view/admin/parts/partials/lazy-load-extra-config.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/optimize-more-images/view/admin/parts/import-settings.php:4
- > PHP Fatal error
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: web vitals, lazyload, core web vitals, lazy load, preload...
optimize-more-images/optimize-more-images.php 85% from 13 tests
The main PHP file in "Optimize More! - Images" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 161 characters long)
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,699 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 666 | 136 | 1,770 |
CSS | 2 | 121 | 16 | 808 |
JavaScript | 5 | 2 | 4 | 121 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 20.55 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 4.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 3 | 4.41% |
▷ Public methods | 65 | 95.59% |
▷ Protected methods | 1 | 1.47% |
▷ Private methods | 2 | 2.94% |
Functions | 24 | |
▷ Named functions | 10 | 41.67% |
▷ Anonymous functions | 14 | 58.33% |
Constants | 24 | |
▷ Global constants | 12 | 50.00% |
▷ Class constants | 12 | 50.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin