Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▼0.12ms] Passed 4 tests
This is a short check of server-side resources used by JSM Show User Metadata
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.63 ▼2.75 |
Dashboard /wp-admin | 3.93 ▲0.63 | 48.34 ▲0.76 |
Posts /wp-admin/edit.php | 3.98 ▲0.63 | 49.71 ▼0.10 |
Add New Post /wp-admin/post-new.php | 6.53 ▲0.65 | 90.65 ▲1.63 |
Media Library /wp-admin/upload.php | 3.86 ▲0.63 | 36.60 ▲4.51 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by JSM Show User Metadata
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲33 | 14.71 ▲0.37 | 1.65 ▼0.23 | 36.52 ▼9.18 |
Dashboard /wp-admin | 2,197 ▲17 | 5.56 ▼0.08 | 99.11 ▲8.65 | 40.80 ▼2.38 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 1.97 ▲0.02 | 42.33 ▲0.15 | 34.47 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,531 ▼41 | 23.18 ▲3.92 | 666.10 ▲56.80 | 52.69 ▼8.95 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.21 ▲0.02 | 93.61 ▼0.26 | 39.77 ▼2.78 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 11× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/jsm-show-user-meta/lib/user.php
- > /wp-content/plugins/jsm-show-user-meta/lib/config.php
- > /wp-content/plugins/jsm-show-user-meta/jsm-show-user-meta.php
- > /wp-content/plugins/jsm-show-user-meta/lib/com/util-metabox.php
- > /wp-content/plugins/jsm-show-user-meta/lib/script.php
- > /wp-content/plugins/jsm-show-user-meta/lib/ext/compressor.php
- > /wp-content/plugins/jsm-show-user-meta/gettext/gettext-lib-config.php
- > /wp-content/plugins/jsm-show-user-meta/lib/com/util.php
- > /wp-content/plugins/jsm-show-user-meta/lib/com/country-codes.php
- > /wp-content/plugins/jsm-show-user-meta/lib/com/util-wp.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #1 (The "User Metadata" metabox added to admin user profile pages.) image required
jsm-show-user-meta/jsm-show-user-meta.php Passed 13 tests
The main PHP script in "JSM Show User Metadata" version 3.8.0 is automatically included on every request by WordPress
106 characters long description:
Show user metadata in a metabox when editing users - a great tool for debugging issues with user metadata.
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
Good job! No executable or dangerous file extensions detected6,041 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 2,246 | 1,024 | 5,584 |
JavaScript | 2 | 242 | 115 | 398 |
PO File | 1 | 10 | 10 | 35 |
Markdown | 1 | 9 | 0 | 24 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 97.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 628.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 280 | |
▷ Static methods | 260 | 92.86% |
▷ Public methods | 270 | 96.43% |
▷ Protected methods | 7 | 2.50% |
▷ Private methods | 3 | 1.07% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin