84% forumial-sso

Code Review | Forumial - Cloud Forum Platform - SSO

WordPress plugin Forumial - Cloud Forum Platform - SSO scored 84% from 54 tests.

About plugin

  • Plugin page: forumial-sso
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.6
  • WordPress version: 6.3.1
  • First release: Jan 7, 2021
  • Latest release: Jul 22, 2021
  • Number of updates: 8
  • Update frequency: every 24.6 days
  • Top authors: chuyenim (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,370 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼4.65ms] Passed 4 tests

Server-side resources used by Forumial - Cloud Forum Platform - SSO
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0335.67 ▼7.92
Dashboard /wp-admin3.34 ▲0.0448.19 ▼2.95
Posts /wp-admin/edit.php3.39 ▲0.0450.11 ▼2.44
Add New Post /wp-admin/post-new.php5.92 ▲0.0393.19 ▼5.27
Media Library /wp-admin/upload.php3.26 ▲0.0334.13 ▼0.13
Forumial SSO /wp-admin/options-general.php?page=forumial-options3.2029.57

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: 1 new table, 8 new options
New tables
wp_forumial_sso_clients
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
widget_recent-posts
widget_recent-comments
forumial_secret
forumial_clientid
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Forumial - Cloud Forum Platform - SSO
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,829 ▲9413.32 ▼1.245.38 ▲3.6540.62 ▼4.67
Dashboard /wp-admin2,210 ▲254.85 ▼0.02108.25 ▼3.0141.04 ▼0.78
Posts /wp-admin/edit.php2,093 ▲42.01 ▲0.0439.83 ▲0.9635.19 ▼2.81
Add New Post /wp-admin/post-new.php1,522 ▼1223.21 ▲0.03576.72 ▼107.0552.93 ▼1.92
Media Library /wp-admin/upload.php1,392 ▲44.18 ▼0.0397.81 ▼3.2741.34 ▼3.32
Forumial SSO /wp-admin/options-general.php?page=forumial-options8202.0326.9326.54

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 8 options
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • forumial_clientid
    • db_upgraded
    • forumial_secret

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
    • > GET request to /wp-admin/options-general.php?page=forumial-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=forumial-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 Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: forum, forum platform, sso, cloud forum, forumail

forumial-sso/forumial-sso.php Passed 13 tests

The main PHP script in "Forumial - Cloud Forum Platform - SSO" version 1.1 is automatically included on every request by WordPress
99 characters long description:
Forumial - Cloud Forum Platform. Easily create a cloud forum in just 1-minute. Free plan available.

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
No dangerous file extensions were detected249 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP46023249

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity7.00
▷ Minimum class complexity7.00
▷ Maximum class complexity7.00
Average method complexity2.50
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin