Benchmarks
Plugin footprint 83% 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: ▲0.03MB] [CPU: ▼4.88ms] Passed 4 tests
A check of server-side resources used by By Lazy Load
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.84 ▼6.42 |
Dashboard /wp-admin | 3.33 ▲0.03 | 57.22 ▲0.79 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.82 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.50 ▼12.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.07 ▼1.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for By Lazy Load
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.32 ▼0.05 | 3.47 ▲1.66 | 41.98 ▼1.39 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.03 | 84.90 ▼15.55 | 42.92 ▼1.27 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▼0.01 | 38.36 ▲0.75 | 32.42 ▼4.52 |
Add New Post /wp-admin/post-new.php | 1,540 ▼7 | 21.29 ▼1.96 | 632.62 ▼51.92 | 48.54 ▼7.45 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.17 ▲0.03 | 97.52 ▼17.28 | 45.12 ▼1.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: lazy load, image lazy loading, lazy loading, lazy load images
by-lazy-load/by-lazy-load.php Passed 13 tests
"By Lazy Load" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
117 characters long description:
By Lazy Load for images, videos, iframes. With lightweight script instantly improve your sites load time. Simple use.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin177 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 111 | 140 |
JavaScript | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 9 | 64.29% |
▷ Protected methods | 2 | 14.29% |
▷ Private methods | 3 | 21.43% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin