Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/wp-sso-client/wp-sso-client.php+204
Use of undefined constant WP_SSO_SERVER - assumed 'WP_SSO_SERVER' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.82MB] [CPU: ▼191.13ms] Passed 4 tests
This is a short check of server-side resources used by wp-sso-client
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.81 ▼1.03 | 8.63 ▼27.60 |
Dashboard /wp-admin | 1.83 ▼1.23 | 6.18 ▼39.30 |
Posts /wp-admin/edit.php | 1.83 ▼1.28 | 5.57 ▼42.22 |
Add New Post /wp-admin/post-new.php | 1.83 ▼3.61 | 5.50 ▼652.23 |
Media Library /wp-admin/upload.php | 1.83 ▼1.17 | 6.61 ▼30.78 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for wp-sso-client
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.10 ▲0.46 | 9.31 ▲1.77 | 47.37 ▲0.01 |
Dashboard /wp-admin | 2,970 ▲39 | 6.06 ▼0.10 | 140.33 ▼12.42 | 121.12 ▼0.36 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.68 ▼0.01 | 65.53 ▼8.20 | 95.70 ▲7.43 |
Add New Post /wp-admin/post-new.php | 1,872 ▲189 | 19.18 ▲0.84 | 385.41 ▲6.08 | 120.60 ▲7.06 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.02 ▲0.03 | 151.36 ▲1.73 | 124.51 ▼6.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/wp-sso-client/wp-sso-client.php+204
Use of undefined constant WP_SSO_SERVER - assumed 'WP_SSO_SERVER' (this will throw an Error in a future version of PHP)
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sso-client/wp-sso-client.php:207
- > PHP Warning
Use of undefined constant WP_SSO_SERVER - assumed 'WP_SSO_SERVER' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-sso-client/wp-sso-client.php on line 204
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
wp-sso-client/wp-sso-client.php Passed 13 tests
The principal PHP file in "wp-sso-client" v. 1.0 is loaded by WordPress automatically on each request
11 characters long description:
cliente sso
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected168 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 68 | 8 | 135 |
JavaScript | 1 | 2 | 0 | 27 |
Markdown | 1 | 6 | 0 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 6 | 30.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin