Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▲1.44ms] Passed 4 tests
Server-side resources used by Lazy load images, videos, iframes, convert to WebP & AVIF - EasyOptimizer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.40 | 35.14 ▼7.52 |
Dashboard /wp-admin | 3.68 ▲0.38 | 55.31 ▲7.87 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 52.55 ▲6.94 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.32 | 95.37 ▲5.25 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 35.99 ▲1.09 |
Easy Optimizer /wp-admin/options-general.php?page=easy-optimizer | 3.52 | 33.53 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Lazy load images, videos, iframes, convert to WebP & AVIF - EasyOptimizer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲31 | 14.67 ▲0.31 | 1.60 ▼0.02 | 40.50 ▼6.34 |
Dashboard /wp-admin | 2,196 ▲16 | 5.60 ▼0.07 | 95.99 ▼3.27 | 41.80 ▼1.52 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.96 ▲0.02 | 39.41 ▲0.91 | 35.82 ▼3.73 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.23 ▲0.00 | 604.30 ▼13.17 | 57.71 ▲5.52 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.02 | 97.14 ▼5.25 | 41.64 ▼4.23 |
Easy Optimizer /wp-admin/options-general.php?page=easy-optimizer | 877 | 2.01 | 24.03 | 34.52 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-optimizer/inc/options.php:7
- > 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 97% from 29 tests
readme.txt 94% 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: Add an image for screenshot #1 (The plugin's settings page, where you can enable lazy-load and preload.)
easy-optimizer/easy-optimizer.php Passed 13 tests
The main PHP script in "Lazy load images, videos, iframes, convert to WebP & AVIF - EasyOptimizer" version 1.0.9 is automatically included on every request by WordPress
119 characters long description:
A plugin to preload pages and lazy-load images to improve FCP, LCP (Largest Contentful Paint), and overall performance.
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 plugin2,233 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 466 | 353 | 2,140 |
CSS | 1 | 0 | 0 | 48 |
JavaScript | 3 | 7 | 2 | 45 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 139.33 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 5.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 1 | 1.08% |
▷ Public methods | 78 | 83.87% |
▷ Protected methods | 15 | 16.13% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 19 | 90.48% |
▷ Anonymous functions | 2 | 9.52% |
Constants | 26 | |
▷ Global constants | 26 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin