Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.01ms] Passed 4 tests
Analyzing server-side resources used by Ultimate Member - Terms & Conditions
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.11 ▼2.81 |
Dashboard /wp-admin | 3.33 ▲0.02 | 51.73 ▼1.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.24 ▼9.75 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.31 ▼18.01 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 40.05 ▲0.53 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
um_terms_conditions_version |
can_compress_scripts |
um_options |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
um_terms_conditions_last_version_upgrade |
Browser metrics Passed 4 tests
Checking browser requirements for Ultimate Member - Terms & Conditions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.38 ▲0.02 | 1.69 ▼0.33 | 44.50 ▲1.36 |
Dashboard /wp-admin | 2,203 ▲26 | 5.51 ▼0.12 | 96.27 ▲2.86 | 46.13 ▼1.01 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.03 ▲0.02 | 40.45 ▼2.49 | 35.37 ▼7.07 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.30 ▲0.20 | 705.90 ▲4.46 | 56.15 ▼1.98 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.22 ▲0.01 | 115.69 ▼10.14 | 50.88 ▼10.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- um_terms_conditions_version
- um_terms_conditions_last_version_upgrade
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- um_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Donate link: Invalid URI ("")
um-terms-conditions/um-terms-conditions.php Passed 13 tests
The main PHP file in "Ultimate Member - Terms & Conditions" ver. 2.1.6 adds more information about the plugin and also serves as the entry point for this plugin
132 characters long description:
Add a terms and condition checkbox to your registration forms & require users to agree to your T&Cs before registering on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,099 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 183 | 384 | 940 |
JavaScript | 4 | 24 | 1 | 119 |
CSS | 4 | 2 | 2 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 1 | 2.04% |
▷ Public methods | 48 | 97.96% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.04% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 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
PNG images were not found in this plugin