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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.73ms] Passed 4 tests
An overview of server-side resources used by Disable Lazy Loading
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.13 ▼2.03 |
Dashboard /wp-admin | 3.42 ▲0.07 | 47.54 ▼20.63 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.47 ▲3.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.28 ▼23.22 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.85 ▲2.97 |
Lazy Loading /wp-admin/options-general.php?page=lazy_loading | 3.25 | 35.08 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
dll_basics |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Disable Lazy Loading
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲237 | 14.86 ▲0.46 | 1.84 ▲0.13 | 40.51 ▼6.22 |
Dashboard /wp-admin | 2,361 ▲170 | 6.61 ▲0.79 | 118.63 ▲14.14 | 39.25 ▼4.61 |
Posts /wp-admin/edit.php | 2,267 ▲175 | 3.64 ▲1.65 | 49.74 ▲11.80 | 29.00 ▼9.99 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 23.29 ▲0.04 | 600.04 ▼4.63 | 33.94 ▼27.33 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.29 ▲0.08 | 82.46 ▼16.86 | 39.71 ▼2.03 |
Lazy Loading /wp-admin/options-general.php?page=lazy_loading | 1,032 | 3.44 | 44.84 | 24.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- dll_basics
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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
These attributes need to be fixed:
- Donate link: Invalid URI found ("")
disable-core-lazy-loading/wp-disable-lazy-laoding.php 85% from 13 tests
The main PHP script in "Disable Lazy Loading" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("disable-core-lazy-loading.php" instead of "wp-disable-lazy-laoding.php")
- Domain Path: The domain path folder was not found ("/languages/")
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
Everything looks great! No dangerous files found in this plugin536 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 163 | 356 | 536 |
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.38 |
Average class complexity | 26.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 45 | 97.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.17% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin