Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.39MB] [CPU: ▲3.96ms] Passed 4 tests
Analyzing server-side resources used by Gallery for Ultimate Member
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.69 ▲1.22 | 52.91 ▲11.96 |
Dashboard /wp-admin | 4.80 ▲1.49 | 56.27 ▲0.46 |
Posts /wp-admin/edit.php | 4.85 ▲1.49 | 56.52 ▲4.22 |
Add New Post /wp-admin/post-new.php | 7.34 ▲1.45 | 103.36 ▲5.22 |
Media Library /wp-admin/upload.php | 4.66 ▲1.42 | 49.39 ▲5.93 |
Settings /wp-admin/admin.php?page=um_gallery_pro_settings | 4.68 | 49.51 |
Albums /wp-admin/admin.php?page=um_gallery | 4.63 | 43.26 |
Server storage [IO: ▲6.43MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 591 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_um_gallery |
wp_um_gallery_comments |
wp_um_gallery_meta |
wp_um_gallery_favorites |
wp_um_gallery_album |
New WordPress options |
---|
um_gallery_version |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_widget_recent_photos |
db_upgraded |
um_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Gallery for Ultimate Member
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲107 | 13.89 ▼0.49 | 1.67 ▼0.12 | 44.52 ▼1.75 |
Dashboard /wp-admin | 2,251 ▲63 | 5.39 ▼0.42 | 112.84 ▼6.86 | 42.33 ▼1.93 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.45 ▲0.44 | 36.23 ▼1.40 | 34.97 ▲1.37 |
Add New Post /wp-admin/post-new.php | 1,567 ▲34 | 18.64 ▼4.43 | 602.92 ▼17.47 | 35.63 ▼15.19 |
Media Library /wp-admin/upload.php | 1,444 ▲56 | 4.75 ▲0.47 | 88.76 ▼17.56 | 43.77 ▼6.53 |
Settings /wp-admin/admin.php?page=um_gallery_pro_settings | 854 | 2.30 | 32.01 | 28.26 |
Albums /wp-admin/admin.php?page=um_gallery | 958 | 2.21 | 29.86 | 26.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 5 tables
- wp_um_gallery_favorites
- wp_um_gallery_album
- wp_um_gallery
- wp_um_gallery_meta
- wp_um_gallery_comments
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- widget_widget_recent_photos
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- um_options
- um_gallery_version
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/apigen/hook-docs.php
- 63× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/gallery-for-ultimate-member/includes/um-gallery-admin-list.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function um_profile_id() in wp-content/plugins/gallery-for-ultimate-member/templates/um-gallery/content-carousel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/gallery-for-ultimate-member/templates/um-gallery/albums.php:30
- > PHP Warning
file_put_contents(/Users/JT/Sites/wpengine/api/hook-docs.html): failed to open stream: No such file or directory in wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/apigen/hook-docs.php on line 229
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/includes/types/CMB2_Type_Checkbox.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gallery-for-ultimate-member/includes/um-gallery-admin-list.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/includes/types/CMB2_Type_Taxonomy_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/gallery-for-ultimate-member/vendor/cmb2/cmb2/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=um_gallery
- > Network (severe)
wp-content/plugins/gallery-for-ultimate-member/assets/css/src/jquery.tagit.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=um_gallery
- > Network (severe)
wp-content/plugins/gallery-for-ultimate-member//assets/js/src/dropzone.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=um_gallery
- > Network (severe)
wp-content/plugins/gallery-for-ultimate-member/assets/js/src/tag-it.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=um_gallery
- > Javascript (severe) in unknown
/wp-content/plugins/gallery-for-ultimate-member/admin/assets/js/um-gallery-admin.js?ver=6.3.1 6:0 Uncaught ReferenceError: Dropzone is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
gallery-for-ultimate-member/gallery-for-ultimate-member.php 92% from 13 tests
The primary PHP file in "Gallery for Ultimate Member" version 1.0.5.9 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.6" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin98,545 lines of code in 393 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 129 | 8,895 | 7,833 | 35,209 |
PO File | 121 | 14,634 | 20,042 | 33,078 |
PHP | 95 | 3,022 | 8,282 | 12,595 |
CSS | 27 | 652 | 1,408 | 9,568 |
JSON | 4 | 0 | 0 | 6,684 |
Sass | 17 | 306 | 29 | 1,411 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 21.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 85 | |
▷ Abstract classes | 9 | 10.59% |
▷ Concrete classes | 76 | 89.41% |
▷ Final classes | 0 | 0.00% |
Methods | 751 | |
▷ Static methods | 127 | 16.91% |
▷ Public methods | 644 | 85.75% |
▷ Protected methods | 94 | 12.52% |
▷ Private methods | 13 | 1.73% |
Functions | 89 | |
▷ Named functions | 87 | 97.75% |
▷ Anonymous functions | 2 | 2.25% |
Constants | 13 | |
▷ Global constants | 7 | 53.85% |
▷ Class constants | 6 | 46.15% |
▷ Public constants | 6 | 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
24 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
vendor/cmb2/cmb2/apigen/theme-bootstrap/src/resources/resize.png | 0.12KB | 0.10KB | ▼ 13.22% |
vendor/cmb2/cmb2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
vendor/cmb2/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/cmb2/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |