Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼16.92ms] Passed 4 tests
This is a short check of server-side resources used by Single Sign-On - Professional SSO solution for WordPress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.41 | 40.05 ▲0.59 |
Dashboard /wp-admin | 3.61 ▲0.26 | 33.79 ▼28.47 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 39.76 ▼10.53 |
Add New Post /wp-admin/post-new.php | 5.85 ▼0.04 | 74.11 ▼29.23 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 35.92 ▲0.54 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
oa_single_sign_on_notices |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Single Sign-On - Professional SSO solution for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,851 ▲105 | 13.63 ▼0.75 | 1.80 ▲0.09 | 41.37 ▲1.55 |
Dashboard /wp-admin | 2,232 ▲44 | 5.83 ▲0.94 | 99.25 ▲2.09 | 40.20 ▼1.92 |
Posts /wp-admin/edit.php | 2,111 ▲19 | 1.99 ▼0.04 | 35.94 ▼4.19 | 37.03 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,565 ▲37 | 18.48 ▲0.38 | 587.11 ▼18.47 | 53.76 ▲3.93 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.23 ▲0.02 | 100.03 ▲0.10 | 44.43 ▲1.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- oa_single_sign_on_notices
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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 take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/single-sign-on-sso/includes/core.php:211
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/single-sign-on-sso/includes/user_interface.php:212
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/single-sign-on-sso/includes/admin_interface.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/single-sign-on-sso/oa-single-sign-on.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
single-sign-on-sso/oa-single-sign-on.php 85% from 13 tests
The primary PHP file in "Single Sign-On - Professional SSO solution for WordPress" version 2.1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 203 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("single-sign-on-sso.php" instead of "oa-single-sign-on.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected3,044 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 557 | 894 | 2,589 |
CSS | 2 | 54 | 0 | 317 |
JavaScript | 1 | 19 | 10 | 138 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 77 | |
▷ Named functions | 77 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
4 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 43.20KB | 19.46KB | ▼ 54.96% |
assets/img/overlay.png | 0.49KB | 0.11KB | ▼ 78.17% |
assets/img/status_ok.png | 0.76KB | 0.81KB | 0.00% |
assets/img/status_error.png | 0.64KB | 0.72KB | 0.00% |