Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼137.37ms] Passed 4 tests
A check of server-side resources used by Lazy Load XT
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 37.40 ▲11.56 |
Dashboard /wp-admin | 3.17 ▲0.11 | 51.90 ▲6.26 |
Posts /wp-admin/edit.php | 3.25 ▲0.14 | 41.85 ▼7.46 |
Add New Post /wp-admin/post-new.php | 5.53 ▲0.09 | 89.51 ▼546.34 |
Media Library /wp-admin/upload.php | 3.11 ▲0.11 | 29.20 ▼1.95 |
Lazy Load XT /wp-admin/options-general.php?page=lazyloadxt | 3.08 | 29.83 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 2 new options
New WordPress options |
---|
lazyloadxt_general |
lazyloadxt_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Lazy Load XT
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,824 ▲187 | 16.26 ▲0.35 | 15.67 ▲7.24 | 48.83 ▼0.11 |
Dashboard /wp-admin | 2,975 ▲44 | 5.91 ▼0.06 | 134.35 ▼11.39 | 117.17 ▼6.50 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▼0.00 | 62.28 ▼2.34 | 97.68 ▲8.53 |
Add New Post /wp-admin/post-new.php | 1,679 ▲7 | 18.86 ▲0.05 | 379.36 ▲7.34 | 107.35 ▼10.03 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.00 ▼0.01 | 161.92 ▲18.89 | 117.96 ▲1.13 |
Lazy Load XT /wp-admin/options-general.php?page=lazyloadxt | 1,327 | 2.09 | 57.56 | 85.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/lazy-load-xt/settings.php
- > /wp-content/plugins/lazy-load-xt/lazy-load-xt.php
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: image, youtube, vimeo, media, lazy load xt...
lazy-load-xt/lazy-load-xt.php 92% from 13 tests
"Lazy Load XT" version 0.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 254 characters long)
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
Everything looks great! No dangerous files found in this plugin1,104 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 163 | 179 | 594 |
PHP | 4 | 83 | 122 | 494 |
CSS | 4 | 0 | 10 | 16 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 29.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 21 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
No PNG files were detected