Same but Different 1.0.08

Does Same but Different work with WordPress 5.6.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
1PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 64.51 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 version5.6.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/same-but-different/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=same-but-different%2Fsame-but-different.php&plugin_status=all&paged=1&s&_wpnonce=8792878115
Aspect after-activation
HTTP status 200
Load time 0.300 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

Appearance → Same but Different

Page screenshot: Appearance → Same but Different
URL /wp-admin/themes.php?page=same-but-different_settings
Aspect menu-item
HTTP status 200
Load time 0.198 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Appearance → Same but Different → Our Themes1

Page screenshot: Appearance → Same but Different → Our Themes1
URL /wp-admin/themes.php?page=same-but-different_settings&tab=themes
Aspect menu-item-tab
HTTP status 200
Load time 2.905 s
Memory usage 2.75 MiB
JS errors None
Resource errors None

Appearance → Same but Different → Our Plugins1

Page screenshot: Appearance → Same but Different → Our Plugins1
URL /wp-admin/themes.php?page=same-but-different_settings&tab=plugins
Aspect menu-item-tab
HTTP status 200
Load time 0.405 s
Memory usage 2.75 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.303 s
Memory usage 2.65 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.960 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.270 s0.260 s-0.010 s2.79 MiB2.85 MiB+ 62.48 KiB
/wp-admin/edit.php0.178 s0.198 s+0.020 s2.84 MiB2.89 MiB+ 60.13 KiB
/wp-admin/post-new.php0.848 s1.068 s+0.220 s4.93 MiB5.01 MiB+ 74.8 KiB
/wp-admin/upload.php0.484 s0.440 s-0.044 s2.67 MiB2.73 MiB+ 62.41 KiB
/wp-admin/options-writing.php0.262 s0.175 s-0.087 s2.68 MiB2.71 MiB+ 26.13 KiB
/wp-admin/media-new.php0.209 s0.184 s-0.025 s2.64 MiB2.71 MiB+ 63.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.187 s+0.000 s2.68 MiB2.8 MiB+ 123.02 KiB
/wp-admin/post-new.php?post_type=page0.980 s0.613 s-0.367 s4.92 MiB4.99 MiB+ 70.8 KiB
/wp-admin/options-discussion.php0.285 s0.246 s-0.039 s2.65 MiB2.71 MiB+ 63.45 KiB
/wp-admin/edit-comments.php0.250 s0.258 s+0.008 s2.75 MiB2.81 MiB+ 61.94 KiB
/0.295 s0.214 s-0.081 s2.61 MiB2.65 MiB+ 41.3 KiB
Average 0.386 s0.349 s-0.037 s3.11 MiB3.17 MiB+ 64.51 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
CSS
Language % Lines of code Comment lines Files
PHP74.9%1,10437913
CSS24.6%36232
JavaScript0.5%711
Total 1,473 383 16

PHP Code Analysis | More results »

Lines of code 862
Total complexity 190
Median class complexity 42.0
Median method complexity 3.0
Most complex class OTB_Same_But_Different_Admin_API
Most complex function OTB_Same_But_Different_Admin_API::display_field()
Classes 4
Methods 43
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 6

Sidebar Widgets 1

ID Name
otb_same_but_different_widgetRelated Posts

PHP Error Log 1 lines

[08-Feb-2021 05:03:03 UTC] PHP Warning:  in_array() expects parameter 2 to be array, string given in /wp-content/plugins/same-but-different/library/classes/otb-same-but-different-admin-api.php on line 128
See also: All tests for this plugin, How to Hide the "Same but Different" Admin Menu