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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.71ms] Passed 4 tests
A check of server-side resources used by Disable Lazy Load
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.62 ▼9.84 |
Dashboard /wp-admin | 3.32 ▲0.02 | 41.15 ▼3.81 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.78 ▲5.07 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 78.34 ▼16.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.59 ▼0.87 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Disable Lazy Load: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.15 | 1.81 ▼0.24 | 35.36 ▼7.28 |
Dashboard /wp-admin | 2,203 ▲11 | 5.90 ▲0.95 | 112.34 ▲4.45 | 43.28 ▲3.44 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.00 | 39.77 ▲3.11 | 36.94 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,514 ▼20 | 17.65 ▼5.41 | 691.80 ▲2.25 | 58.89 ▼12.21 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.05 | 91.43 ▼18.55 | 40.57 ▼5.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/disable-lazy-load/disable-lazy-load.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'DLL_PATH/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/disable-lazy-load/src/class-disable-lazy-load.php on line 21
- > PHP Warning
require_once(DLL_PATH/vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/disable-lazy-load/src/class-disable-lazy-load.php on line 21
- > PHP Warning
Use of undefined constant DLL_PATH - assumed 'DLL_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/disable-lazy-load/src/class-disable-lazy-load.php on line 21
- > PHP Warning
Use of undefined constant DLL_VERSION - assumed 'DLL_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/disable-lazy-load/src/class-disable-lazy-load.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: skip-lazy-loading, images, disable-lazy-load, lazy-loading
disable-lazy-load/disable-lazy-load.php 92% from 13 tests
"Disable Lazy Load" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.5" instead of "6.1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin564 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 147 | 194 | 522 |
Markdown | 1 | 19 | 0 | 41 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 14.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 40 | |
▷ Static methods | 6 | 15.00% |
▷ Public methods | 39 | 97.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.50% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 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