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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▲2.06ms] Passed 4 tests
Analyzing server-side resources used by WordPress Social Login and Register (Discord, Google, Twitter, LinkedIn)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 56.56 ▲13.55 |
Dashboard /wp-admin | 3.52 ▲0.18 | 57.01 ▼2.45 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 60.75 ▲12.10 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 83.52 ▼14.97 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 49.26 ▲15.86 |
BuddyPress Add-On /wp-admin/admin.php?page=mo_openid_buddypress_add_on | 3.58 | 45.23 |
Custom Registration Add-On /wp-admin/admin.php?page=mo_openid_settings_addOn | 3.50 | 55.90 |
WooCommerce Add-On /wp-admin/admin.php?page=mo_openid_woocommerce_add_on | 3.50 | 51.69 |
Discord Add-On /wp-admin/admin.php?page=mo_openid_discord_add_on | 3.49 | 57.47 |
MailChimp Add-On /wp-admin/admin.php?page=mo_openid_mailchimp_add_on | 3.49 | 42.78 |
HubSpot Add-On /wp-admin/admin.php?page=mo_openid_hubspot_add_on | 3.50 | 41.60 |
Social Commenting /wp-admin/admin.php?page=mo_openid_social_commenting_settings | 3.49 | 43.61 |
Social Login /wp-admin/admin.php?page=mo_openid_general_settings | 3.60 | 55.97 |
Social Sharing /wp-admin/admin.php?page=mo_openid_social_sharing_settings | 3.52 | 53.09 |
Server storage [IO: ▲7.55MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 234 new files
Database: 1 new table, 117 new options
New tables |
---|
wp_mo_openid_linked_user |
New WordPress options |
---|
mo_account_linking_existing_user_button |
mo_openid_auto_register_enable |
mo_profile_complete_email_label |
mo_openid_share_widget_customize_text_color |
mo_share_options_enable_post_position |
mo_openid_fonawesome_load |
mo_openid_login_redirect |
mo_openid_share_email_body |
mo_email_failure_message |
mo_delete_user_error_message |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Social Login and Register (Discord, Google, Twitter, LinkedIn)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲183 | 13.78 ▼0.54 | 12.11 ▲10.38 | 37.74 ▼5.32 |
Dashboard /wp-admin | 2,234 ▲54 | 5.56 ▼0.08 | 93.20 ▼5.23 | 90.05 ▲48.14 |
Posts /wp-admin/edit.php | 2,154 ▲51 | 2.12 ▲0.17 | 35.01 ▼8.67 | 32.75 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,584 ▲58 | 23.26 ▲0.09 | 740.93 ▲128.18 | 68.53 ▲17.34 |
Media Library /wp-admin/upload.php | 1,451 ▲57 | 4.29 ▲0.13 | 97.53 ▼4.17 | 68.73 ▲26.74 |
BuddyPress Add-On /wp-admin/admin.php?page=mo_openid_buddypress_add_on | 5,098 | 12.73 | 329.31 | 63.50 |
Custom Registration Add-On /wp-admin/admin.php?page=mo_openid_settings_addOn | 5,088 | 13.42 | 287.02 | 74.45 |
WooCommerce Add-On /wp-admin/admin.php?page=mo_openid_woocommerce_add_on | 5,017 | 9.73 | 308.90 | 51.74 |
Discord Add-On /wp-admin/admin.php?page=mo_openid_discord_add_on | 4,490 | 3.06 | 49.69 | 40.57 |
MailChimp Add-On /wp-admin/admin.php?page=mo_openid_mailchimp_add_on | 4,437 | 3.02 | 45.35 | 39.61 |
HubSpot Add-On /wp-admin/admin.php?page=mo_openid_hubspot_add_on | 4,862 | 3.07 | 50.09 | 37.68 |
Social Commenting /wp-admin/admin.php?page=mo_openid_social_commenting_settings | 4,409 | 3.05 | 45.40 | 36.06 |
Social Login /wp-admin/admin.php?page=mo_openid_general_settings | 5,985 | 4.06 | 99.07 | 97.36 |
Social Sharing /wp-admin/admin.php?page=mo_openid_social_sharing_settings | 5,152 | 4.49 | 91.53 | 58.13 |
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
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_mo_openid_linked_user
- Zombie WordPress options were found after uninstall: 15 options
- mo_openid_extension_tab
- widget_recent-comments
- mo_login_icon_custom_hover_color
- can_compress_scripts
- mo_openid_button_theme_effect
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- app_pos_premium
- mo_login_icon_custom_smart_color2
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 17× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/miniorange-login-openid/view/soc_sha/soc_apps/mo_openid_sharing.php on line 2
- > PHP Warning
require_once(ABSPATHwp-includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/miniorange-login-openid/view/soc_sha/soc_apps/mo_openid_sharing.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/miniorange-login-openid/view/support_form/miniorange_openid_support_form.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/miniorange-login-openid/class-mo-openid-login-widget.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/miniorange-login-openid/miniorange_openid_sso_settings.php:13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/user.php): failed to open stream: No such file or directory in wp-content/plugins/miniorange-login-openid/class-mo-openid-login-widget.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/miniorange-login-openid/class-mo-openid-social-share.php:7
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/miniorange-login-openid/view/support_form/miniorange_openid_support_form.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/user.php' (include_path='.:/usr/share/php') in wp-content/plugins/miniorange-login-openid/class-mo-openid-login-widget.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/miniorange-login-openid/view/rate_us/rate_us.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
miniorange-login-openid/miniorange_openid_sso_settings.php 92% from 13 tests
The main file in "WordPress Social Login and Register (Discord, Google, Twitter, LinkedIn)" v. 7.6.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("miniorange-login-openid.php" instead of "miniorange_openid_sso_settings.php")
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
No dangerous file extensions were detected60,029 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 109 | 2,073 | 390 | 19,365 |
JavaScript | 11 | 3,281 | 2,162 | 16,269 |
CSS | 14 | 1,999 | 191 | 9,552 |
SVG | 3 | 0 | 0 | 9,552 |
PO File | 3 | 1,910 | 2,341 | 5,291 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 189)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 11.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 286.00 |
Average method complexity | 7.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 189.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 60 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 60 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 4 | 3.96% |
▷ Public methods | 98 | 97.03% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 2.97% |
Functions | 141 | |
▷ Named functions | 137 | 97.16% |
▷ Anonymous functions | 4 | 2.84% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
71 PNG files occupy 0.97MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/sample.png | 12.61KB | 6.58KB | ▼ 47.81% |
includes/images/icons/livejournal.png | 1.49KB | 1.11KB | ▼ 25.44% |
includes/images/icons/naver.png | 0.62KB | 0.60KB | ▼ 3.30% |
includes/images/modt_bp.png | 24.39KB | 12.76KB | ▼ 47.68% |
includes/images/modt_sc.png | 14.88KB | 9.29KB | ▼ 37.58% |