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
Installer ran successfully
Server metrics [RAM: ▲0.83MB] [CPU: ▼4.29ms] Passed 4 tests
Analyzing server-side resources used by Rondeo - Sign In With Google Button
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.33 ▲0.87 | 44.40 ▲1.74 |
Dashboard /wp-admin | 4.18 ▲0.83 | 55.68 ▼9.55 |
Posts /wp-admin/edit.php | 4.23 ▲0.87 | 50.51 ▲5.22 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 91.75 ▼10.31 |
Media Library /wp-admin/upload.php | 4.04 ▲0.81 | 41.11 ▲0.97 |
Server storage [IO: ▲4.35MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 800 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Rondeo - Sign In With Google Button: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.71 ▲0.31 | 1.63 ▼0.14 | 41.01 ▼0.81 |
Dashboard /wp-admin | 2,208 ▲28 | 5.55 ▼0.10 | 83.39 ▼3.81 | 40.68 ▲3.29 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.01 ▼0.01 | 33.30 ▼3.81 | 35.10 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.25 ▲0.08 | 633.27 ▼1.73 | 56.06 ▲2.74 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.19 ▼0.03 | 95.50 ▼7.30 | 43.31 ▲1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 items
- 389× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:15
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/google/apiclient-services/src/Drive/FileList.php:20
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/guzzlehttp/promises/src/Promise.php:10
- > PHP Fatal error
Uncaught Error: Class 'Google\\Collection' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/google/apiclient-services/src/Drive/DriveFile.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/guzzlehttp/psr7/src/DroppingStream.php:13
- > PHP Fatal error
Uncaught Error: Class 'Google\\Auth\\CredentialsLoader' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/google/auth/src/Credentials/ServiceAccountJwtAccessCredentials.php:36
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS8' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/PKCS8.php:37
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\EC\\BaseCurves\\Prime' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r1.php:21
- > PHP Fatal error
Uncaught Error: Class 'phpseclib3\\Crypt\\Common\\Formats\\Keys\\PKCS1' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/PKCS1.php:48
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Processor\\ProcessorInterface' not found in wp-content/plugins/rondeo-sign-in-with-google-button/vendor/monolog/monolog/src/Monolog/Processor/UidProcessor.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: sign in, google, google sso
rondeo-sign-in-with-google-button/plugin.php 92% from 13 tests
The primary PHP file in "Rondeo - Sign In With Google Button" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("rondeo-sign-in-with-google-button.php" instead of "plugin.php")
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 detected86,050 lines of code in 768 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 709 | 12,026 | 44,699 | 78,678 |
Markdown | 27 | 1,659 | 0 | 4,927 |
JSON | 21 | 0 | 0 | 2,218 |
YAML | 7 | 25 | 5 | 186 |
XML | 1 | 0 | 0 | 19 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 179)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 12.85 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 662.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 179.00 |
Code structure | ||
---|---|---|
Namespaces | 78 | |
Interfaces | 38 | |
Traits | 12 | |
Classes | 640 | |
▷ Abstract classes | 213 | 33.28% |
▷ Concrete classes | 427 | 66.72% |
▷ Final classes | 41 | 9.60% |
Methods | 3,974 | |
▷ Static methods | 691 | 17.39% |
▷ Public methods | 3,089 | 77.73% |
▷ Protected methods | 385 | 9.69% |
▷ Private methods | 500 | 12.58% |
Functions | 221 | |
▷ Named functions | 81 | 36.65% |
▷ Anonymous functions | 140 | 63.35% |
Constants | 643 | |
▷ Global constants | 91 | 14.15% |
▷ Class constants | 552 | 85.85% |
▷ Public constants | 544 | 98.55% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin