Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼2.48ms] Passed 4 tests
A check of server-side resources used by CAMOO SSO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 42.41 ▲0.57 |
Dashboard /wp-admin | 3.54 ▲0.24 | 49.13 ▼0.49 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 47.52 ▼1.16 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 81.14 ▼8.84 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 40.02 ▲5.48 |
Single Sign On /wp-admin/options-general.php?page=wp_camoo_sso_options | 3.37 | 30.96 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 131 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
wp_camoo_sso_options |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
CAMOO SSO: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,873 ▲126 | 13.91 ▼0.46 | 1.81 ▲0.10 | 45.20 ▼1.05 |
Dashboard /wp-admin | 2,193 ▲19 | 5.56 ▼0.05 | 87.10 ▼24.93 | 40.86 ▼11.41 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.06 | 38.00 ▼1.40 | 35.42 ▲0.47 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.24 ▲0.21 | 685.02 ▼8.11 | 63.84 ▲13.02 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.06 | 99.48 ▼11.78 | 40.94 ▼3.93 |
Single Sign On /wp-admin/options-general.php?page=wp_camoo_sso_options | 929 | 1.78 | 27.00 | 31.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 take a closer look at the following
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/camoo-sso/src/Controller/AdminController.php
- > /wp-content/plugins/camoo-sso/src/Services/Integration.php
- > /wp-content/plugins/camoo-sso/src/Services/TokenService.php
- > /wp-content/plugins/camoo-sso/src/Lib/ConstraintCollection.php
- > /wp-content/plugins/camoo-sso/src/Lib/Helper.php
- > /wp-content/plugins/camoo-sso/camoo-sso.php
- > /wp-content/plugins/camoo-sso/src/Services/RewriteService.php
- > /wp-content/plugins/camoo-sso/src/Services/CallbackService.php
- 68× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\JWT\\Encoder' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Encoding/JoseEncoder.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\Clock\\Clock' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/clock/src/SystemClock.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\JWT\\Validation\\ValidAt' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php:14
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\OpenSSL' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Signer/Rsa.php:8
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\UnsafeRsa' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha384.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\JWT\\Exception' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Validation/Constraint/CannotValidateARegisteredClaim.php:9
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\Ecdsa' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\JWT\\Exception' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Validation/RequiredConstraintsViolated.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Lcobucci\\JWT\\Validation\\Constraint' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php:10
- > PHP Fatal error
Uncaught Error: Class 'Lcobucci\\JWT\\Signer\\Hmac' not found in wp-content/plugins/camoo-sso/vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha512.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: managed hosting with sso, camoohosting, hbergement web avec sso, camoo sso integration
camoo-sso/camoo-sso.php 92% from 13 tests
The entry point to "CAMOO SSO" version 1.5.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin5,993 lines of code in 119 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 110 | 1,011 | 878 | 3,920 |
CSS | 3 | 76 | 48 | 1,791 |
JSON | 4 | 0 | 0 | 268 |
JavaScript | 1 | 1 | 0 | 12 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview 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.31 |
Average class complexity | 3.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 17 | |
Traits | 0 | |
Classes | 84 | |
▷ Abstract classes | 6 | 7.14% |
▷ Concrete classes | 78 | 92.86% |
▷ Final classes | 73 | 93.59% |
Methods | 399 | |
▷ Static methods | 74 | 18.55% |
▷ Public methods | 334 | 83.71% |
▷ Protected methods | 7 | 1.75% |
▷ Private methods | 58 | 14.54% |
Functions | 8 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 8 | 100.00% |
Constants | 67 | |
▷ Global constants | 4 | 5.97% |
▷ Class constants | 63 | 94.03% |
▷ Public constants | 42 | 66.67% |
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
2 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 61.07KB | 24.72KB | ▼ 59.51% |
assets/images/Selection_172.png | 40.31KB | 16.24KB | ▼ 59.72% |