78% codoforum-sso

Code Review | codoforum-sso

WordPress plugin codoforum-sso scored78%from 54 tests.

About plugin

  • Plugin page: codoforum-sso
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.5.1
  • WordPress version: 6.3.1
  • First release: Nov 28, 2014
  • Latest release: Sep 29, 2020
  • Number of updates: 5
  • Update frequency: every 426.6 days
  • Top authors: evnix (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,413 total downloads


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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼8.30ms] Passed 4 tests

This is a short check of server-side resources used by codoforum-sso
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0139.07 ▼3.61
Dashboard /wp-admin3.32 ▼0.0246.92 ▼18.95
Posts /wp-admin/edit.php3.37 ▲0.0251.83 ▼2.63
Add New Post /wp-admin/post-new.php5.90 ▲0.0297.99 ▼8.00
Media Library /wp-admin/upload.php3.24 ▲0.0238.22 ▲0.73
Codoforum SSO /wp-admin/options-general.php?page=codoforum-options3.1933.41

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for codoforum-sso
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.34 ▼0.051.94 ▲0.0341.10 ▲2.59
Dashboard /wp-admin2,202 ▲285.61 ▲0.0491.08 ▲1.1942.48 ▲0.39
Posts /wp-admin/edit.php2,107 ▲42.02 ▼0.0941.41 ▼0.5137.96 ▼1.99
Add New Post /wp-admin/post-new.php1,531 ▲522.98 ▼0.23618.86 ▼77.4057.40 ▲4.01
Media Library /wp-admin/upload.php1,407 ▲74.19 ▼0.01100.47 ▼8.4143.72 ▼1.37
Codoforum SSO /wp-admin/options-general.php?page=codoforum-options8122.0223.5026.75

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 8 options in the database
    • codoforum_clientid
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • codoforum_secret
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=codoforum-options
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=codoforum-options
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/codoforum-sso/wordpress-codoforum-sso.php:23

User-side errors Passed 1 test

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


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: codoforum, forum, sso

codoforum-sso/wordpress-codoforum-sso.php 92% from 13 tests

Analyzing the main PHP file in "codoforum-sso" version 1.1
You should first fix the following items:
  • Main file name: Name the main plugin file the same as the plugin slug ("codoforum-sso.php" instead of "wordpress-codoforum-sso.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
Good job! No executable or dangerous file extensions detected112 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity12.00
▷ Minimum class complexity12.00
▷ Maximum class complexity12.00
Average method complexity4.67
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions5100.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