Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.68MB] [CPU: ▲4.13ms] Passed 4 tests
This is a short check of server-side resources used by Quick Social Login
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.68 | 45.80 ▲1.05 |
Dashboard /wp-admin | 3.98 ▲0.68 | 66.36 ▲12.41 |
Posts /wp-admin/edit.php | 4.03 ▲0.68 | 58.95 ▲4.91 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.70 | 109.57 ▲2.29 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 44.93 ▲8.27 |
Quick Social Login /wp-admin/options-general.php?page=quick-login-options | 3.81 | 38.34 |
Server storage [IO: ▲1.85MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 423 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Quick Social Login
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲42 | 14.32 ▼0.06 | 1.67 ▼0.38 | 41.45 ▼4.26 |
Dashboard /wp-admin | 2,221 ▲47 | 5.60 ▼0.03 | 83.24 ▼16.59 | 42.17 ▼5.47 |
Posts /wp-admin/edit.php | 2,130 ▲27 | 2.06 ▲0.06 | 42.83 ▲1.31 | 37.50 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,557 ▲12 | 23.33 ▲0.12 | 695.36 ▲30.09 | 65.16 ▲3.95 |
Media Library /wp-admin/upload.php | 1,429 ▲35 | 4.25 ▲0.01 | 100.54 ▼6.79 | 44.55 ▼0.91 |
Quick Social Login /wp-admin/options-general.php?page=quick-login-options | 1,411 | 1.90 | 29.15 | 73.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% 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)
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 220× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/quick-login/vendor/guzzlehttp/promises/src/FulfilledPromise.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/quick-login/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'League\\OAuth1\\Client\\Server\\Server' not found in wp-content/plugins/quick-login/vendor/league/oauth1-client/src/Client/Server/Twitter.php:7
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/quick-login/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php:4
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/quick-login/vendor/league/oauth2-google/examples/../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/quick-login/vendor/league/oauth2-google/examples/provider.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/quick-login/vendor/guzzlehttp/guzzle/src/Pool.php:20
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/quick-login/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:15
- > PHP Fatal error
Uncaught Error: Class 'League\\OAuth2\\Client\\Provider\\AbstractProvider' not found in wp-content/plugins/quick-login/vendor/league/oauth2-client/src/Provider/GenericProvider.php:27
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/quick-login/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'League\\OAuth2\\Client\\Provider\\AbstractProvider' not found in wp-content/plugins/quick-login/vendor/league/oauth2-linkedin/src/Provider/LinkedIn.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires at least: Version format is invalid
quick-login/quick-login.php Passed 13 tests
This is the main PHP file of "Quick Social Login" version 1.4.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
127 characters long description:
Enable secure login & registration with social accounts! Supports Twitter, Facebook, Google, WordPress.com, LinkedIn and Slack.
Code Analysis 97% from 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
No dangerous file extensions were detected42,579 lines of code in 393 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 323 | 4,022 | 9,408 | 35,001 |
Markdown | 26 | 1,668 | 0 | 4,485 |
JSON | 21 | 1 | 0 | 2,183 |
CSS | 2 | 84 | 4 | 427 |
YAML | 9 | 47 | 3 | 279 |
XML | 6 | 4 | 0 | 143 |
JavaScript | 2 | 15 | 4 | 37 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 2 | 3 | 0 | 5 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 179.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 23 | |
Traits | 9 | |
Classes | 252 | |
▷ Abstract classes | 7 | 2.78% |
▷ Concrete classes | 245 | 97.22% |
▷ Final classes | 25 | 10.20% |
Methods | 1,350 | |
▷ Static methods | 157 | 11.63% |
▷ Public methods | 1,037 | 76.81% |
▷ Protected methods | 160 | 11.85% |
▷ Private methods | 153 | 11.33% |
Functions | 199 | |
▷ Named functions | 76 | 38.19% |
▷ Anonymous functions | 123 | 61.81% |
Constants | 173 | |
▷ Global constants | 42 | 24.28% |
▷ Class constants | 131 | 75.72% |
▷ Public constants | 131 | 100.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
There are no PNG files in this plugin