Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.74ms] Passed 4 tests
A check of server-side resources used by User List for Ultimate Member
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 42.87 ▼5.42 |
Dashboard /wp-admin | 3.39 ▲0.08 | 49.25 ▲2.81 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 51.54 ▲3.71 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.90 ▼5.80 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.05 ▲1.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_um_user_list_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for User List for Ultimate Member
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,911 ▲165 | 13.70 ▼0.59 | 6.07 ▲4.01 | 43.12 ▲1.94 |
Dashboard /wp-admin | 2,209 ▲21 | 5.91 ▲0.06 | 104.23 ▼9.96 | 39.16 ▼0.60 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.01 ▼0.04 | 40.44 ▼1.27 | 36.20 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,535 ▲11 | 22.90 ▼0.40 | 576.89 ▼115.16 | 63.22 ▲11.69 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.19 ▼0.02 | 95.50 ▼16.06 | 41.89 ▼5.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_um_user_list_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/um-user-list/um-user-list.php:38
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/um-user-list/widgets/um-user-list-widgets.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: ultimatemember, ultimate member, ultimate member members
um-user-list/um-user-list.php Passed 13 tests
The main file in "User List for Ultimate Member" v. 1.0.1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Neat plugin that lists Ultimate Member users in widget and shortcode
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected447 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 89 | 286 | 349 |
CSS | 2 | 8 | 14 | 52 |
JavaScript | 2 | 7 | 8 | 46 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 27 | |
▷ Static methods | 4 | 14.81% |
▷ Public methods | 26 | 96.30% |
▷ Protected methods | 1 | 3.70% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin