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.11MB] [CPU: ▼5.13ms] Passed 4 tests
Server-side resources used by Album and Image Gallery plus Lightbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 38.36 ▼1.94 |
Dashboard /wp-admin | 3.40 ▲0.10 | 46.00 ▼5.89 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 46.13 ▼3.17 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 82.77 ▼9.51 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 33.81 ▲1.73 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 77 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpos_anylc_site_uid |
widget_recent-posts |
wpos_anylc_redirect |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Album and Image Gallery plus Lightbox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,548 ▼1,214 | 12.77 ▼1.51 | 1.76 ▼0.01 | 18.28 ▼27.28 |
Dashboard /wp-admin | 2,221 ▲44 | 5.57 ▼0.04 | 101.22 ▲4.53 | 51.93 ▲8.31 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.02 ▼0.01 | 35.66 ▼6.53 | 31.57 ▼4.76 |
Add New Post /wp-admin/post-new.php | 6,221 ▲4,684 | 19.18 ▼4.02 | 874.01 ▲256.25 | 60.93 ▲18.37 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.20 ▼0.01 | 95.11 ▼12.77 | 39.75 ▼4.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- wpos_anylc_site_uid
- wpos_anylc_redirect
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (50 tag instead of maximum 10)
album-and-image-gallery-plus-lightbox/album-and-image-gallery.php 92% from 13 tests
The primary PHP file in "Album and Image Gallery plus Lightbox" version 1.9 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("album-and-image-gallery-plus-lightbox.php" instead of "album-and-image-gallery.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin5,276 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 37 | 870 | 1,141 | 4,118 |
CSS | 7 | 61 | 19 | 582 |
JavaScript | 8 | 172 | 90 | 574 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 20.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 2 | 25.00% |
Methods | 52 | |
▷ Static methods | 2 | 3.85% |
▷ Public methods | 48 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 7.69% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
20 compressed PNG files occupy 0.48MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpos-plugins/assets/images/essential-plugin-16.png | 0.46KB | 0.66KB | 0.00% |
wpos-plugins/assets/images/utility-icon.png | 0.72KB | 0.82KB | 0.00% |
wpos-plugins/assets/images/inbound50-by-50.png | 2.09KB | 1.95KB | ▼ 6.78% |
wpos-plugins/assets/images/essential-plugin-50.png | 0.80KB | 1.07KB | 0.00% |
assets/images/popup-icon/popup-design.png | 7.53KB | 4.51KB | ▼ 40.14% |