Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼9.62ms] Passed 4 tests
Analyzing server-side resources used by WP Gallery Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 43.07 ▼2.03 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.02 ▼7.01 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.03 ▼6.56 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 81.73 ▼22.86 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 43.95 ▲11.40 |
Gallery /wp-admin/admin.php?page=wp-gallery-manager | 3.32 | 34.06 |
Settings /wp-admin/admin.php?page=wp-gallery-manager-settings | 3.31 | 41.56 |
Images /wp-admin/admin.php?page=wp-gallery-manager-images | 3.31 | 30.63 |
Server storage [IO: ▲0.20MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 42 new files
Database: 3 new tables, 19 new options
New tables |
---|
wp_xyz_gal_gallery |
wp_xyz_gal_images |
wp_xyz_gal_mapping |
New WordPress options |
---|
xyz_gal_thumb_width |
xyz_gal_slideshow_interval |
db_upgraded |
xyz_gal_page_limit |
widget_recent-posts |
xyz_gal_gallery_height |
xyz_gal_wp_gallery_override |
xyz_gal_img_height |
xyz_gal_img_width |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WP Gallery Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲180 | 13.55 ▼0.73 | 9.21 ▲7.61 | 42.77 ▲0.82 |
Dashboard /wp-admin | 2,231 ▲53 | 5.66 ▼0.01 | 89.52 ▼20.01 | 37.92 ▼1.51 |
Posts /wp-admin/edit.php | 2,147 ▲50 | 2.27 ▲0.25 | 41.81 ▲1.92 | 33.56 ▼5.88 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.76 ▲0.63 | 675.52 ▼28.64 | 67.97 ▲16.77 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.25 ▲0.01 | 109.60 ▲4.64 | 47.78 ▲1.76 |
Gallery /wp-admin/admin.php?page=wp-gallery-manager | 1,070 | 1.85 | 25.83 | 39.57 |
Settings /wp-admin/admin.php?page=wp-gallery-manager-settings | 1,261 | 2.10 | 29.63 | 43.63 |
Images /wp-admin/admin.php?page=wp-gallery-manager-images | 1,067 | 1.84 | 24.71 | 39.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function ' xyz_gallery_network_destroy' not found or invalid function name
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_xyz_gal_images
- wp_xyz_gal_mapping
- wp_xyz_gal_gallery
- Zombie WordPress options detected upon uninstall: 19 options
- xyz_gal_thumb_width
- widget_theysaidso_widget
- xyz_gal_img_height
- db_upgraded
- xyz_gal_img_width
- xyz_credit_link
- xyz_gal_page_limit
- xyz_gal_thumb_height
- xyz_gal_wpgal_responsive
- xyz_gal_gallery_width
- ...
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-gallery-manager-images
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: wordpress image gallery, free gallery, gallery manager, responsive gallery, gallery...
wp-gallery-manager/wp-gallery-manager.php 92% from 13 tests
The main PHP file in "WP Gallery Manager" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 436 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected3,988 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 1,127 | 92 | 3,485 |
CSS | 2 | 158 | 10 | 491 |
JavaScript | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
15 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/linkedin.png | 3.19KB | 0.77KB | ▼ 75.96% |
images/star.png | 3.35KB | 0.83KB | ▼ 75.35% |
images/facebook.png | 0.59KB | 0.66KB | 0.00% |
images/donate.png | 3.45KB | 0.72KB | ▼ 78.97% |
images/xyz_logo.png | 9.26KB | 3.02KB | ▼ 67.36% |