Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▲0.10ms] Passed 4 tests
A check of server-side resources used by User profile
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 48.46 ▲10.67 |
Dashboard /wp-admin | 3.50 ▲0.20 | 50.70 ▼1.22 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 53.37 ▲7.38 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 96.74 ▲0.41 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 32.14 ▼6.18 |
Help /wp-admin/admin.php?page=user-profile-help | 3.34 | 37.08 |
User Profile /wp-admin/admin.php?page=user-profile | 3.35 | 42.26 |
Addons /wp-admin/admin.php?page=user_profile_addons | 3.34 | 35.20 |
Server storage [IO: ▲12.88MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 105 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_user_profile_reactions |
wp_user_profile_follow |
New WordPress options |
---|
widget_user_profile_widget_users |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
User profile: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,362 ▲601 | 16.47 ▲2.12 | 23.03 ▲21.34 | 41.93 ▲0.38 |
Dashboard /wp-admin | 2,405 ▲231 | 6.46 ▲0.81 | 113.13 ▲20.66 | 41.77 ▼0.39 |
Posts /wp-admin/edit.php | 2,339 ▲239 | 3.62 ▲1.51 | 55.34 ▲16.20 | 38.23 ▲5.32 |
Add New Post /wp-admin/post-new.php | 1,581 ▲55 | 23.76 ▲0.66 | 603.23 ▼53.15 | 35.19 ▼19.44 |
Media Library /wp-admin/upload.php | 1,476 ▲79 | 4.44 ▲0.25 | 82.20 ▼20.24 | 43.77 ▲0.94 |
Help /wp-admin/admin.php?page=user-profile-help | 1,102 | 3.46 | 43.21 | 30.62 |
User Profile /wp-admin/admin.php?page=user-profile | 1,212 | 3.66 | 56.23 | 34.57 |
Addons /wp-admin/admin.php?page=user_profile_addons | 1,089 | 3.45 | 43.11 | 63.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_user_profile_reactions
- wp_user_profile_follow
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_user_profile_widget_users
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-profile/includes/actions/action-user-profile.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=user_profile_addons
- > Network (severe)
wp-content/plugins/user-profile/user-profile/includes/classes/WPAdminMenu/css/addons-grid.min.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #5 (Screenshot 5), #6 (Screenshot 6), #7 (Screenshot 7), #8 (Screenshot 8), #9 (Screenshot 9), #10 (Screenshot 10)
user-profile/user-profile.php Passed 13 tests
"User profile" version 2.0.20's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
28 characters long description:
Socialize your user profile.
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
There were no executable files found in this plugin14,946 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 285 | 223 | 8,972 |
PHP | 48 | 1,706 | 286 | 3,600 |
SVG | 1 | 0 | 0 | 2,116 |
JavaScript | 2 | 128 | 24 | 226 |
YAML | 2 | 0 | 0 | 32 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 143.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 163 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 130 | 79.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 33 | 20.25% |
Functions | 40 | |
▷ Named functions | 38 | 95.00% |
▷ Anonymous functions | 2 | 5.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 5.85MB with 3.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/addons/verified-users.png | 23.45KB | 3.20KB | ▼ 86.35% |
assets/front/images/thumb-large.png | 24.61KB | 3.33KB | ▼ 86.49% |
assets/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.23KB | 0.11KB | ▼ 51.46% |
assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.13KB | 0.11KB | ▼ 11.72% |
.wordpress-org/screenshot-1.png | 839.79KB | 322.95KB | ▼ 61.54% |