10% wp-sso-server

Code Review | WP SSO server

WordPress plugin WP SSO server scored10%from 54 tests.

About plugin

  • Plugin page: wp-sso-server
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9.2-4.9.4
  • WordPress version: 6.3.1
  • First release: Feb 23, 2018
  • Latest release: Feb 24, 2018
  • Number of updates: 14
  • Update frequency: every 0.1 days
  • Top authors: ferromariano (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /624 total downloads


Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Warning in wp-content/plugins/wp-sso-server/wp-sso-server.php+211
    require(wp-content/plugins/wp-sso-server/admin/admin.php): failed to open stream: No such file or directory

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.83ms] Passed 4 tests

A check of server-side resources used by WP SSO server
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0039.58 ▼0.09
Dashboard /wp-admin3.31 ▲0.0045.54 ▼3.24
Posts /wp-admin/edit.php3.36 ▲0.0046.30 ▼2.47
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.25 ▼16.19
Media Library /wp-admin/upload.php3.23 ▲0.0034.52 ▼1.43

Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP SSO server
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.63 ▼0.741.89 ▼0.1846.01 ▼4.67
Dashboard /wp-admin2,206 ▲185.91 ▲1.04105.80 ▼6.8239.63 ▼2.82
Posts /wp-admin/edit.php2,089 ▼32.12 ▲0.1239.25 ▼4.2937.72 ▲1.86
Add New Post /wp-admin/post-new.php1,542 ▲2318.24 ▼4.96618.60 ▼86.8559.71 ▼10.82
Media Library /wp-admin/upload.php1,382 ▼64.19 ▲0.0195.56 ▼7.3341.80 ▼1.22

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
  • Contributors: Plugin contributors field is missing
Please take inspiration from this readme.txt

wp-sso-server/wp-sso-server.php 92% from 13 tests

The main file in "WP SSO server" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 153 characters long)

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
There were no executable files found in this plugin219 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity35.00
▷ Minimum class complexity35.00
▷ Maximum class complexity35.00
Average method complexity2.89
▷ Minimum method complexity1.00
▷ Maximum method complexity12.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods316.67%
▷ Public methods18100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin