Benchmarks
Plugin footprint Passed 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.09MB] [CPU: ▼145.41ms] Passed 4 tests
A check of server-side resources used by Social Login Lite For WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 43.93 ▲18.60 |
Dashboard /wp-admin | 3.12 ▲0.07 | 50.81 ▼0.15 |
Posts /wp-admin/edit.php | 3.17 ▲0.07 | 55.55 ▲6.21 |
Add New Post /wp-admin/post-new.php | 5.70 ▲0.27 | 84.64 ▼586.27 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 33.56 ▼1.44 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Social Login Lite For WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,683 ▲87 | 16.02 ▲0.10 | 8.43 ▼0.52 | 52.16 ▲2.93 |
Dashboard /wp-admin | 2,971 ▲40 | 5.90 ▼0.08 | 157.82 ▲14.72 | 190.22 ▲71.90 |
Posts /wp-admin/edit.php | 2,743 ▲4 | 2.68 ▼0.01 | 68.48 ▼4.78 | 106.08 ▲10.76 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.52 ▼0.18 | 364.16 ▼23.25 | 108.88 ▲3.16 |
Media Library /wp-admin/upload.php | 1,811 ▲1 | 5.03 ▲0.01 | 157.78 ▲9.96 | 127.87 ▼0.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4 in social-login-lite-for-woocommerce/assets to your readme.txt
social-login-lite-for-woocommerce/woocommerce_social_login.php 85% from 13 tests
The principal PHP file in "Social Login Lite For WooCommerce" v. 1.6.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: The principal plugin file should be the same as the plugin slug ("social-login-lite-for-woocommerce.php" instead of "woocommerce_social_login.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin758 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 489 | 21 | 709 |
JavaScript | 2 | 16 | 8 | 49 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/google-plus.png | 0.87KB | 0.63KB | ▼ 27.40% |
images/facebook.png | 0.87KB | 0.71KB | ▼ 17.68% |
images/insta.png | 10.04KB | 4.29KB | ▼ 57.27% |
images/logo-wp.png | 1.20KB | 0.57KB | ▼ 52.72% |