SSO OAuth for Discord by path digital 2.5.0

Does "SSO OAuth for Discord by path digital" work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
8PHP warnings
26PHP notices
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 34.05 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/sso-oauth-discord-by-path-digital/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=sso-oauth-discord-by-path-digital%2Fpathdigital-discord-oauth.php&plugin_status=all&paged=1&s&_wpnonce=e67190b7c5
Aspect after-activation
HTTP status 200
Load time 0.294 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Discord OAuth

Page screenshot: Discord OAuth
URL /wp-admin/admin.php?page=pd_discord_oauth_settings&tab=oauth2
Requested URL /wp-admin/admin.php?page=pd_discord_oauth_settings
Aspect menu-item
HTTP status 200
Load time 0.785 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Discord OAuth → Bot Settings

Page screenshot: Discord OAuth → Bot Settings
URL /wp-admin/admin.php?page=pd_discord_oauth_settings&tab=bot
Aspect menu-item-tab
HTTP status 200
Load time 0.291 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Discord OAuth → General Settings

Page screenshot: Discord OAuth → General Settings
URL /wp-admin/admin.php?page=pd_discord_oauth_settings&tab=general
Aspect menu-item-tab
HTTP status 200
Load time 0.292 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Discord OAuth → Login Page Design

Page screenshot: Discord OAuth → Login Page Design
URL /wp-admin/admin.php?page=pd_discord_oauth_settings&tab=login_page
Aspect menu-item-tab
HTTP status 200
Load time 0.298 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Discord OAuth → Tools

Page screenshot: Discord OAuth → Tools
URL /wp-admin/admin.php?page=pd_discord_oauth_settings&tab=tools
Aspect menu-item-tab
HTTP status 200
Load time 0.278 s
Memory usage 3.68 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.239 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.935 s
Memory usage 5.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.283 s-0.061 s3.72 MiB3.75 MiB+ 27.43 KiB
/wp-admin/edit.php0.180 s0.211 s+0.031 s3.76 MiB3.78 MiB+ 27.45 KiB
/wp-admin/post-new.php0.959 s1.205 s+0.246 s5.55 MiB5.59 MiB+ 39.18 KiB
/wp-admin/upload.php0.439 s0.377 s-0.062 s3.69 MiB3.71 MiB+ 26.3 KiB
/wp-admin/options-writing.php0.148 s0.143 s-0.005 s3.62 MiB3.69 MiB+ 70.2 KiB
/wp-admin/media-new.php0.394 s0.358 s-0.036 s3.66 MiB3.69 MiB+ 26.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.185 s-0.030 s3.69 MiB3.72 MiB+ 27.38 KiB
/wp-admin/post-new.php?post_type=page1.505 s1.122 s-0.383 s5.54 MiB5.57 MiB+ 29.75 KiB
/wp-admin/options-discussion.php0.204 s0.252 s+0.048 s3.6 MiB3.69 MiB+ 90.78 KiB
/wp-admin/edit-comments.php0.214 s0.206 s-0.008 s3.7 MiB3.72 MiB+ 26.32 KiB
/0.267 s0.216 s-0.051 s3.61 MiB3.59 MiB- 16.72 KiB
Average 0.443 s0.414 s-0.028 s4.01 MiB4.05 MiB+ 34.05 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP92.8%1,910749
CSS6.4%13202
JavaScript0.8%1601
Total 2,058 74 12

PHP Code Analysis | More results »

Lines of code 1,789
Total complexity 463
Median class complexity 114.0
Median method complexity 4.0
Most complex class PD_Discord_OAuth_Admin
Most complex function PD_Discord_OAuth_Admin_Menu::render_content()
Classes 5
Methods 44
Functions 1

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

Meta Boxes

{
    "page": {
        "pd_user_roles": {
            "title": "Discord OAuth",
            "context": "side"
        }
    }
}

PHP Error Log 35 lines

[21-Sep-2022 00:58:50 UTC] PHP Deprecated:  Non-static method PD_Discord_OAuth::activation() should not be called statically in /wp-includes/class-wp-hook.php on line 307
[21-Sep-2022 00:58:52 UTC] PHP Notice:  Undefined index: login_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 78
[21-Sep-2022 00:58:52 UTC] PHP Notice:  Undefined index: pd_page_accessible_roles in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:58:52 UTC] PHP Warning:  array_map(): Expected parameter 2 to be an array, null given in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:58:52 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 526
[21-Sep-2022 00:58:53 UTC] PHP Notice:  Undefined variable: all_server_roles in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 438
[21-Sep-2022 00:58:54 UTC] PHP Notice:  Undefined index: login_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 469
[21-Sep-2022 00:58:54 UTC] PHP Notice:  Undefined index: success_redirect_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 547
[21-Sep-2022 00:58:54 UTC] PHP Notice:  Undefined index: success_redirect_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 547
[21-Sep-2022 00:58:54 UTC] PHP Notice:  Undefined index: success_redirect_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 547
[21-Sep-2022 00:58:54 UTC] PHP Notice:  Undefined index: success_redirect_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 547
[21-Sep-2022 00:58:54 UTC] PHP Notice:  Undefined index: success_redirect_page in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin-menu.php on line 547
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_menus in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 411
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:58:57 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:58:59 UTC] PHP Notice:  Undefined index: pd_page_accessible_roles in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:58:59 UTC] PHP Warning:  array_map(): Expected parameter 2 to be an array, null given in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:58:59 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 526
[21-Sep-2022 00:59:02 UTC] PHP Notice:  Undefined index: pd_page_accessible_roles in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:59:02 UTC] PHP Warning:  array_map(): Expected parameter 2 to be an array, null given in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:59:02 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 526
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_menus in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 411
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:59:05 UTC] PHP Notice:  Undefined index: hide_widgets in /wp-content/plugins/sso-oauth-discord-by-path-digital/pathdigital-discord-oauth.php on line 428
[21-Sep-2022 00:59:06 UTC] PHP Notice:  Undefined index: pd_page_accessible_roles in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:59:06 UTC] PHP Warning:  array_map(): Expected parameter 2 to be an array, null given in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 525
[21-Sep-2022 00:59:06 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/sso-oauth-discord-by-path-digital/admin/class-admin.php on line 526
See also: All tests for this plugin