Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.82MB] [CPU: ▲15.22ms] Passed 4 tests
A check of server-side resources used by TomS Social Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.85 | 53.19 ▲14.29 |
Dashboard /wp-admin | 4.15 ▲0.85 | 60.04 ▲11.66 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 66.72 ▲20.72 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.77 | 108.69 ▲15.30 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 53.89 ▲19.63 |
TomS Social Login /wp-admin/admin.php?page=toms-social-login-settings | 4.06 | 54.16 |
Dashboard /wp-admin/admin.php?page=toms-wp | 4.00 | 48.60 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 54 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_toms_social_login |
New WordPress options |
---|
toms_social_login__ajax_order |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
TomS Social Login: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,921 ▲175 | 14.41 ▼0.04 | 1.66 ▲0.05 | 37.51 ▼4.05 |
Dashboard /wp-admin | 2,317 ▲129 | 4.86 ▼0.03 | 108.68 ▼2.47 | 40.33 ▼0.63 |
Posts /wp-admin/edit.php | 2,203 ▲114 | 2.08 ▲0.07 | 41.85 ▲4.60 | 34.80 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,564 ▲31 | 18.53 ▼4.47 | 618.02 ▼40.00 | 56.31 ▲7.76 |
Media Library /wp-admin/upload.php | 1,495 ▲107 | 4.26 ▲0.08 | 99.50 ▼7.90 | 41.46 ▼7.69 |
TomS Social Login /wp-admin/admin.php?page=toms-social-login-settings | 1,783 | 1.99 | 37.12 | 77.01 |
Dashboard /wp-admin/admin.php?page=toms-wp | 1,182 | 2.03 | 26.67 | 36.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_toms_social_login
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-comments
- toms_social_login__ajax_order
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
toms-social-login/toms-social-login.php 92% from 13 tests
"TomS Social Login" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin4,755 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 591 | 406 | 4,101 |
PO File | 2 | 128 | 177 | 286 |
CSS | 3 | 41 | 5 | 260 |
JSON | 1 | 0 | 0 | 79 |
JavaScript | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 25.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 7.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 91 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 91 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
9 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/assets/img/TomS-68.png | 1.34KB | 1.79KB | 0.00% |
vendor/assets/img/toms-extra-source.png | 8.10KB | 3.04KB | ▼ 62.51% |
vendor/assets/img/toms-recaptcha.png | 13.43KB | 3.27KB | ▼ 75.67% |
vendor/assets/img/toms-vaptcha.png | 16.53KB | 3.48KB | ▼ 78.94% |
vendor/assets/img/toms-video-player.png | 8.10KB | 3.04KB | ▼ 62.51% |