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: ▲1.08MB] [CPU: ▲0.65ms] Passed 4 tests
An overview of server-side resources used by Heateor Social Login WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.61 ▲1.14 | 46.87 ▼0.52 |
Dashboard /wp-admin | 4.43 ▲1.08 | 54.54 ▼2.90 |
Posts /wp-admin/edit.php | 4.49 ▲1.12 | 56.20 ▲11.59 |
Add New Post /wp-admin/post-new.php | 6.95 ▲1.06 | 90.82 ▼5.55 |
Media Library /wp-admin/upload.php | 4.29 ▲1.06 | 46.40 ▲11.57 |
Server storage [IO: ▲0.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 67 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_heateorsllogin |
heateor_sl_version |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
heateor_sl |
Browser metrics Passed 4 tests
Heateor Social Login WordPress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲181 | 13.49 ▼0.80 | 8.05 ▲5.83 | 35.63 ▼14.18 |
Dashboard /wp-admin | 2,216 ▲39 | 5.57 ▼0.08 | 95.47 ▲5.04 | 83.06 ▲40.70 |
Posts /wp-admin/edit.php | 2,137 ▲40 | 1.98 ▼0.09 | 39.69 ▲0.13 | 38.56 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,569 ▲35 | 21.15 ▼4.01 | 736.87 ▲77.06 | 60.69 ▼5.27 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.20 ▼0.01 | 97.47 ▼6.16 | 66.83 ▲23.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 13× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/heateor-social-login/admin/index.php
- > /wp-content/plugins/heateor-social-login/images/snaps/index.php
- > /wp-content/plugins/heateor-social-login/library/SteamLogin/index.php
- > /wp-content/plugins/heateor-social-login/heateor-social-login.php
- > /wp-content/plugins/heateor-social-login/includes/class-heateor-social-login-widgets.php
- > /wp-content/plugins/heateor-social-login/images/index.php
- > /wp-content/plugins/heateor-social-login/library/Line/index.php
- > /wp-content/plugins/heateor-social-login/index.php
- > /wp-content/plugins/heateor-social-login/library/Vkontakte/index.php
- > /wp-content/plugins/heateor-social-login/images/login/index.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\SignatureMethod' not found in wp-content/plugins/heateor-social-login/library/Twitter/src/HmacSha1.php:19
- > PHP Fatal error
Uncaught Error: Class 'Abraham\\TwitterOAuth\\Config' not found in wp-content/plugins/heateor-social-login/library/Twitter/src/TwitterOAuth.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (42 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots require images: #1 (**Social Login - WordPress login form**: Social Login button at WordPress login form), #2 (**Social Login - WordPress Comment form**: Social Login button at WordPress Comment form), #3 (**Social Login - WooCommerce login form**: Social Login button at WooCommerce login and register form), #4 (**Social Login - WooCommerce checkout page**: Social Login button at WooCommerce checkout page)
heateor-social-login/heateor-social-login.php 92% from 13 tests
Analyzing the main PHP file in "Heateor Social Login WordPress" version 1.1.30
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 299 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected7,838 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 836 | 1,641 | 7,678 |
JSON | 1 | 0 | 0 | 55 |
JavaScript | 4 | 3 | 0 | 48 |
YAML | 1 | 0 | 0 | 22 |
Markdown | 1 | 3 | 0 | 19 |
XML | 1 | 0 | 0 | 13 |
CSS | 2 | 0 | 0 | 3 |
PHP code 0% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,580)
- Method cyclomatic complexity should be reduced to less than 100 (currently 1,008)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.82 |
Average class complexity | 97.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,580.00 |
Average method complexity | 10.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1,008.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 0 | 0.00% |
Methods | 199 | |
▷ Static methods | 7 | 3.52% |
▷ Public methods | 168 | 84.42% |
▷ Protected methods | 1 | 0.50% |
▷ Private methods | 30 | 15.08% |
Functions | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 12 | |
▷ Global constants | 2 | 16.67% |
▷ Class constants | 10 | 83.33% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/snaps/sl_email_required.png | 24.20KB | 9.81KB | ▼ 59.46% |
images/snaps/sl_email_popup_message.png | 16.60KB | 6.89KB | ▼ 58.50% |
images/info.png | 0.77KB | 0.58KB | ▼ 25.13% |
images/snaps/sl_emailreq_message.png | 23.67KB | 9.34KB | ▼ 60.54% |
images/star.png | 0.65KB | 0.72KB | 0.00% |