Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.48ms] Passed 4 tests
An overview of server-side resources used by Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.67 ▼13.49 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.35 ▼4.96 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.59 ▲5.81 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.29 ▲0.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.96 ▼3.70 |
Server storage [IO: ▲15.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 845 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.23 ▼1.03 | 1.61 ▼0.27 | 39.62 ▼8.36 |
Dashboard /wp-admin | 2,214 ▲26 | 5.81 ▲0.95 | 97.38 ▼4.15 | 40.58 ▼2.72 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.98 ▼0.05 | 40.22 ▲1.44 | 34.58 ▲2.63 |
Add New Post /wp-admin/post-new.php | 1,557 ▲23 | 23.50 ▲0.47 | 587.73 ▼90.22 | 56.11 ▲1.07 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.22 ▲0.05 | 93.81 ▼3.91 | 43.39 ▼2.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/youzify/includes/public/templates/members/single/events/attending.php
- > /wp-content/plugins/youzify/includes/public/templates/members/single/posts.php
- 296× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OpenID' not found in wp-content/plugins/youzify/includes/public/core/hybridauth/Provider/StackExchangeOpenID.php:15
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Provider\\Blizzard' not found in wp-content/plugins/youzify/includes/public/core/hybridauth/Provider/BlizzardAPAC.php:18
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Exception\\InvalidArgumentException' not found in wp-content/plugins/youzify/includes/public/core/hybridauth/Exception/InvalidOpenidIdentifierException.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/youzify/includes/public/templates/members/single/woocommerce/edit-address.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youzify/includes/premium/public/core/activity/class-youzify-sticky-posts.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/youzify/includes/public/templates/members/single/notifications/notifications-loop.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youzify/includes/public/core/membership/class-youzify-limit.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/youzify/includes/public/core/mycred/youzify-mycred-functions.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/youzify/includes/public/templates/members/single/activity.php:11
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/youzify/includes/public/core/hybridauth/Provider/Pinterest.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
youzify/youzify.php 92% from 13 tests
The main PHP script in "Youzify – BuddyPress Community, User Profile, Social Network & Membership Plugin for WordPress" version 1.2.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 358 characters long)
Code Analysis 97% from 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
There were no executable files found in this plugin176,219 lines of code in 701 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 25,189 | 48,560 | 61,338 |
PHP | 471 | 20,110 | 16,714 | 52,667 |
CSS | 101 | 8,028 | 2,243 | 39,757 |
JavaScript | 106 | 3,103 | 2,177 | 11,776 |
SVG | 8 | 0 | 3 | 10,616 |
XML | 1 | 0 | 0 | 46 |
Markdown | 3 | 10 | 0 | 18 |
HTML | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 127)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.06 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 207.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 127.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 223 | |
▷ Abstract classes | 5 | 2.24% |
▷ Concrete classes | 218 | 97.76% |
▷ Final classes | 5 | 2.29% |
Methods | 1,297 | |
▷ Static methods | 59 | 4.55% |
▷ Public methods | 1,168 | 90.05% |
▷ Protected methods | 115 | 8.87% |
▷ Private methods | 14 | 1.08% |
Functions | 755 | |
▷ Named functions | 745 | 98.68% |
▷ Anonymous functions | 10 | 1.32% |
Constants | 24 | |
▷ Global constants | 18 | 75.00% |
▷ Class constants | 6 | 25.00% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
114 PNG files occupy 0.29MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/images/imgSelect/youzify-pink-scheme.png | 1.17KB | 1.21KB | 0.00% |
includes/admin/assets/images/imgSelect/youzify-white-scheme.png | 2.28KB | 0.96KB | ▼ 58.07% |
includes/admin/assets/images/imgSelect/radius.png | 0.32KB | 0.19KB | ▼ 39.14% |
includes/admin/assets/images/imgSelect/author-box-v5.png | 0.50KB | 0.35KB | ▼ 30.49% |
includes/admin/assets/images/imgSelect/form-field-v9.png | 0.62KB | 0.43KB | ▼ 29.79% |