Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▲1.34ms] Passed 4 tests
Analyzing server-side resources used by Zedna WP Image Lazy Load
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.10 ▼5.05 |
Dashboard /wp-admin | 3.38 ▲0.08 | 50.92 ▲2.65 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 51.24 ▲3.30 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 98.27 ▲4.44 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.62 ▲6.18 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 16 new options
New WordPress options |
---|
wpimagelazyload_animationduration |
wpimagelazyload_skipallparent |
wpimagelazyload_themefilesmofidied |
wpimagelazyload_animation |
wpimagelazyload_loadonposition |
wpimagelazyload_skipvideo |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
wpimagelazyload_animationtiming |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zedna WP Image Lazy Load
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.78 ▼0.57 | 13.15 ▲11.55 | 46.54 ▲1.06 |
Dashboard /wp-admin | 2,213 ▲36 | 5.62 ▲0.05 | 85.31 ▼10.55 | 69.44 ▲27.54 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.97 ▼0.05 | 36.03 ▼1.89 | 35.26 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,692 ▲164 | 22.15 ▼1.23 | 678.93 ▼1.92 | 48.63 ▼2.06 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.25 ▲0.07 | 95.48 ▼28.88 | 79.66 ▲27.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 16 options in the database
- wpimagelazyload_loadonposition
- can_compress_scripts
- widget_theysaidso_widget
- wpimagelazyload_animation
- widget_recent-posts
- wpimagelazyload_animationtiming
- wpimagelazyload_skipparent
- wpimagelazyload_phplazyload
- db_upgraded
- theysaidso_admin_options
- ...
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/wp-image-lazy-load/image_lazy_load.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
wp-image-lazy-load/image_lazy_load.php 85% from 13 tests
The main file in "Zedna WP Image Lazy Load" v. 1.6.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-image-lazy-load.php" instead of "image_lazy_load.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 254 characters long)
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
Everything looks great! No dangerous files found in this plugin677 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 35 | 42 | 357 |
JavaScript | 1 | 16 | 38 | 212 |
PO File | 1 | 27 | 29 | 108 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.27MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/pixels.png | 56.13KB | 23.75KB | ▼ 57.68% |
assets/icon-128x128.png | 6.17KB | 3.26KB | ▼ 47.07% |
assets/icon-256x256.png | 15.03KB | 6.30KB | ▼ 58.06% |
assets/wpill-ico.png | 0.64KB | 0.81KB | 0.00% |
assets/banner-772x250.png | 49.77KB | 13.14KB | ▼ 73.59% |