Benchmarks
Plugin footprint 65% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.07MB] [CPU: ▼10.40ms] Passed 4 tests
Analyzing server-side resources used by Uix UserCenter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.62 | 54.31 ▲14.72 |
Dashboard /wp-admin | 3.90 ▲0.55 | 41.70 ▼22.54 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 49.77 ▲3.59 |
Add New Post /wp-admin/post-new.php | 3.90 ▼1.99 | 48.13 ▼37.35 |
Media Library /wp-admin/upload.php | 3.90 ▲0.67 | 55.97 ▲23.85 |
Template Files /wp-admin/admin.php?page=uix-usercenter-helper&tab=temp | 3.90 | 48.75 |
Settings /wp-admin/admin.php?page=uix-usercenter-helper&tab=general-settings | 3.90 | 43.58 |
Uix UserCenter /wp-admin/edit.php?post_type=uix_usercenter | 3.90 | 45.87 |
Add New Item /wp-admin/post-new.php?post_type=uix_usercenter | 3.90 | 47.08 |
How to use? /wp-admin/admin.php?page=uix-usercenter-helper&tab=usage | 3.90 | 53.82 |
About /wp-admin/edit.php?post_type=uix_usercenter&page=uix-usercenter-helper | 3.90 | 46.01 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 148 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
uix_usercenter_opt_captchastr |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Uix UserCenter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲113 | 14.38 ▲0.01 | 4.70 ▲2.57 | 39.64 ▼4.53 |
Dashboard /wp-admin | 2,243 ▲68 | 5.66 ▲0.09 | 95.75 ▼22.41 | 42.03 ▼0.16 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.00 ▲0.05 | 39.04 ▲1.69 | 36.84 ▲0.52 |
Add New Post /wp-admin/post-new.php | 1,590 ▲64 | 22.14 ▼1.44 | 634.08 ▼79.68 | 34.60 ▼21.65 |
Media Library /wp-admin/upload.php | 1,448 ▲48 | 4.18 ▼0.04 | 100.52 ▼9.65 | 43.42 ▼2.72 |
Template Files /wp-admin/admin.php?page=uix-usercenter-helper&tab=temp | 942 | 2.06 | 37.82 | 31.42 |
Settings /wp-admin/admin.php?page=uix-usercenter-helper&tab=general-settings | 1,226 | 2.08 | 37.23 | 31.62 |
Uix UserCenter /wp-admin/edit.php?post_type=uix_usercenter | 1,210 | 2.08 | 33.41 | 34.61 |
Add New Item /wp-admin/post-new.php?post_type=uix_usercenter | 2,727 | 7.68 | 189.14 | 77.08 |
How to use? /wp-admin/admin.php?page=uix-usercenter-helper&tab=usage | 918 | 2.05 | 30.71 | 31.60 |
About /wp-admin/edit.php?post_type=uix_usercenter&page=uix-usercenter-helper | 889 | 2.07 | 32.18 | 26.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
mkdir(): No such file or directory
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- uix_usercenter_opt_captchastr
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 7 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=uix_usercenter&page=uix-usercenter-helper
- > Warning in wp-admin/includes/class-wp-filesystem-direct.php+558
mkdir(): No such file or directory
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/uix-usercenter/helper/tabs/temp.php
- > /wp-content/plugins/uix-usercenter/theme_templates/partials-usercenter_tmpl_nav.php
- > /wp-content/plugins/uix-usercenter/helper/tabs/about.php
- > /wp-content/plugins/uix-usercenter/helper/tabs/usage.php
- > /wp-content/plugins/uix-usercenter/helper/tabs/general-settings.php
- 27× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Uix_UserCenter_Custom_Metaboxes' not found in wp-content/plugins/uix-usercenter/includes/admin/uix-custom-metaboxes/controls/custom-attrs.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_UserCenter_Custom_Metaboxes' not found in wp-content/plugins/uix-usercenter/includes/admin/uix-custom-metaboxes/controls/multi-checkbox.php:6
- > PHP Fatal error
Uncaught Error: Class 'Uix_UserCenter_Custom_Metaboxes' not found in wp-content/plugins/uix-usercenter/includes/admin/uix-custom-metaboxes/controls/multi-content.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/uix-usercenter/includes/post-type/options.php:8
- > PHP Fatal error
Uncaught Error: Class 'Uix_UserCenter_Custom_Metaboxes' not found in wp-content/plugins/uix-usercenter/includes/admin/uix-custom-metaboxes/controls/checkbox.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/uix-usercenter/theme_templates/tmpl-usercenter_password_reset.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/uix-usercenter/theme_templates/partials-usercenter_tmpl_nav.php:209
- > PHP Fatal error
Uncaught Error: Class 'Uix_UserCenter_Custom_Metaboxes' not found in wp-content/plugins/uix-usercenter/includes/admin/uix-custom-metaboxes/controls/image.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/uix-usercenter/includes/plugins/checkcode/index.php:11
- > PHP Fatal error
Uncaught Error: Class 'Uix_UserCenter_Custom_Metaboxes' not found in wp-content/plugins/uix-usercenter/includes/admin/uix-custom-metaboxes/controls/multi-portfolio.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: post type, ajax, sign-up, users, register...
uix-usercenter/uix-usercenter.php Passed 13 tests
Analyzing the main PHP file in "Uix UserCenter" version 1.0.2
74 characters long description:
Sign-in, registration and publishing system with AJAX, support remote API.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin25,923 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 83 | 1,222 | 1,011 | 18,540 |
PHP | 50 | 2,307 | 1,174 | 4,690 |
CSS | 7 | 421 | 162 | 1,657 |
Markdown | 1 | 225 | 0 | 535 |
PO File | 1 | 199 | 249 | 501 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 24.81 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 6.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 91 | 97.85% |
▷ Public methods | 90 | 96.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.23% |
Functions | 32 | |
▷ Named functions | 29 | 90.62% |
▷ Anonymous functions | 3 | 9.38% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.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
There are no PNG files in this plugin