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.00MB] [CPU: ▼6.28ms] Passed 4 tests
An overview of server-side resources used by Lightest Lazy Load
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.64 ▼4.09 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.14 ▼7.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.68 ▼3.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.13 ▼10.07 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.60 ▼2.19 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lightest Lazy Load
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲57 | 13.69 ▼0.93 | 2.15 ▲0.06 | 40.62 ▼4.33 |
Dashboard /wp-admin | 2,203 ▲20 | 5.82 ▲0.86 | 97.13 ▼25.03 | 39.91 ▼3.35 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 35.15 ▼2.41 | 32.30 ▼3.28 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.24 ▲0.15 | 641.07 ▼47.26 | 56.16 ▼5.50 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.25 ▲0.02 | 95.74 ▼13.12 | 41.87 ▼6.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- 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
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fs-lazy-load/fs-lazy-load.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
fs-lazy-load/fs-lazy-load.php Passed 13 tests
The principal PHP file in "Lightest Lazy Load" v. 1.0 is loaded by WordPress automatically on each request
84 characters long description:
Il plugin per il Lazy Load delle immagini più leggero che tu possa trovare in giro!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin56 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 5 | 10 | 31 |
SVG | 1 | 0 | 1 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-128x128.png | 5.25KB | 2.60KB | ▼ 50.58% |
banner-1544x500-rtl.png | 8.58KB | 4.30KB | ▼ 49.87% |
banner-772x250-rtl.png | 3.78KB | 1.95KB | ▼ 48.36% |
icon-256x256.png | 8.19KB | 4.03KB | ▼ 50.79% |
banner-772x250.png | 3.78KB | 1.95KB | ▼ 48.36% |