Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.69ms] Passed 4 tests
Server-side resources used by Unveil Lazy Load
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.02 ▼4.11 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.30 ▼5.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.63 ▼4.20 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.22 ▼17.38 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.85 ▲1.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Unveil Lazy Load: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,035 ▲274 | 13.57 ▼0.78 | 16.50 ▲14.26 | 39.38 ▼1.62 |
Dashboard /wp-admin | 2,192 ▲14 | 5.51 ▼0.12 | 83.30 ▼17.24 | 39.19 ▼4.18 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.02 | 36.80 ▼1.06 | 32.69 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 18.70 ▼4.37 | 620.20 ▼64.30 | 78.19 ▲25.00 |
Media Library /wp-admin/upload.php | 1,397 ▼0 | 4.18 ▼0.20 | 98.16 ▼14.26 | 41.10 ▼6.60 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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
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× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/unveil-lazy-load/unveil-lazy-load.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI ("")
unveil-lazy-load/unveil-lazy-load.php 92% from 13 tests
The main PHP script in "Unveil Lazy Load" version 0.3.1 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 292 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin97 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 28 | 64 |
JavaScript | 2 | 3 | 14 | 33 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 42.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 57.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin