Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.84MB] [CPU: ▲31.13ms] Passed 4 tests
Analyzing server-side resources used by Ultra Community
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.01 ▲3.54 | 64.71 ▲22.38 |
Dashboard /wp-admin | 8.55 ▲5.24 | 80.96 ▲29.34 |
Posts /wp-admin/edit.php | 8.65 ▲5.29 | 78.50 ▲27.10 |
Add New Post /wp-admin/post-new.php | 11.17 ▲5.28 | 136.62 ▲47.39 |
Media Library /wp-admin/upload.php | 8.51 ▲5.27 | 81.52 ▲45.69 |
Forms /wp-admin/admin.php?page=uc-forms-formsadminpage | 8.50 | 72.43 |
Directories /wp-admin/admin.php?page=uc-directories-directoriesadminpage | 8.72 | 74.89 |
Appearance /wp-admin/admin.php?page=uc-appearance-appearanceadminpage | 8.50 | 71.96 |
General Settings /wp-admin/admin.php?page=uc-general-settings-generalsettingsadminpage | 8.54 | 75.49 |
Extensions /wp-admin/admin.php?page=uc-extensions-extensionsadminpage | 8.50 | 66.73 |
User Roles /wp-admin/admin.php?page=uc-user-roles-userroleadminpage | 8.51 | 71.30 |
Server storage [IO: ▲11.70MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 914 new files
Database: 4 new tables, 26 new options
New tables |
---|
wp_uc_user_relations |
wp_uc_user_activity_reposts |
wp_uc_group_users |
wp_uc_user_activity |
New WordPress options |
---|
uc-usersettings |
uc-loginform-cpt-17-settings |
can_compress_scripts |
uc-forgotpasswordform-cpt-19-settings |
widget_recent-posts |
widget_recent-comments |
uc-userrole-cpt-9-settings |
uc-groupprofileappearance-settings |
widget_theysaidso_widget |
db_upgraded |
... |
Browser metrics Passed 4 tests
Ultra Community: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲128 | 13.31 ▼1.00 | 1.98 ▼0.21 | 41.66 ▼9.04 |
Dashboard /wp-admin | 2,234 ▲46 | 5.83 ▲0.94 | 103.81 ▼9.06 | 81.27 ▲43.25 |
Posts /wp-admin/edit.php | 2,138 ▲49 | 1.99 ▼0.00 | 35.09 ▼5.31 | 34.01 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.39 ▲0.25 | 622.75 ▲1.96 | 62.24 ▲10.18 |
Media Library /wp-admin/upload.php | 1,428 ▲43 | 4.19 ▼0.07 | 94.32 ▼7.84 | 74.24 ▲32.25 |
Forms /wp-admin/admin.php?page=uc-forms-formsadminpage | 6,618 | 5.64 | 166.77 | 137.55 |
Directories /wp-admin/admin.php?page=uc-directories-directoriesadminpage | 6,430 | 6.46 | 137.56 | 89.21 |
Appearance /wp-admin/admin.php?page=uc-appearance-appearanceadminpage | 6,796 | 6.28 | 153.15 | 72.50 |
General Settings /wp-admin/admin.php?page=uc-general-settings-generalsettingsadminpage | 6,422 | 6.37 | 129.43 | 72.26 |
Extensions /wp-admin/admin.php?page=uc-extensions-extensionsadminpage | 5,932 | 5.44 | 88.83 | 85.02 |
User Roles /wp-admin/admin.php?page=uc-user-roles-userroleadminpage | 6,179 | 6.44 | 112.25 | 69.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- ultracomm-online-users
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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 fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ultra-community/templates/front-pages/group-profile/group-profile-page-members.php
- > /wp-content/plugins/ultra-community/templates/emails/default/email-base-layout.php
- 123× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\Forms\\FormFields\\BaseField' not found in wp-content/plugins/ultra-community/engine/Modules/Forms/FormFields/UserLastNameField.php:10
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\BaseAdminModule' not found in wp-content/plugins/ultra-community/engine/Modules/Appearance/UserProfile/UserProfileAppearanceAdminModule.php:21
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\UltraCommHelper' not found in wp-content/plugins/ultra-community/templates/front-pages/activity/activity-post-form.php:11
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\Forms\\FormFields\\BaseField' not found in wp-content/plugins/ultra-community/engine/Modules/Forms/FormFields/SocialNetworkUrlField.php:10
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\Forms\\FormFields\\BaseField' not found in wp-content/plugins/ultra-community/engine/Modules/Forms/FormFields/RadioButtonField.php:7
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Admin\\Pages\\BaseAdminPage' not found in wp-content/plugins/ultra-community/engine/Admin/Pages/MembersDirectoryAdminPage.php:14
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\Forms\\FormFields\\BaseField' not found in wp-content/plugins/ultra-community/engine/Modules/Forms/FormFields/CountryField.php:13
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\BasePublicModule' not found in wp-content/plugins/ultra-community/engine/Modules/Appearance/Directories/DirectoriesAppearancePublicModule.php:8
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Admin\\Pages\\BaseAdminPage' not found in wp-content/plugins/ultra-community/engine/Admin/Pages/UserRoleAdminPage.php:16
- > PHP Fatal error
Uncaught Error: Class 'UltraCommunity\\Modules\\Forms\\FormFields\\BaseField' not found in wp-content/plugins/ultra-community/engine/Modules/Forms/FormFields/TextField.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: login form, registration form, membership, members directory, community...
ultra-community/ultra-community.php Passed 13 tests
The main file in "Ultra Community" v. 2.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
39 characters long description:
An extremely powerful community plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin99,201 lines of code in 854 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 253 | 12,305 | 3,600 | 39,904 |
SVG | 528 | 1 | 11 | 38,951 |
CSS | 40 | 1,402 | 471 | 12,409 |
JavaScript | 33 | 1,648 | 1,045 | 7,937 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 27.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 313.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 99.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 190 | |
▷ Abstract classes | 18 | 9.47% |
▷ Concrete classes | 172 | 90.53% |
▷ Final classes | 30 | 17.44% |
Methods | 1,643 | |
▷ Static methods | 851 | 51.80% |
▷ Public methods | 1,319 | 80.28% |
▷ Protected methods | 135 | 8.22% |
▷ Private methods | 189 | 11.50% |
Functions | 191 | |
▷ Named functions | 20 | 10.47% |
▷ Anonymous functions | 171 | 89.53% |
Constants | 654 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 654 | 100.00% |
▷ Public constants | 654 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
26 PNG files occupy 0.92MB with 0.44MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/light-gallery/video-play.png | 4.42KB | 1.05KB | ▼ 76.27% |
assets/admin/images/social-login.png | 12.26KB | 6.20KB | ▼ 49.45% |
assets/admin/images/user-letters-avatar.png | 26.94KB | 11.67KB | ▼ 56.68% |
assets/admin/images/social-share.png | 33.66KB | 14.45KB | ▼ 57.07% |
assets/images/payment-method-credit-card.png | 6.11KB | 6.35KB | 0.00% |