Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/user-registration-aide/user-registration-aide.php+168
Methods with the same name as their class will not be constructors in a future version of PHP; CSDS_USER_REG_AIDE has a deprecated constructor
Server metrics [RAM: ▼1.81MB] [CPU: ▼52.24ms] Passed 4 tests
This is a short check of server-side resources used by User Registration Aide
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 4.06 ▼36.47 |
Dashboard /wp-admin | 2.20 ▼1.11 | 6.84 ▼45.91 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 6.67 ▼40.23 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 5.62 ▼86.36 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 4.95 ▼27.45 |
Custom Options /wp-admin/admin.php?page=custom-options | 2.20 | 5.49 |
Registration Form Options /wp-admin/admin.php?page=registration-form-options | 2.20 | 6.28 |
Registration Form Messages & CSS Options /wp-admin/admin.php?page=registration-form-css-options | 2.20 | 5.67 |
Edit New Fields /wp-admin/admin.php?page=edit-new-fields | 2.20 | 6.64 |
User Registration Aide /wp-admin/admin.php?page=user-registration-aide | 2.20 | 5.22 |
Server storage [IO: ▲4.95MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 156 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_ura_fields |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
csds_userRegAide_knownFields |
widget_theysaidso_widget |
widget_recent-posts |
csds_userRegAide_Options |
can_compress_scripts |
csds_userRegAideFields |
Browser metrics Passed 4 tests
A check of browser resources used by User Registration Aide
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲201 | 13.48 ▼0.57 | 1.50 ▼0.39 | 29.39 ▼19.77 |
Dashboard /wp-admin | 2,340 ▲152 | 5.17 ▲0.05 | 115.93 ▲13.45 | 87.29 ▲40.62 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.29 ▲0.25 | 41.92 ▲1.65 | 31.09 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,565 ▲32 | 18.30 ▼4.93 | 626.47 ▲39.30 | 35.98 ▼16.55 |
Media Library /wp-admin/upload.php | 1,440 ▲52 | 4.42 ▲0.25 | 97.80 ▼7.49 | 38.85 ▼3.73 |
Custom Options /wp-admin/admin.php?page=custom-options | 1,283 | 2.11 | 30.13 | 46.98 |
Registration Form Options /wp-admin/admin.php?page=registration-form-options | 1,251 | 2.12 | 28.42 | 35.41 |
Registration Form Messages & CSS Options /wp-admin/admin.php?page=registration-form-css-options | 1,246 | 2.09 | 30.20 | 36.47 |
Edit New Fields /wp-admin/admin.php?page=edit-new-fields | 1,279 | 2.10 | 28.97 | 45.20 |
User Registration Aide /wp-admin/admin.php?page=user-registration-aide | 1,549 | 1.99 | 42.50 | 42.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/user-registration-aide/user-registration-aide.php+168
Methods with the same name as their class will not be constructors in a future version of PHP; CSDS_USER_REG_AIDE has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=user-registration-aide
- > Deprecated in wp-content/plugins/user-registration-aide/user-registration-aide.php+168
Methods with the same name as their class will not be constructors in a future version of PHP; CSDS_USER_REG_AIDE has a deprecated constructor
- > GET request to /wp-admin/admin.php?page=registration-form-css-options
- > Notice in wp-content/plugins/user-registration-aide/classes/ura-dash-msgs.php+249
Undefined variable: tab
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/user-registration-aide/css/user-reg-aide-style-old.php
- > /wp-content/plugins/user-registration-aide/css/user-reg-aide-style.php
- 17× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/user-registration-aide/templates/ura-lost-password.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/user-registration-aide/templates/ura-account-locked-out.php:19
- > PHP Fatal error
Uncaught Error: Class 'URA_MEMBERS_ACTIONS' not found in wp-content/plugins/user-registration-aide/templates/ura-email-confirm.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/user-registration-aide/themes/index.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/user-registration-aide/templates/ura-update-password.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/user-registration-aide/ura-functions.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/user-registration-aide/templates/ura-template-loader.php:89
- > PHP Fatal error
Uncaught Error: Call to undefined function add_screen_options_panel() in wp-content/plugins/user-registration-aide/controllers/ura-screen-options-controller.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function has_nav_menu() in wp-content/plugins/user-registration-aide/themes/sidebar.php:10
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/user-registration-aide/user-registration-aide.php on line 33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (23 tag instead of maximum 10)
user-registration-aide/user-registration-aide.php 92% from 13 tests
The primary PHP file in "User Registration Aide" version 1.5.3.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 965 characters long)
Code Analysis 97% from 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
Good job! No executable or dangerous file extensions detected61,849 lines of code in 136 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 8 | 9,703 | 13,316 | 30,519 |
PHP | 97 | 2,923 | 7,063 | 22,383 |
CSS | 12 | 1,533 | 392 | 7,815 |
SVG | 1 | 0 | 3 | 540 |
JavaScript | 17 | 125 | 153 | 490 |
Markdown | 1 | 50 | 0 | 102 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 129)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 40.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 7.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 129.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 81 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 81 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 478 | |
▷ Static methods | 1 | 0.21% |
▷ Public methods | 477 | 99.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.21% |
Functions | 24 | |
▷ Named functions | 24 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 25 | |
▷ Global constants | 25 | 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
1 PNG file occupies 0.12MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/csds-dash_logo.png | 119.25KB | 11.67KB | ▼ 90.21% |