Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.23MB] [CPU: ▲14.17ms] 75% from 4 tests
An overview of server-side resources used by WP User Manager - User Profile Builder & Membership
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 1,453.03ms on /wp-admin/users.php?page=wpum-addons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.54 ▲1.08 | 57.72 ▲19.62 |
Dashboard /wp-admin | 4.56 ▲1.26 | 66.05 ▲17.71 |
Posts /wp-admin/edit.php | 4.69 ▲1.34 | 62.14 ▲12.87 |
Add New Post /wp-admin/post-new.php | 7.47 ▲1.58 | 112.19 ▲28.05 |
Media Library /wp-admin/upload.php | 4.48 ▲1.25 | 43.61 ▲6.49 |
Emails /wp-admin/users.php?page=wpum-emails | 4.48 | 48.28 |
Getting started with WP User Manager /wp-admin/index.php?page=wpum-getting-started | 4.47 | 45.91 |
Custom Fields /wp-admin/users.php?page=wpum-custom-fields | 4.95 | 48.42 |
Addons /wp-admin/users.php?page=wpum-addons | 4.77 | 1,453.03 |
Roles /wp-admin/users.php?page=wpum-roles | 4.48 | 47.87 |
Settings /wp-admin/users.php?page=wpum-settings | 4.54 | 49.69 |
Registration Forms /wp-admin/users.php?page=wpum-registration-forms | 4.48 | 54.30 |
Directories /wp-admin/edit.php?post_type=wpum_directory | 4.70 | 55.10 |
Server storage [IO: ▲16.96MB] [DB: ▲0.12MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 1,618 new files
Database: 8 new tables, 23 new options
New tables |
---|
wp_wpum_fields |
wp_wpum_registration_forms |
wp_wpum_fieldmeta |
wp_wpum_stripe_subscriptions |
wp_wpum_search_fields |
wp_wpum_registration_formmeta |
wp_wpum_fieldsgroups |
wp_wpum_stripe_invoices |
New WordPress options |
---|
wpdb_wpum_fields_version |
wpum_activation_date |
widget_wpum_registration_form_widget |
theysaidso_admin_options |
widget_wpum_login_form_widget |
widget_wpum_recently_registered_users |
widget_wpum_password_recovery |
wpum_version |
widget_recent-posts |
db_upgraded |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP User Manager - User Profile Builder & Membership
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,117 ▲330 | 19.58 ▲4.87 | 5.46 ▲3.48 | 42.31 ▼5.93 |
Dashboard /wp-admin | 2,410 ▲233 | 9.32 ▲3.68 | 172.14 ▲76.14 | 32.62 ▼11.13 |
Posts /wp-admin/edit.php | 2,352 ▲252 | 6.63 ▲4.69 | 115.94 ▲74.59 | 32.65 ▼6.13 |
Add New Post /wp-admin/post-new.php | 1,742 ▲216 | 27.67 ▲4.48 | 949.08 ▲241.91 | 43.10 ▼7.94 |
Media Library /wp-admin/upload.php | 1,483 ▲83 | 7.25 ▲3.07 | 136.96 ▲40.72 | 41.03 ▲0.50 |
Emails /wp-admin/users.php?page=wpum-emails | 1,292 | 7.38 | 142.15 | 44.89 |
Getting started with WP User Manager /wp-admin/index.php?page=wpum-getting-started | 1,452 | 8.88 | 203.19 | 68.75 |
Custom Fields /wp-admin/users.php?page=wpum-custom-fields | 1,203 | 9.32 | 162.39 | 24.47 |
Addons /wp-admin/users.php?page=wpum-addons | 1,684 | 6.33 | 96.10 | 80.73 |
Roles /wp-admin/users.php?page=wpum-roles | 1,401 | 8.02 | 134.75 | 27.35 |
Settings /wp-admin/users.php?page=wpum-settings | 1,658 | 8.04 | 160.42 | 45.05 |
Registration Forms /wp-admin/users.php?page=wpum-registration-forms | 1,211 | 9.32 | 165.95 | 24.76 |
Directories /wp-admin/edit.php?post_type=wpum_directory | 1,323 | 6.55 | 108.57 | 24.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.10MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 11 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- v202_upgrade
- widget_wpum_recently_registered_users
- theysaidso_admin_options
- widget_wpum_password_recovery
- widget_recent-comments
- widget_wpum_registration_form_widget
- widget_wpum_login_form_widget
- ...
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-user-manager/vendor-dist/wp-user-manager/wp-optionskit/includes/views/settings-page.php
- > /wp-content/plugins/wp-user-manager/vendor-dist/symfony/translation/Resources/bin/translation-status.php
- > /wp-content/plugins/wp-user-manager/templates/emails/footer-none.php
- > /wp-content/plugins/wp-user-manager/vendor-dist/masterminds/html5/bin/entities.php
- > /wp-content/plugins/wp-user-manager/vendor-dist/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 768× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Stripe\\ApiResource' not found in wp-content/plugins/wp-user-manager/vendor-dist/stripe/stripe-php/lib/SingletonApiResource.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-user-manager/vendor-dist/composer/installers/src/Composer/Installers/WHMCSInstaller.php:5
- > PHP Fatal error
Trait 'WPUM\\Carbon\\Traits\\Mixin' not found in wp-content/plugins/wp-user-manager/vendor-dist/nesbot/carbon/src/Carbon/Traits/Macro.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-user-manager/vendor-dist/composer/installers/src/Composer/Installers/MicroweberInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-user-manager/vendor-dist/composer/installers/src/Composer/Installers/ZikulaInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/wp-user-manager/vendor-dist/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Carbon_Fields\\Field\\Field' not found in wp-content/plugins/wp-user-manager/vendor-dist/htmlburger/carbon-fields/core/Field/Color_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Stripe\\ApiResource' not found in wp-content/plugins/wp-user-manager/vendor-dist/stripe/stripe-php/lib/PaymentMethod.php:58
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\Dompdf\\FrameDecorator\\Block' not found in wp-content/plugins/wp-user-manager/vendor-dist/dompdf/dompdf/src/FrameDecorator/TableCell.php:18
- > PHP Fatal error
Uncaught Error: Class 'WPUM\\FontLib\\TrueType\\File' not found in wp-content/plugins/wp-user-manager/vendor-dist/phenx/php-font-lib/src/FontLib/EOT/File.php:16
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/users.php?page=wpum-custom-fields
- > Console-api (warning) in wp-content/plugins/wp-user-manager/dist/static/js/vendor.js?ver=2.9.8+32:454397
Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props
- > GET request to /wp-admin/users.php?page=wpum-custom-fields
- > Console-api (warning) in wp-content/plugins/wp-user-manager/dist/static/js/vendor.js?ver=2.9.8+32:454589
Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props
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
5 plugin tags: membership, user registration, community, user profile, members
wp-user-manager/wp-user-manager.php 92% from 13 tests
The entry point to "WP User Manager - User Profile Builder & Membership" version 2.9.8 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Please fix the following items
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/wp-user-manager/vendor-dist/stripe/stripe-php/data/ca-certificates.crt
- .bat - Batch File in Windows
- ☣ wp-content/plugins/wp-user-manager/vendor-dist/nesbot/carbon/bin/carbon.bat
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,218 | 7,596 | 66,484 | 91,007 |
JSON | 10 | 0 | 0 | 14,835 |
JavaScript | 190 | 2,258 | 4,442 | 10,127 |
Vuejs Component | 31 | 238 | 414 | 3,565 |
CSS | 47 | 641 | 203 | 3,231 |
PO File | 15 | 1,360 | 1,972 | 3,049 |
XSD | 3 | 92 | 48 | 2,803 |
Sass | 15 | 244 | 1 | 2,258 |
SVG | 2 | 0 | 1 | 77 |
XML | 1 | 2 | 0 | 22 |
HTML | 2 | 0 | 1 | 12 |
DOS Batch | 1 | 0 | 0 | 4 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 140)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 811.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 140.00 |
Code structure | ||
---|---|---|
Namespaces | 138 | |
Interfaces | 68 | |
Traits | 39 | |
Classes | 989 | |
▷ Abstract classes | 58 | 5.86% |
▷ Concrete classes | 931 | 94.14% |
▷ Final classes | 42 | 4.51% |
Methods | 6,811 | |
▷ Static methods | 784 | 11.51% |
▷ Public methods | 5,541 | 81.35% |
▷ Protected methods | 911 | 13.38% |
▷ Private methods | 359 | 5.27% |
Functions | 609 | |
▷ Named functions | 366 | 60.10% |
▷ Anonymous functions | 243 | 39.90% |
Constants | 1,380 | |
▷ Global constants | 21 | 1.52% |
▷ Class constants | 1,359 | 98.48% |
▷ Public constants | 1,351 | 99.41% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/stripe-connect.png | 3.59KB | 1.80KB | ▼ 49.67% |
vendor-dist/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |