Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.00ms] Passed 4 tests
A check of server-side resources used by LazyLoad Post Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.95 ▲2.19 |
Dashboard /wp-admin | 3.34 ▼0.01 | 46.69 ▼8.65 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.30 ▼1.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.73 ▼1.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.86 ▼0.94 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 13 new options
New WordPress options |
---|
slwsu_lazyload_post_gallery_styles |
slwsu_lazyload_post_gallery_delete_options |
slwsu_lazyload_post_gallery_grouper |
widget_theysaidso_widget |
slwsu_lazyload_post_gallery_carousel_caption |
theysaidso_admin_options |
slwsu_lazyload_post_gallery_carousel_description |
widget_recent-comments |
slwsu_lazyload_post_gallery_gallery_title |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
LazyLoad Post Gallery: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.30 ▼1.08 | 1.84 ▲0.08 | 42.66 ▲1.91 |
Dashboard /wp-admin | 2,222 ▲34 | 4.84 ▼1.17 | 103.08 ▲0.17 | 41.84 ▲4.16 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.04 ▼0.02 | 37.57 ▼0.74 | 34.29 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 18.66 ▲0.48 | 635.04 ▲15.04 | 49.95 ▼11.97 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.20 ▲0.04 | 99.78 ▲1.46 | 42.42 ▼0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: lazy loading, responsive gallery, gallery, media gallery, media...
lazyload-post-gallery/lazyload-post-gallery.php 92% from 13 tests
The entry point to "LazyLoad Post Gallery" version 0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,907 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 148 | 317 | 935 |
PHP | 12 | 161 | 267 | 703 |
CSS | 2 | 37 | 48 | 146 |
PO File | 1 | 47 | 47 | 123 |
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.28 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 17 | 30.91% |
▷ Public methods | 50 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.09% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin