Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.62MB] [CPU: ▼8.78ms] Passed 4 tests
Server-side resources used by WP Load Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.14 ▲0.67 | 48.64 ▲8.52 |
Dashboard /wp-admin | 3.97 ▲0.62 | 50.74 ▼17.47 |
Posts /wp-admin/edit.php | 4.02 ▲0.66 | 50.86 ▼0.32 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 84.43 ▼22.60 |
Media Library /wp-admin/upload.php | 3.83 ▲0.60 | 43.12 ▲5.29 |
Galleries /wp-admin/admin.php?page=wp-load-gallery | 4.24 | 47.96 |
Cloud /wp-admin/admin.php?page=load_gallery_cloud | 3.81 | 36.79 |
Server storage [IO: ▲8.69MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 251 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_wplg_gallery_items |
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
wplg_version_1_0_0 |
widget_recent-comments |
widget_recent-posts |
widget_wplg_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Load Gallery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.17 ▼1.10 | 1.94 ▲0.12 | 43.08 ▲2.61 |
Dashboard /wp-admin | 2,229 ▲41 | 4.86 ▼1.04 | 107.90 ▲4.66 | 41.35 ▼3.86 |
Posts /wp-admin/edit.php | 2,112 ▲23 | 2.04 ▲0.04 | 35.73 ▼1.73 | 33.30 ▼4.86 |
Add New Post /wp-admin/post-new.php | 6,374 ▲4,852 | 27.76 ▲4.47 | 901.64 ▲216.63 | 59.22 ▲6.74 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.25 ▲0.03 | 113.67 ▼1.45 | 47.09 ▼6.71 |
Galleries /wp-admin/admin.php?page=wp-load-gallery | 4,703 | 3.87 | 79.78 | 28.67 |
Cloud /wp-admin/admin.php?page=load_gallery_cloud | 930 | 2.04 | 22.96 | 33.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 1 table
- wp_wplg_gallery_items
- Zombie WordPress options detected upon uninstall: 8 options
- wplg_version_1_0_0
- widget_theysaidso_widget
- widget_wplg_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 21× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-load-gallery/frontend/themes/default/default.php
- > /wp-content/plugins/wp-load-gallery/admin/class/widget.php
- > /wp-content/plugins/wp-load-gallery/frontend/themes/square_grid/square_grid.php
- > /wp-content/plugins/wp-load-gallery/frontend/class/main-front.php
- > /wp-content/plugins/wp-load-gallery/frontend/themes/post_grid/post_grid.php
- > /wp-content/plugins/wp-load-gallery/frontend/themes/portfolio/portfolio.php
- > /wp-content/plugins/wp-load-gallery/wp-load-gallery.php
- > /wp-content/plugins/wp-load-gallery/admin/pages/gallery_details.php
- > /wp-content/plugins/wp-load-gallery/admin/pages/trees.php
- > /wp-content/plugins/wp-load-gallery/admin/pages/image_details.php
- 75× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/Appsactivity.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/Manager.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/Oauth2.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/AndroidEnterprise.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/Audit.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/Drive.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/AdExchangeSeller.php:32
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/Datastore.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/SQLAdmin.php:31
- > PHP Fatal error
Uncaught Error: Class 'Google_Service' not found in wp-content/plugins/wp-load-gallery/includes/Google/Service/AndroidPublisher.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #3, #4, #5, #6, #7, #8, #9 in wp-load-gallery/assets to your readme.txt
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-load-gallery/wp-load-gallery.php Passed 13 tests
The main PHP file in "WP Load Gallery" ver. 2.1.6 adds more information about the plugin and also serves as the entry point for this plugin
81 characters long description:
Display image and video gallery from media library, server folder, Youtube, Vimeo
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin190,036 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 141 | 10,911 | 30,600 | 160,018 |
JavaScript | 20 | 8,209 | 5,048 | 18,487 |
CSS | 10 | 2,198 | 113 | 10,525 |
SVG | 6 | 1 | 0 | 832 |
JSX | 1 | 22 | 22 | 174 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 1.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 265.00 |
Average method complexity | 1.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 2,786 | |
▷ Abstract classes | 6 | 0.22% |
▷ Concrete classes | 2,780 | 99.78% |
▷ Final classes | 0 | 0.00% |
Methods | 21,921 | |
▷ Static methods | 47 | 0.21% |
▷ Public methods | 21,850 | 99.68% |
▷ Protected methods | 34 | 0.16% |
▷ Private methods | 37 | 0.17% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 245 | |
▷ Global constants | 6 | 2.45% |
▷ Class constants | 239 | 97.55% |
▷ Public constants | 239 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
34 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/grid_arrow_left.png | 2.92KB | 2.08KB | ▼ 28.98% |
assets/images/arrows_strip_left.png | 0.19KB | 0.12KB | ▼ 35.90% |
assets/images/icon_zoom_plus.png | 0.33KB | 0.24KB | ▼ 29.12% |
assets/images/play-button-square.png | 4.48KB | 1.62KB | ▼ 63.89% |
assets/images/jpeg.png | 0.20KB | 0.22KB | 0.00% |