Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.51MB] [CPU: ▲6.86ms] Passed 4 tests
An overview of server-side resources used by User Meta - User Profile Builder and User management plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.94 ▲1.48 | 52.77 ▲12.83 |
Dashboard /wp-admin | 4.89 ▲1.55 | 65.37 ▼2.70 |
Posts /wp-admin/edit.php | 4.92 ▲1.56 | 55.33 ▲8.41 |
Add New Post /wp-admin/post-new.php | 7.36 ▲1.47 | 107.79 ▲8.88 |
Media Library /wp-admin/upload.php | 4.75 ▲1.53 | 53.51 ▲18.09 |
Pro Features /wp-admin/admin.php?page=user-meta-pro-ads | 4.73 | 46.60 |
Forms /wp-admin/admin.php?page=user-meta | 4.78 | 43.44 |
Settings /wp-admin/admin.php?page=user-meta-settings | 4.95 | 48.02 |
Shared Fields /wp-admin/admin.php?page=user-meta-fields | 4.80 | 44.15 |
Server storage [IO: ▲3.98MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 206 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_theysaidso_widget |
user_meta_history |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_umform |
user_meta_feedback |
widget_umlogin |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for User Meta - User Profile Builder and User management plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,922 ▲176 | 13.68 ▼0.57 | 8.67 ▲6.95 | 43.35 ▲1.23 |
Dashboard /wp-admin | 2,233 ▲44 | 4.86 ▼1.07 | 101.57 ▼18.39 | 64.30 ▲22.10 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.02 ▼0.03 | 36.19 ▼2.74 | 34.14 ▼1.44 |
Add New Post /wp-admin/post-new.php | 1,548 ▲20 | 23.16 ▲4.58 | 773.85 ▲91.02 | 63.81 ▲11.61 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.23 ▲0.03 | 113.45 ▼2.31 | 76.95 ▲30.58 |
Pro Features /wp-admin/admin.php?page=user-meta-pro-ads | 1,091 | 1.87 | 31.26 | 53.63 |
Forms /wp-admin/admin.php?page=user-meta | 1,187 | 2.23 | 36.64 | 46.30 |
Settings /wp-admin/admin.php?page=user-meta-settings | 1,839 | 2.57 | 49.42 | 86.65 |
Shared Fields /wp-admin/admin.php?page=user-meta-fields | 1,031 | 2.18 | 33.15 | 38.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- user_meta_feedback
- widget_umform
- theysaidso_admin_options
- widget_umlogin
- widget_recent-posts
- can_compress_scripts
- user_meta_history
Smoke tests 50% from 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 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
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/user-meta/user-meta.php
- > /wp-content/plugins/user-meta/views/debug.php
- 61× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/user-meta/views/settings/textSettings.php:7
- > PHP Notice
Undefined variable: isOpen in wp-content/plugins/user-meta/views/metaBox.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'UserMeta\\Field\\Multiple' not found in wp-content/plugins/user-meta/models/classes/Field/Custom.php:12
- > PHP Fatal error
Uncaught Error: Call to a member function createInput() on null in wp-content/plugins/user-meta/views/forms/conditionalPanel.php:16
- > PHP Fatal error
Uncaught Error: Class 'UserMeta\\Field\\Multiple' not found in wp-content/plugins/user-meta/models/classes/Field/Email.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/user-meta/views/settings/generalSettings.php:10
- > PHP Fatal error
Uncaught Error: Class 'UserMeta\\Field\\Base' not found in wp-content/plugins/user-meta/models/classes/Field/Description.php:12
- > PHP Fatal error
Uncaught Error: Class 'UserMeta\\Field\\Base' not found in wp-content/plugins/user-meta/models/classes/Field/Consent.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function UserMeta\\_e() in wp-content/plugins/user-meta/views/forms/formsEditorPage.php:8
- > PHP Fatal error
Uncaught Error: Class 'UserMeta\\Field\\Description' not found in wp-content/plugins/user-meta/models/classes/Field/RichText.php:10
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
user-meta/user-meta.php Passed 13 tests
The main file in "User Meta - User Profile Builder and User management plugin" v. 3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
70 characters long description:
A well-designed, feature-rich, and easy to use user management plugin.
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
Success! There were no dangerous files found in this plugin60,091 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 10,620 | 21,192 | 23,173 |
JavaScript | 18 | 2,449 | 2,282 | 12,962 |
PHP | 111 | 2,568 | 3,884 | 12,864 |
CSS | 13 | 1,370 | 131 | 10,546 |
Markdown | 1 | 130 | 0 | 359 |
JSON | 3 | 0 | 0 | 113 |
YAML | 3 | 8 | 6 | 67 |
XML | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 25.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 73 | |
▷ Abstract classes | 2 | 2.74% |
▷ Concrete classes | 71 | 97.26% |
▷ Final classes | 1 | 1.41% |
Methods | 635 | |
▷ Static methods | 23 | 3.62% |
▷ Public methods | 356 | 56.06% |
▷ Protected methods | 142 | 22.36% |
▷ Private methods | 137 | 21.57% |
Functions | 48 | |
▷ Named functions | 37 | 77.08% |
▷ Anonymous functions | 11 | 22.92% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
19 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/jquery/jquery.wysiwyg.bg.png | 0.59KB | 0.33KB | ▼ 44.41% |
assets/images/success.png | 1.88KB | 1.49KB | ▼ 21.07% |
screenshot-2.png | 9.41KB | 8.13KB | ▼ 13.64% |
screenshot-1.png | 4.61KB | 3.57KB | ▼ 22.66% |
assets/images/ump-icon.png | 3.39KB | 0.78KB | ▼ 77.09% |