Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼3.19ms] Passed 4 tests
Server-side resources used by Lazy Load Anything
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 51.29 ▲12.19 |
Dashboard /wp-admin | 3.72 ▲0.42 | 50.16 ▲3.34 |
Posts /wp-admin/edit.php | 3.77 ▲0.42 | 45.28 ▼1.37 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 81.89 ▼13.10 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 35.34 ▼1.64 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lazy Load Anything
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 13.60 ▼1.02 | 2.05 ▲0.32 | 43.13 ▼0.27 |
Dashboard /wp-admin | 2,206 ▲15 | 4.87 ▲0.00 | 101.42 ▼5.26 | 38.63 ▼4.35 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.04 ▲0.05 | 34.40 ▲0.29 | 34.19 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 18.38 ▲0.95 | 603.61 ▲10.75 | 51.23 ▼7.91 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.01 | 97.27 ▲2.45 | 42.40 ▲0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/delay-load-any-content/vendor/activate.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 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
7 plugin tags: page speed, lazyload, fast site, lazy load, wordpress speed...
delay-load-any-content/idle-load.php 85% from 13 tests
The main file in "Lazy Load Anything" v. 2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("delay-load-any-content.php" instead of "idle-load.php")
- Description: The description should be shorter than 140 characters (currently 287 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,283 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 377 | 662 | 2,142 |
JSON | 3 | 0 | 0 | 109 |
Markdown | 3 | 17 | 0 | 29 |
JavaScript | 1 | 0 | 1 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 69.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 197.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 19 | 15.20% |
▷ Public methods | 107 | 85.60% |
▷ Protected methods | 16 | 12.80% |
▷ Private methods | 2 | 1.60% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 23 | |
▷ Global constants | 23 | 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
No PNG files were detected