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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.49ms] Passed 4 tests
This is a short check of server-side resources used by Lightbox Pop - Responsive Lightbox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 34.85 ▼2.93 |
Dashboard /wp-admin | 3.40 ▲0.09 | 41.70 ▼7.25 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 41.12 ▼1.95 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 78.63 ▼12.24 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 32.09 ▼3.53 |
About /wp-admin/admin.php?page=lightbox-popup-about | 3.36 | 30.79 |
Lightbox Popup /wp-admin/admin.php?page=lightbox-popup-settings | 3.43 | 35.11 |
Basic Settings /wp-admin/admin.php?page=lightbox-basic-settings | 3.30 | 32.49 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 47 new options
New WordPress options |
---|
xyz_lbx_enable |
xyz_tinymce |
xyz_lbx_bottom |
xyz_lbx_showing_option |
xyz_lbx_cache_enable |
xyz_lbx_left_dim |
xyz_lbx_opacity |
xyz_lbx_free_version |
xyz_lbx_delay |
xyz_lbx_mode |
... |
Browser metrics Passed 4 tests
Lightbox Pop - Responsive Lightbox: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,999 ▲253 | 14.14 ▼0.21 | 8.05 ▲6.41 | 39.95 ▲2.95 |
Dashboard /wp-admin | 2,243 ▲55 | 5.88 ▲0.03 | 93.99 ▼6.92 | 76.47 ▲38.05 |
Posts /wp-admin/edit.php | 2,126 ▲37 | 2.03 ▼0.02 | 34.33 ▼1.12 | 31.69 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 22.93 ▼0.16 | 757.59 ▲73.50 | 48.22 ▼8.60 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.23 ▲0.01 | 97.25 ▼0.87 | 83.37 ▲37.96 |
About /wp-admin/admin.php?page=lightbox-popup-about | 1,826 | 1.69 | 26.24 | 62.10 |
Lightbox Popup /wp-admin/admin.php?page=lightbox-popup-settings | 2,934 | 7.09 | 142.14 | 127.01 |
Basic Settings /wp-admin/admin.php?page=lightbox-basic-settings | 1,252 | 1.72 | 24.83 | 40.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 12 options
- widget_recent-posts
- xyz_lbx_free_version
- xyz_credit_link
- xyz_lbx_bottom_dim
- xyz_lbx_right_dim
- xyz_lbx_bottom
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- xyz_lbx_right
- ...
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
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/lightbox-pop/admin/footer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (15 tag instead of maximum 10)
lightbox-pop/lightbox-pop.php 92% from 13 tests
The main file in "Lightbox Pop - Responsive Lightbox" v. 2.3.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 434 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected2,423 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 380 | 63 | 1,915 |
CSS | 1 | 125 | 3 | 470 |
JavaScript | 2 | 7 | 1 | 38 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
18 PNG files occupy 0.06MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star.png | 3.35KB | 0.83KB | ▼ 75.35% |
images/cross.png | 0.75KB | 0.65KB | ▼ 12.83% |
images/facebook.png | 0.65KB | 0.65KB | ▼ 0.75% |
images/tick.png | 0.91KB | 0.87KB | ▼ 4.30% |
images/lightbox-popup.png | 0.62KB | 0.74KB | 0.00% |