Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.00ms] Passed 4 tests
Server-side resources used by Ultimate Member - Online Users
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.03 | 44.19 ▲5.44 |
Dashboard /wp-admin | 3.37 ▼0.02 | 51.92 ▼10.84 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 47.78 ▼6.21 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 85.11 ▼14.85 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 38.68 ▼0.09 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
um_online_version |
um_online_last_version_upgrade |
um_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Member - Online Users
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲25 | 14.23 ▼0.30 | 1.64 ▼0.45 | 43.46 ▲1.32 |
Dashboard /wp-admin | 2,203 ▲23 | 5.61 ▼0.03 | 120.06 ▲29.78 | 54.31 ▲14.02 |
Posts /wp-admin/edit.php | 2,105 ▲8 | 2.02 ▲0.02 | 35.29 ▼1.25 | 31.18 ▼4.37 |
Add New Post /wp-admin/post-new.php | 1,536 ▲7 | 23.03 ▼0.09 | 669.70 ▲18.07 | 54.05 ▲0.70 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.23 ▲0.08 | 116.08 ▲6.81 | 49.54 ▲3.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- um_online_version
- widget_recent-comments
- um_online_last_version_upgrade
- widget_recent-posts
- um_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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: ""
um-online/um-online.php Passed 13 tests
The primary PHP file in "Ultimate Member - Online Users" version 2.1.8 is used by WordPress to initiate all plugin functionality
66 characters long description:
Display online users and show the user online status on your site.
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
No dangerous file extensions were detected770 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 210 | 385 | 670 |
CSS | 2 | 21 | 4 | 80 |
JavaScript | 2 | 2 | 0 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 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
No PNG images were found in this plugin