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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.09ms] Passed 4 tests
This is a short check of server-side resources used by SocialAll - Social Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.62 ▼6.03 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.14 ▼2.57 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.16 ▲0.75 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 87.12 ▼4.52 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 42.23 ▲5.79 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
sk_soclall_login_api_networks_settings |
sk_soclall_login_settings |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by SocialAll - Social Login
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.56 ▼0.82 | 1.82 ▼0.21 | 43.55 ▲1.67 |
Dashboard /wp-admin | 2,213 ▲25 | 5.84 ▲0.96 | 98.41 ▼19.67 | 71.14 ▲26.16 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.03 ▼0.03 | 36.13 ▲3.15 | 33.11 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,684 ▲170 | 22.39 ▲4.77 | 661.77 ▼16.39 | 53.15 ▼4.15 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.22 ▼0.04 | 101.08 ▼6.29 | 47.78 ▲1.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- can_compress_scripts
- sk_soclall_login_api_networks_settings
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- sk_soclall_login_settings
- widget_theysaidso_widget
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
Good news, no errors were detected
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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/socialall-social-login/admin/how-to-get-app-id.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/socialall-social-login/social-login/bottom-login-form.php on line 15
- > PHP Notice
Undefined variable: networks in wp-content/plugins/socialall-social-login/social-login/bottom-login-form.php on line 15
- > PHP Notice
Undefined variable: theme_applied in wp-content/plugins/socialall-social-login/social-login/bottom-login-form.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/socialall-social-login/admin/shortcode-guide.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/socialall-social-login/social-login/bottom-login-form.php:30
- > PHP Notice
Undefined variable: theme_applied in wp-content/plugins/socialall-social-login/social-login/bottom-login-form.php on line 7
- > PHP Warning
Use of undefined constant SK_SOCLALL_LOGIN_SHORTCODE - assumed 'SK_SOCLALL_LOGIN_SHORTCODE' (this will throw an Error in a future version of PHP) in wp-content/plugins/socialall-social-login/admin/shortcode-guide.php on line 1
- > PHP Notice
Undefined variable: theme_applied in wp-content/plugins/socialall-social-login/social-login/bottom-login-form.php on line 8
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: social network login, soclall, social connect, socialall, social...
socialall-social-login/sk-soclall-login.php 77% from 13 tests
The main PHP script in "SocialAll - Social Login" version 2.5 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 144 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("socialall-social-login.php" instead of "sk-soclall-login.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected3,438 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 292 | 17 | 1,804 |
PHP | 18 | 210 | 21 | 1,332 |
JavaScript | 2 | 40 | 11 | 302 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 46 | |
▷ Static methods | 2 | 4.35% |
▷ Public methods | 44 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.35% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 31 | |
▷ Global constants | 9 | 29.03% |
▷ Class constants | 22 | 70.97% |
▷ Public constants | 22 | 100.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
8 PNG files occupy 0.74MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/soclall-icon.png | 0.46KB | 0.35KB | ▼ 24.68% |
images/white-icons.png | 150.02KB | 80.14KB | ▼ 46.58% |
images/icons@2x.png | 40.50KB | 22.37KB | ▼ 44.76% |
images/black-icons.png | 36.49KB | 10.30KB | ▼ 71.78% |
images/soclall-logo.png | 1.28KB | 0.87KB | ▼ 32.29% |