Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.44ms] Passed 4 tests
Server-side resources used by Ultimate Image Gallery - Image Zoom, Viewer, Lightbox and Filter Gallery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 48.55 ▲3.11 |
Dashboard /wp-admin | 3.38 ▲0.04 | 50.56 ▼12.51 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 46.88 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.71 ▼4.26 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.56 ▲4.59 |
Filter category /wp-admin/edit-tags.php?taxonomy=uig-filter-category&post_type=uig_image_gallery | 3.31 | 37.12 |
All Galleries /wp-admin/edit.php?post_type=uig_image_gallery | 3.38 | 42.56 |
Add Gallery /wp-admin/post-new.php?post_type=uig_image_gallery | 3.45 | 46.15 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
uig-filter-category_default |
uig-filter-category_children |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Image Gallery - Image Zoom, Viewer, Lightbox and Filter Gallery
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲155 | 13.77 ▼0.63 | 10.94 ▲8.63 | 41.14 ▼10.04 |
Dashboard /wp-admin | 2,230 ▲53 | 5.62 ▼0.05 | 84.92 ▼9.57 | 38.11 ▼2.36 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.06 ▲0.05 | 35.48 ▼4.85 | 33.47 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.44 ▼0.13 | 596.00 ▼82.88 | 47.64 ▼11.48 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.24 ▼0.09 | 98.13 ▼2.11 | 43.68 ▼1.16 |
Filter category /wp-admin/edit-tags.php?taxonomy=uig-filter-category&post_type=uig_image_gallery | 1,417 | 2.17 | 30.36 | 31.21 |
All Galleries /wp-admin/edit.php?post_type=uig_image_gallery | 1,270 | 3.30 | 53.68 | 31.45 |
Add Gallery /wp-admin/post-new.php?post_type=uig_image_gallery | 2,000 | 3.62 | 74.61 | 50.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- uig-filter-category_children
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- uig-filter-category_default
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/ultimate-image-gallery/templates/filter-buttons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ultimate-image-gallery/templates/image-loop.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/ultimate-image-gallery/includes/meta-fields.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ultimate-image-gallery/templates/gallery.php:1
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 23 tag instead of maximum 10
ultimate-image-gallery/ultimate-image-gallery.php 85% from 13 tests
The main file in "Ultimate Image Gallery - Image Zoom, Viewer, Lightbox and Filter Gallery" v. 1.0.06 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 168 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,393 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 659 | 380 | 2,232 |
CSS | 3 | 110 | 30 | 714 |
PHP | 8 | 73 | 74 | 447 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin