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.65MB] [CPU: ▲1.45ms] Passed 4 tests
Server-side resources used by Ultimate Lightbox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.64 | 43.48 ▼0.81 |
Dashboard /wp-admin | 4.00 ▲0.69 | 52.68 ▼0.76 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 55.05 ▲8.69 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.64 | 90.44 ▼1.31 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 47.25 ▲14.01 |
Lightbox /wp-admin/admin.php?page=ulb-settings | 3.92 | 40.68 |
Ultimate Lightbox - Welcome! /wp-admin/index.php?page=ulb-getting-started | 3.82 | 37.68 |
About Us /wp-admin/admin.php?page=ewd-ulb-about-us | 3.82 | 35.55 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 236 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
ulb-permission-level |
widget_recent-posts |
db_upgraded |
ulb-installation-time |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Lightbox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲81 | 14.29 ▼0.32 | 1.84 ▲0.22 | 36.84 ▼10.68 |
Dashboard /wp-admin | 2,220 ▲45 | 5.63 ▼0.09 | 91.35 ▼12.90 | 41.63 ▼2.59 |
Posts /wp-admin/edit.php | 2,125 ▲25 | 1.97 ▲0.02 | 39.45 ▲2.73 | 35.78 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,706 ▲176 | 21.94 ▼1.36 | 594.03 ▼128.35 | 46.50 ▼10.41 |
Media Library /wp-admin/upload.php | 1,466 ▲66 | 8.78 ▲4.58 | 204.83 ▲104.06 | 39.94 ▼3.49 |
Lightbox /wp-admin/admin.php?page=ulb-settings | 1,369 | 3.33 | 53.40 | 32.58 |
Ultimate Lightbox - Welcome! /wp-admin/index.php?page=ulb-getting-started | 1,408 | 2.12 | 23.59 | 32.25 |
About Us /wp-admin/admin.php?page=ewd-ulb-about-us | 894 | 1.66 | 25.64 | 23.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- ulb-installation-time
- ulb-permission-level
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 27× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.Select.class.php:24
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.Scheduler.class.php:13
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.InfiniteTable.class.php:27
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.OpeningHours.class.php:28
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.SelectMenu.class.php:20
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.WarningTip.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPage_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPage.Submenu.class.php:11
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.Text.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.Password.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'sapAdminPageSetting_2_6_13' not found in wp-content/plugins/ultimate-lightbox/lib/simple-admin-pages/classes/AdminPageSetting.FileUpload.class.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in ultimate-lightbox/assets to your readme.txt
ultimate-lightbox/ultimate-lightbox.php Passed 13 tests
This is the main PHP file of "Ultimate Lightbox" version 1.1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
A plugin that lets you add a lightbox to images on your site
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 detected12,453 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 74 | 984 | 549 | 4,195 |
PHP | 44 | 1,269 | 1,520 | 4,106 |
CSS | 20 | 321 | 238 | 3,569 |
Markdown | 3 | 126 | 0 | 336 |
SVG | 12 | 11 | 0 | 247 |
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.44 |
Average class complexity | 14.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 1 | 2.38% |
▷ Concrete classes | 41 | 97.62% |
▷ Final classes | 0 | 0.00% |
Methods | 171 | |
▷ Static methods | 3 | 1.75% |
▷ Public methods | 152 | 88.89% |
▷ Protected methods | 4 | 2.34% |
▷ Private methods | 15 | 8.77% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 1.09MB with 0.72MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/ewd-support-icon-documentation.png | 2.13KB | 0.73KB | ▼ 65.63% |
assets/img/dash-asset-stars.png | 43.07KB | 14.24KB | ▼ 66.93% |
assets/img/Icon_Documentation_Grey.png | 21.20KB | 6.73KB | ▼ 68.26% |
assets/img/ewd-ulb-icon.png | 186.84KB | 60.88KB | ▼ 67.41% |
lib/simple-admin-pages/img/options-asset-star.png | 0.78KB | 0.32KB | ▼ 58.92% |