Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.30MB] [CPU: ▼16.78ms] Passed 4 tests
A check of server-side resources used by Image Gallery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.41 | 33.73 ▼11.30 |
Dashboard /wp-admin | 3.64 ▲0.29 | 36.58 ▼32.74 |
Posts /wp-admin/edit.php | 3.78 ▲0.42 | 39.22 ▼8.36 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.14 ▼14.73 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 38.60 ▲1.57 |
Options /wp-admin/edit.php?post_type=bee_quick_gallery&page=quick_gal_options | 3.82 | 39.10 |
Galleries /wp-admin/edit.php?post_type=bee_quick_gallery | 3.75 | 36.54 |
Add Gallery /wp-admin/post-new.php?post_type=bee_quick_gallery | 3.83 | 42.35 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 277 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Image Gallery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,001 ▲240 | 13.58 ▼0.79 | 15.83 ▲13.99 | 43.28 ▲0.23 |
Dashboard /wp-admin | 2,232 ▲58 | 5.56 ▼0.14 | 87.54 ▼4.08 | 78.69 ▲36.68 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.01 ▼0.01 | 38.71 ▼4.18 | 34.90 ▼2.60 |
Add New Post /wp-admin/post-new.php | 1,730 ▲199 | 21.87 ▼1.40 | 730.26 ▲65.98 | 46.11 ▼14.56 |
Media Library /wp-admin/upload.php | 1,449 ▲49 | 4.34 ▲0.07 | 112.19 ▲13.07 | 83.77 ▲38.75 |
Options /wp-admin/edit.php?post_type=bee_quick_gallery&page=quick_gal_options | 1,035 | 2.41 | 62.36 | 43.36 |
Galleries /wp-admin/edit.php?post_type=bee_quick_gallery | 1,131 | 1.94 | 41.82 | 38.31 |
Add Gallery /wp-admin/post-new.php?post_type=bee_quick_gallery | 1,703 | 3.78 | 67.23 | 90.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=bee_quick_gallery
- > Notice in wp-content/plugins/bee-quick-gallery/includes/framework/extn/mb-settings-page/inc/settings-page-meta-box.php+162
Trying to access array offset on value of type null
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bee-quick-gallery/includes/framework/inc/templates/image-advanced.php
- > /wp-content/plugins/bee-quick-gallery/admin/partials/bee-quick-gallery-admin-display.php
- > /wp-content/plugins/bee-quick-gallery/includes/framework/inc/templates/media.php
- > /wp-content/plugins/bee-quick-gallery/public/partials/bee-quick-gallery-public-display.php
- > /wp-content/plugins/bee-quick-gallery/includes/framework/inc/templates/upload.php
- 53× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/input.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/file-upload.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/color.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_List_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/radio.php:5
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/walkers/base.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/image-advanced.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Text_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/datetime.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Select_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/select-advanced.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/choice.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-quick-gallery/includes/framework/inc/fields/file.php:6
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: photo gallery, portfolio gallery, image gallery, grid gallery, responsive gallery...
bee-quick-gallery/bee-quick-gallery.php Passed 13 tests
The main PHP file in "Image Gallery" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin8,797 lines of code in 213 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 926 | 3,196 | 4,395 |
JavaScript | 88 | 496 | 574 | 2,410 |
CSS | 35 | 150 | 115 | 1,916 |
SVG | 2 | 0 | 0 | 39 |
PO File | 1 | 2 | 4 | 27 |
JSON | 2 | 0 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 6.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 7 | 9.59% |
▷ Concrete classes | 66 | 90.41% |
▷ Final classes | 0 | 0.00% |
Methods | 331 | |
▷ Static methods | 238 | 71.90% |
▷ Public methods | 311 | 93.96% |
▷ Protected methods | 15 | 4.53% |
▷ Private methods | 5 | 1.51% |
Functions | 20 | |
▷ Named functions | 18 | 90.00% |
▷ Anonymous functions | 2 | 10.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
26 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/framework/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
public/css/images/gallery-pro.png | 16.60KB | 6.00KB | ▼ 63.88% |
public/img/thumb/1.png | 2.26KB | 2.26KB | 0.13% |
includes/framework/img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/framework/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |