Same but Different 1.0.08

Does Same but Different work with WordPress 5.8 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: 54.72 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.8
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=ab21bf7467
Aspect after-activation
HTTP status 200
Load time 0.337 s
Memory usage 3.11 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.204 s
Memory usage 3.1 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.948 s
Memory usage 3.08 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.444 s
Memory usage 3.08 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.218 s
Memory usage 2.95 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 2.083 s
Memory usage 4.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.366 s0.284 s-0.082 s3.08 MiB3.14 MiB+ 58.48 KiB
/wp-admin/edit.php0.220 s0.195 s-0.025 s3.11 MiB3.17 MiB+ 56.13 KiB
/wp-admin/post-new.php0.929 s0.822 s-0.107 s5.27 MiB5.33 MiB+ 62.8 KiB
/wp-admin/upload.php0.572 s0.314 s-0.258 s3.03 MiB3.09 MiB+ 58.41 KiB
/wp-admin/options-writing.php0.188 s0.196 s+0.008 s3.02 MiB3.06 MiB+ 38.13 KiB
/wp-admin/media-new.php0.264 s0.270 s+0.006 s3.01 MiB3.07 MiB+ 59.2 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.178 s-0.021 s3.04 MiB3.09 MiB+ 55.02 KiB
/wp-admin/post-new.php?post_type=page0.707 s0.758 s+0.051 s5.26 MiB5.31 MiB+ 58.8 KiB
/wp-admin/options-discussion.php0.244 s0.346 s+0.102 s3 MiB3.06 MiB+ 59.45 KiB
/wp-admin/edit-comments.php0.216 s0.223 s+0.007 s3.04 MiB3.1 MiB+ 57.94 KiB
/0.290 s0.242 s-0.048 s2.91 MiB2.95 MiB+ 37.61 KiB
Average 0.381 s0.348 s-0.033 s3.43 MiB3.49 MiB+ 54.72 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 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 6

Sidebar Widgets 1

ID Name
otb_same_but_different_widgetRelated Posts

PHP Error Log 1 lines

[25-Jul-2021 18:17:28 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