Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.77MB] [CPU: ▼3.72ms] Passed 4 tests
A check of server-side resources used by OAuth Social Login - Single Sign On - SSO
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.75 | 49.02 ▲6.67 |
Dashboard /wp-admin | 4.07 ▲0.76 | 52.88 ▼3.56 |
Posts /wp-admin/edit.php | 4.17 ▲0.81 | 52.81 ▲0.40 |
Add New Post /wp-admin/post-new.php | 6.78 ▲0.89 | 81.16 ▼12.46 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 40.27 ▲0.74 |
Server storage [IO: ▲1.76MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 164 new files
Database: 1 new table, 31 new options
New tables |
---|
wp_ec_oauth_login_users |
New WordPress options |
---|
ecsl_logout_display_text |
ecsl_user_role_mapping |
elite_button_size |
ecsl_apps |
widget_recent-posts |
ecsl_deactivate_form_submit |
ecsl_default_registration_form |
ecsl_logout_display |
ecsl_premium_apps |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by OAuth Social Login - Single Sign On - SSO
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.26 ▼0.10 | 1.79 ▲0.05 | 46.37 ▲3.94 |
Dashboard /wp-admin | 2,206 ▲32 | 5.54 ▲0.00 | 90.39 ▲3.77 | 75.17 ▲36.49 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.07 ▲0.03 | 38.16 ▲1.60 | 36.20 ▲4.09 |
Add New Post /wp-admin/post-new.php | 1,700 ▲172 | 22.14 ▼1.17 | 743.29 ▲53.20 | 53.15 ▼5.39 |
Media Library /wp-admin/upload.php | 1,423 ▲20 | 4.16 ▲0.07 | 97.70 ▼8.71 | 69.84 ▲22.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_ec_oauth_login_users
- The uninstall procedure has failed, leaving 10 options in the database
- theysaidso_admin_options
- ecsl_deactivate_form_submit
- db_upgraded
- ecsl_apps
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- ecsl_activation_mail
- widget_recent-comments
- ecsl_premium_apps
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (OAuth Social Login Applications Admin View.), #2 (OAuth Social Login Application Buttons Virtual Preview.), #3 (OAuth Social Login Application Settings - General Options.), #4 (OAuth Social Login Application Settings - Redirection & Registration Options.), #5 (OAuth Social Login Application Settings - Display Form Options.), #6 (OAuth Social Login - Button with Text - Application background.), #7 (OAuth Social Login - Button with Text - White background.), #8 (OAuth Social Login - Button with Text - Application Hover.), #9 (OAuth Social Login - Button with Text - Dual color background.), #10 (OAuth Social Login - icon - Application background.), #11 (OAuth Social Login - icon - White background.)
- Tags: You are using too many tags: 18 tag instead of maximum 10
social-oauth-login-sso/elite-social-login.php 85% from 13 tests
Analyzing the main PHP file in "OAuth Social Login - Single Sign On - SSO" version 1.0.5
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("social-oauth-login-sso.php" instead of "elite-social-login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected6,454 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 194 | 87 | 4,638 |
CSS | 6 | 161 | 8 | 980 |
JavaScript | 2 | 139 | 38 | 836 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
112 PNG files occupy 1.28MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/social_images/linkedin/linkedin_icon.png | 4.88KB | 2.32KB | ▼ 52.42% |
includes/images/social_images/premium_apps/paypal.png | 3.16KB | 2.46KB | ▼ 22.02% |
includes/images/social_images/premium_apps/dropbox.png | 1.60KB | 1.86KB | 0.00% |
includes/images/login_images/woocommerce/woocommerce_after_registration.png | 37.85KB | 12.48KB | ▼ 67.04% |
includes/images/login_images/woocommerce/woocommerce_before_checkout.png | 20.09KB | 7.15KB | ▼ 64.42% |