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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.34MB] [CPU: ▼16.94ms] Passed 4 tests
Analyzing server-side resources used by Advanced lazy load
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.14 ▼40.68 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.94 ▼6.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.12 ▼2.72 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.82 ▼18.13 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.58 ▼2.02 |
Advanced lazy load /wp-admin/options-general.php?page=Advanced-lazy-load | 3.20 | 31.39 |
Server storage [IO: ▲0.64MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ifd_pixel |
can_compress_scripts |
db_upgraded |
ifd_duration |
widget_recent-posts |
widget_theysaidso_widget |
cb_adlzylad_mobile |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced lazy load
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,028 ▲293 | 13.82 ▼0.54 | 14.33 ▲12.60 | 39.45 ▼4.83 |
Dashboard /wp-admin | 2,210 ▲25 | 5.81 ▼0.06 | 96.33 ▼15.34 | 40.80 ▼13.00 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.02 | 38.69 ▼3.14 | 33.80 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.70 ▼5.48 | 644.73 ▲36.21 | 52.47 ▲3.92 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.13 ▼0.11 | 93.67 ▼4.81 | 44.10 ▼0.52 |
Advanced lazy load /wp-admin/options-general.php?page=Advanced-lazy-load | 1,007 | 2.02 | 22.53 | 33.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 9 options in the database
- db_upgraded
- ifd_pixel
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- ifd_duration
- theysaidso_admin_options
- widget_recent-comments
- cb_adlzylad_mobile
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-lazy-load/advanced_lazyload.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (/screenshot-1.jpg), #2 (/screenshot-2.jpg), #3 (/screenshot-3.jpg)
- Donate link: Invalid URI ("")
advanced-lazy-load/advanced_lazyload.php 85% from 13 tests
Analyzing the main PHP file in "Advanced lazy load" version 1.6.0
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 183 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advanced-lazy-load.php" instead of "advanced_lazyload.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected6,737 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 136 | 2,080 | 6,731 |
JavaScript | 1 | 4 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 55.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 555.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 80.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 2 | 7.14% |
▷ Concrete classes | 26 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 493 | |
▷ Static methods | 75 | 15.21% |
▷ Public methods | 384 | 77.89% |
▷ Protected methods | 107 | 21.70% |
▷ Private methods | 2 | 0.41% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 55 | |
▷ Global constants | 4 | 7.27% |
▷ Class constants | 51 | 92.73% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imgs/star.png | 9.27KB | 4.68KB | ▼ 49.50% |