Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.92MB] [CPU: ▲2.69ms] Passed 4 tests
An overview of server-side resources used by Social Login by BestWebSoft
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.46 ▲0.99 | 49.19 ▲11.63 |
Dashboard /wp-admin | 4.27 ▲0.92 | 65.89 ▲3.94 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 54.72 ▲3.41 |
Add New Post /wp-admin/post-new.php | 6.81 ▲0.92 | 89.64 ▼8.23 |
Media Library /wp-admin/upload.php | 4.13 ▲0.90 | 48.95 ▲11.68 |
Server storage [IO: ▲5.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 227 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
bstwbsftwppdtplgns_options |
scllgn_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Social Login by BestWebSoft
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲62 | 13.29 ▼1.30 | 2.05 ▲0.20 | 42.24 ▼3.73 |
Dashboard /wp-admin | 2,239 ▲56 | 4.92 ▼0.06 | 106.93 ▼2.37 | 37.58 ▼4.80 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 2.07 ▲0.02 | 35.25 ▼7.37 | 34.23 ▼3.82 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.18 ▲0.16 | 670.69 ▼10.58 | 59.26 ▼0.59 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.21 ▼0.02 | 110.84 ▼4.98 | 48.04 ▲0.54 |
BWS Panel /wp-admin/social-login.php?page=scllgn-bws-panel | 26 | 0.44 | 0.09 | 12.43 |
Settings /wp-admin/social-login.php | 26 | 0.44 | 0.07 | 6.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 83× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/social-login-bws/includes/hybrid/Provider/ORCID.php:18
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/social-login-bws/includes/hybrid/Provider/Google.php:47
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/social-login-bws/includes/hybrid/Provider/GitHub.php:18
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/social-login-bws/includes/hybrid/Provider/WordPress.php:18
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Exception\\RuntimeException' not found in wp-content/plugins/social-login-bws/includes/hybrid/Exception/UnexpectedValueException.php:17
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/social-login-bws/includes/hybrid/Provider/StackExchange.php:38
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Exception\\RuntimeException' not found in wp-content/plugins/social-login-bws/includes/hybrid/Exception/BadMethodCallException.php:15
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\AbstractAdapter' not found in wp-content/plugins/social-login-bws/includes/hybrid/Adapter/OAuth2.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Hybridauth\\Logger\\LoggerInterface' not found in wp-content/plugins/social-login-bws/includes/hybrid/Logger/Logger.php:16
- > PHP Fatal error
Uncaught Error: Class 'Hybridauth\\Adapter\\OAuth2' not found in wp-content/plugins/social-login-bws/includes/hybrid/Provider/Reddit.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/social-login.php?page=scllgn-bws-panel
- > Network (severe)
wp-admin/social-login.php?page=scllgn-bws-panel - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/social-login.php
- > Network (severe)
wp-admin/social-login.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Social Login buttons displaying on the login form.), #2 (Social Login short buttons displaying on the login form.), #3 (Social Login buttons displaying on the comment form.), #4 (Plugin Settings page.), #5 (Linking social accounts to existing WordPress account on the profile page.)
- Tags: You are using too many tags: 14 tag instead of maximum 10
social-login-bws/social-login-bws.php Passed 13 tests
The main PHP file in "Social Login by BestWebSoft" ver. 1.4.4 adds more information about the plugin and also serves as the entry point for this plugin
79 characters long description:
Add social media login, registration, and commenting to your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin26,150 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 107 | 2,502 | 5,377 | 11,408 |
PO File | 11 | 3,704 | 5,585 | 8,137 |
CSS | 11 | 194 | 277 | 5,900 |
JavaScript | 7 | 34 | 113 | 467 |
SVG | 4 | 0 | 0 | 150 |
YAML | 2 | 11 | 2 | 69 |
Markdown | 3 | 10 | 0 | 18 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 10.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 225.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 94 | |
▷ Abstract classes | 5 | 5.32% |
▷ Concrete classes | 89 | 94.68% |
▷ Final classes | 5 | 5.62% |
Methods | 395 | |
▷ Static methods | 14 | 3.54% |
▷ Public methods | 265 | 67.09% |
▷ Protected methods | 117 | 29.62% |
▷ Private methods | 13 | 3.29% |
Functions | 92 | |
▷ Named functions | 89 | 96.74% |
▷ Anonymous functions | 3 | 3.26% |
Constants | 8 | |
▷ Global constants | 2 | 25.00% |
▷ Class constants | 6 | 75.00% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
66 PNG files occupy 3.18MB with 0.82MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 145.52KB | 48.83KB | ▼ 66.44% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
bws_menu/css/jquery-ui-styles/1.12.1/images/ui-icons_cd0a0a_256x240.png | 4.57KB | 4.18KB | ▼ 8.43% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |