Same but Different 1.0.09

Does Same but Different work with WordPress 5.9.3 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: 58.63 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.9.3
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 90+
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=9f64742c57
Aspect after-activation
HTTP status 200
Load time 0.288 s
Memory usage 3.33 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.246 s
Memory usage 3.32 MiB
JS errors None
Resource errors None

Appearance → Same but Different → Our Themes

Page screenshot: Appearance → Same but Different → Our Themes
URL /wp-admin/themes.php?page=same-but-different_settings&tab=themes
Aspect menu-item-tab
HTTP status 200
Load time 2.976 s
Memory usage 3.31 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.415 s
Memory usage 3.31 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.213 s
Memory usage 3.39 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 1.433 s
Memory usage 5.23 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.354 s0.242 s-0.112 s3.37 MiB3.43 MiB+ 58.39 KiB
/wp-admin/edit.php0.170 s0.176 s+0.006 s3.4 MiB3.46 MiB+ 56.03 KiB
/wp-admin/post-new.php0.795 s1.034 s+0.239 s5.69 MiB5.75 MiB+ 61.14 KiB
/wp-admin/upload.php0.329 s0.278 s-0.051 s3.25 MiB3.31 MiB+ 66.31 KiB
/wp-admin/options-writing.php0.237 s0.138 s-0.099 s3.24 MiB3.29 MiB+ 45.91 KiB
/wp-admin/media-new.php0.337 s0.182 s-0.155 s3.23 MiB3.29 MiB+ 67.11 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.172 s-0.011 s3.27 MiB3.32 MiB+ 54.93 KiB
/wp-admin/post-new.php?post_type=page0.720 s0.710 s-0.010 s5.68 MiB5.74 MiB+ 56.73 KiB
/wp-admin/options-discussion.php0.225 s0.323 s+0.098 s3.22 MiB3.29 MiB+ 67.36 KiB
/wp-admin/edit-comments.php0.199 s0.202 s+0.003 s3.27 MiB3.39 MiB+ 121.84 KiB
/0.327 s0.207 s-0.120 s3.4 MiB3.39 MiB- 10.87 KiB
Average 0.352 s0.333 s-0.019 s3.73 MiB3.79 MiB+ 58.63 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.8%1,11937913
CSS24.7%36932
JavaScript0.5%711
Total 1,495 383 16

PHP Code Analysis | More results »

Lines of code 877
Total complexity 190
Median class complexity 42.0
Median method complexity 2.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 4

Sidebar Widgets 1

ID Name
otb_same_but_different_widgetRelated Posts

PHP Error Log 1 lines

[11-Apr-2022 02:07:44 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