Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲7.67MB] [CPU: ▲44.10ms] 50% from 4 tests
Analyzing server-side resources used by Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
Please have a look at the following items
- RAM: The total memory usage must be kept under 10MB (currently 11.83MB on /wp-admin/admin.php?page=ultimatemember-extensions)
- Extra RAM: The extra memory usage should kept under 5MB (currently 7.67MB on /wp-admin/admin.php?page=ultimatemember-extensions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.59 ▲5.13 | 83.74 ▲37.21 |
Dashboard /wp-admin | 11.79 ▲8.44 | 99.48 ▲37.42 |
Posts /wp-admin/edit.php | 11.92 ▲8.56 | 105.65 ▲55.23 |
Add New Post /wp-admin/post-new.php | 16.18 ▲10.30 | 147.30 ▲46.53 |
Media Library /wp-admin/upload.php | 11.79 ▲8.56 | 104.20 ▲62.82 |
Member Directories /wp-admin/edit.php?post_type=um_directory | 11.92 | 97.44 |
Dashboard /wp-admin/admin.php?page=ultimatemember | 11.79 | 97.82 |
Settings /wp-admin/admin.php?page=um_options | 12.33 | 90.80 |
User Roles /wp-admin/admin.php?page=um_roles | 11.82 | 88.85 |
Forms /wp-admin/edit.php?post_type=um_form | 12.32 | 104.14 |
Extensions /wp-admin/admin.php?page=ultimatemember-extensions | 11.83 | 100.76 |
Server storage [IO: ▲6.35MB] [DB: ▲0.07MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- The plugin illegally modified 1 file (0.00KB) outside of "wp-content/plugins/ultimate-member/" and "wp-content/uploads/"
- (new file) wp-content/languages/plugins/.empty
Filesystem: 549 new files
Database: 1 new table, 22 new options
New tables |
---|
wp_um_metadata |
New WordPress options |
---|
um_last_version_upgrade |
um_role_editor_meta |
db_upgraded |
um_is_installed |
um_role_author_meta |
widget_theysaidso_widget |
um_core_directories |
widget_recent-comments |
um_first_activation_date |
um_cache_fonticons |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,147 ▲361 | 14.41 ▼0.15 | 28.69 ▲26.65 | 43.18 ▼0.44 |
Dashboard /wp-admin | 2,278 ▲104 | 5.60 ▼0.01 | 95.80 ▲7.02 | 42.79 ▲2.37 |
Posts /wp-admin/edit.php | 2,472 ▲372 | 4.25 ▲2.27 | 72.94 ▲35.11 | 32.00 ▼1.78 |
Add New Post /wp-admin/post-new.php | 6,701 ▲5,173 | 20.66 ▼2.45 | 978.61 ▲317.64 | 39.15 ▼15.93 |
Media Library /wp-admin/upload.php | 1,486 ▲86 | 4.24 ▼0.01 | 106.14 ▲0.21 | 47.95 ▲1.19 |
Member Directories /wp-admin/edit.php?post_type=um_directory | 1,995 | 4.25 | 67.73 | 33.57 |
Dashboard /wp-admin/admin.php?page=ultimatemember | 1,461 | 4.48 | 69.49 | 44.19 |
Settings /wp-admin/admin.php?page=um_options | 1,322 | 3.93 | 46.94 | 27.54 |
User Roles /wp-admin/admin.php?page=um_roles | 1,522 | 3.89 | 47.26 | 28.04 |
Forms /wp-admin/edit.php?post_type=um_form | 3,300 | 9.17 | 188.11 | 39.04 |
Extensions /wp-admin/admin.php?page=ultimatemember-extensions | 2,036 | 3.82 | 45.46 | 83.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_um_metadata
- This plugin does not fully uninstall, leaving 22 options in the database
- um_role_contributor_meta
- can_compress_scripts
- um_version
- um_role_administrator_meta
- um_core_directories
- db_upgraded
- widget_recent-comments
- um_last_version_upgrade
- theysaidso_admin_options
- um_role_subscriber_meta
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ultimate-member/includes/admin/core/packages/1.3.39/init.php
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function UM() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/content_restriction.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/styles.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_post_type() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/user_roles.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/menus.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/mc_lists.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/init.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function UM() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0.10/styles.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0.10/init.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ultimate-member/includes/admin/core/packages/2.0-beta1/um_cpt.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
ultimate-member/ultimate-member.php Passed 13 tests
"Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin" version 2.7.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
96 characters long description:
The easiest way to create powerful online communities and beautiful user profiles with WordPress
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected84,743 lines of code in 497 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 254 | 12,153 | 20,858 | 47,805 |
JavaScript | 167 | 5,035 | 3,570 | 19,426 |
CSS | 43 | 2,029 | 496 | 11,441 |
SVG | 24 | 0 | 3 | 4,936 |
Sass | 5 | 100 | 4 | 1,080 |
JSON | 4 | 0 | 0 | 55 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 357)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 75.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 880.00 |
Average method complexity | 5.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 357.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 82 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 82 | 100.00% |
▷ Final classes | 3 | 3.66% |
Methods | 1,251 | |
▷ Static methods | 30 | 2.40% |
▷ Public methods | 1,215 | 97.12% |
▷ Protected methods | 12 | 0.96% |
▷ Private methods | 24 | 1.92% |
Functions | 301 | |
▷ Named functions | 270 | 89.70% |
▷ Anonymous functions | 31 | 10.30% |
Constants | 25 | |
▷ Global constants | 14 | 56.00% |
▷ Class constants | 11 | 44.00% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
24 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/libs/jquery-ui/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/libs/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.26KB | 0.09KB | ▼ 66.79% |
assets/img/extensions/jobboardwp.png | 17.33KB | 5.67KB | ▼ 67.30% |
assets/img/extensions/google-recaptcha.png | 23.30KB | 11.42KB | ▼ 51.00% |
includes/admin/assets/img/logo-header.png | 3.70KB | 1.82KB | ▼ 50.91% |