Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼14.33ms] Passed 4 tests
An overview of server-side resources used by Disable Lazy Load (Deactivate Lazy Load) Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.40 ▼3.10 |
Dashboard /wp-admin | 3.41 ▲0.06 | 44.58 ▼18.70 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 44.18 ▼6.88 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 76.66 ▼28.63 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.88 ▼0.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
bill_show_warnings |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable Lazy Load (Deactivate Lazy Load) Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.71 ▲0.10 | 2.19 ▲0.60 | 35.72 ▼5.82 |
Dashboard /wp-admin | 2,210 ▲30 | 5.58 ▼0.05 | 88.98 ▲1.66 | 90.70 ▲48.52 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.97 ▲0.03 | 40.74 ▲5.66 | 29.48 ▼6.44 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 18.43 ▼5.34 | 686.14 ▼6.00 | 60.60 ▲9.19 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.11 ▼0.10 | 95.56 ▼3.11 | 73.48 ▲28.02 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- bill_show_warnings
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/lazy-load-disable/includes/checkup/class_bill_catch_errors.php
- > /wp-content/plugins/lazy-load-disable/includes/checkup/bill_class_diagnose.php
- > /wp-content/plugins/lazy-load-disable/lazy-load-disable.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: images, deactivate lazy load, disable lazy load, disable
lazy-load-disable/lazy-load-disable.php Passed 13 tests
Analyzing the main PHP file in "Disable Lazy Load (Deactivate Lazy Load) Plugin" version 1.5
85 characters long description:
To prevent lazy loading, all you need to do is ensure that the plugin remains active.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected947 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 127 | 104 | 947 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/checkup/bell.png | 1.07KB | 0.27KB | ▼ 74.45% |