Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲2.61MB] [CPU: ▼287.90ms] Passed 4 tests
Analyzing server-side resources used by Ecommerce Social Login (Apple, Kakao, Line)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.12 ▲2.60 | 65.79 ▲14.14 |
Dashboard /wp-admin | 5.99 ▲2.58 | 47.56 ▲7.33 |
Posts /wp-admin/edit.php | 6.26 ▲2.62 | 53.77 ▲16.10 |
Add New Post /wp-admin/post-new.php | 9.84 ▲2.87 | 93.37 ▼1,183.57 |
Media Library /wp-admin/upload.php | 5.95 ▲2.65 | 33.92 ▲10.50 |
Social Commenting /wp-admin/admin.php?page=mo_wc_openid_social_commenting_settings | 5.90 | 37.76 |
Add-On /wp-admin/admin.php?page=mo_wc_openid_settings_addOn | 5.90 | 40.07 |
Social Login /wp-admin/admin.php?page=mo_wc_openid_general_settings | 6.25 | 55.26 |
MailChimp Add-On /wp-admin/admin.php?page=mo_openid_mailchimp_add_on | 5.90 | 41.73 |
Social Sharing /wp-admin/admin.php?page=mo_wc_openid_social_sharing_settings | 5.94 | 46.37 |
BuddyPress Add-On /wp-admin/admin.php?page=mo_openid_buddypress_add_on | 5.90 | 40.62 |
WooCommerce Add-On /wp-admin/admin.php?page=mo_openid_woocommerce_add_on | 5.90 | 43.63 |
HubSpot Add-On /wp-admin/admin.php?page=mo_openid_hubspot_add_on | 5.92 | 38.31 |
Server storage [IO: ▲5.34MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 220 new files
Database: 1 new table, 98 new options
New tables |
---|
wp_mo_openid_linked_user |
New WordPress options |
---|
mo_manual_login_error_message |
mo_login_icon_custom_width |
mo_openid_share_theme |
moopenid_social_login_avatar |
custom_otp_msg |
ecommerce_social_login__social_sharing |
mo_openid_user_activation_date |
mo_profile_complete_extra_instruction |
mo_email_verify_wrong_otp |
mo_openid_malform_error |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ecommerce Social Login (Apple, Kakao, Line)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,997 ▲243 | 16.38 ▲0.77 | 11.24 ▲5.31 | 1.99 ▼0.63 |
Dashboard /wp-admin | 2,945 ▲84 | 6.12 ▲0.03 | 117.26 ▼17.95 | 172.95 ▲8.58 |
Posts /wp-admin/edit.php | 2,755 ▲67 | 3.14 ▼0.22 | 65.75 ▲2.22 | 144.23 ▲1.14 |
Add New Post /wp-admin/post-new.php | 1,704 ▲43 | 20.99 ▲4.65 | 450.75 ▲43.11 | 168.03 ▲7.55 |
Media Library /wp-admin/upload.php | 1,766 ▲68 | 5.52 ▼0.02 | 125.37 ▼23.59 | 207.83 ▲22.39 |
Social Commenting /wp-admin/admin.php?page=mo_wc_openid_social_commenting_settings | 3,333 | 3.28 | 80.20 | 65.61 |
Add-On /wp-admin/admin.php?page=mo_wc_openid_settings_addOn | 4,508 | 13.66 | 340.56 | 99.25 |
Social Login /wp-admin/admin.php?page=mo_wc_openid_general_settings | 5,232 | 5.11 | 118.43 | 237.92 |
MailChimp Add-On /wp-admin/admin.php?page=mo_openid_mailchimp_add_on | 1,637 | 3.79 | 70.36 | 53.22 |
Social Sharing /wp-admin/admin.php?page=mo_wc_openid_social_sharing_settings | 4,425 | 4.80 | 125.26 | 75.17 |
BuddyPress Add-On /wp-admin/admin.php?page=mo_openid_buddypress_add_on | 2,734 | 13.25 | 306.31 | 84.72 |
WooCommerce Add-On /wp-admin/admin.php?page=mo_openid_woocommerce_add_on | 2,694 | 12.39 | 298.18 | 83.04 |
HubSpot Add-On /wp-admin/admin.php?page=mo_openid_hubspot_add_on | 2,312 | 3.89 | 71.67 | 52.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_mo_openid_linked_user
- The uninstall procedure has failed, leaving 9 options in the database
- mo_openid_amazon_enable
- widget_mo_wc_openid_sharing_ver_wid
- widget_mo_wc_openid_login_wid
- widget_mo_wc_openid_sharing_hor_wid
- mo_wc_check_notice
- mo_openid_linkedin_enable
- mo_openid_extension_tab
- mo_openid_google_enable
- mo_wc_openid_rateus_activate
Smoke tests 50% 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
Almost there! Just fix the following items
- 12× PHP files trigger server errors when accessed directly (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/ecommerce-social-login-social-sharing-by-miniorange/view/soc_sha/soc_apps/mo_openid_sharing.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/ecommerce-social-login-social-sharing-by-miniorange/class-mo-wc-openid-social-share.php:12
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/ecommerce-social-login-social-sharing-by-miniorange/view/soc_sha/soc_apps/mo_openid_sharing.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/ecommerce-social-login-social-sharing-by-miniorange/view/soc_sha/soc_apps/mo_openid_sharing.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/ecommerce-social-login-social-sharing-by-miniorange/view/soc_sha/soc_apps/mo_openid_sharing.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/ecommerce-social-login-social-sharing-by-miniorange/view/support_form/miniorange_openid_support_form.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/ecommerce-social-login-social-sharing-by-miniorange/view/support_form/miniorange_openid_support_form.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/ecommerce-social-login-social-sharing-by-miniorange/view/soc_sha/soc_apps/mo_openid_sharing.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-social-login-social-sharing-by-miniorange/class-mo-wc-wcOpenid-login-widget.php:3
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/ecommerce-social-login-social-sharing-by-miniorange/view/support_form/miniorange_openid_support_form.php on line 2
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=mo_openid_mailchimp_add_on
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mo_openid_mailchimp_add_on 421:36 Uncaught TypeError: jQuery(...).intlTelInput is not a function
- > GET request to /wp-admin/admin.php?page=mo_openid_buddypress_add_on
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mo_openid_buddypress_add_on 549:36 Uncaught TypeError: jQuery(...).intlTelInput is not a function
- > GET request to /wp-admin/admin.php?page=mo_openid_woocommerce_add_on
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mo_openid_woocommerce_add_on 547:36 Uncaught TypeError: jQuery(...).intlTelInput is not a function
- > GET request to /wp-admin/admin.php?page=mo_openid_hubspot_add_on
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=mo_openid_hubspot_add_on 644:36 Uncaught TypeError: jQuery(...).intlTelInput is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Social Login apps setup preview.), #2 (Social Login icon customization and preview.), #3 (Social Login display Options.), #4 (Social Login redirection options.), #5 (Advanced options for Social Login.), #6 (WooCommerce display options and Integration.)
- Tags: You are using too many tags: 18 tag instead of maximum 10
ecommerce-social-login-social-sharing-by-miniorange/miniorange_wc_openid_sso_settings.php 92% from 13 tests
This is the main PHP file of "Ecommerce Social Login (Apple, Kakao, Line)" version 1.1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("ecommerce-social-login-social-sharing-by-miniorange.php" instead of "miniorange_wc_openid_sso_settings.php")
Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin42,479 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 95 | 1,619 | 316 | 15,883 |
JavaScript | 7 | 3,137 | 2,116 | 15,414 |
CSS | 10 | 376 | 144 | 5,355 |
PO File | 3 | 1,846 | 2,212 | 5,142 |
SVG | 1 | 0 | 0 | 685 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 150)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 13.45 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 229.00 |
Average method complexity | 7.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 150.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 49 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 4 | 4.30% |
▷ Public methods | 90 | 96.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.23% |
Functions | 135 | |
▷ Named functions | 132 | 97.78% |
▷ Anonymous functions | 3 | 2.22% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
91 PNG files occupy 1.61MB with 0.83MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/icons/paypal.png | 48.75KB | 19.69KB | ▼ 59.61% |
includes/images/mailchimp_logo.png | 14.53KB | 14.53KB | 0.00% |
(invalid) includes/images/icons/stackexchange.png | 3.49KB | 0.00KB | ▼ 100.00% |
includes/images/icons/tumblr.png | 1.76KB | 1.10KB | ▼ 37.45% |
includes/images/dollar.png | 17.15KB | 6.91KB | ▼ 59.73% |