If-So 1.5.4.2

Does If-So work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

Page speed impact: 0.065 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/if-so/
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=if-so%2Fif-so.php&plugin_status=all&paged=1&s&_wpnonce=3b441890a4
Aspect after-activation
HTTP status 200
Load time 6.022 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

If-So

Page screenshot: If-So
URL /wp-admin/edit.php?post_type=ifso_triggers
Aspect menu-item
HTTP status 200
Load time 0.191 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

If-So → Add New Trigger

Page screenshot: If-So → Add New Trigger
URL /wp-admin/post-new.php?post_type=ifso_triggers
Aspect menu-item
HTTP status 200
Load time 1.869 s
Memory usage 4.8 MiB
JS errors None
Resource errors None

If-So → Audiences

Page screenshot: If-So → Audiences
URL /wp-admin/admin.php?page=wpcdd_admin_menu_groups_list
Aspect menu-item
HTTP status 200
Load time 0.357 s
Memory usage 3.39 MiB
JS errors None
Resource errors None

If-So → Geolocation

Page screenshot: If-So → Geolocation
URL /wp-admin/admin.php?page=wpcdd_admin_geo_license
Aspect menu-item
HTTP status 200
Load time 3.330 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

If-So → Settings

Page screenshot: If-So → Settings
URL /wp-admin/admin.php?page=wpcdd_admin_menu_settings
Aspect menu-item
HTTP status 200
Load time 0.251 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

If-So → License

Page screenshot: If-So → License
URL /wp-admin/admin.php?page=wpcdd_admin_menu_license
Aspect menu-item
HTTP status 200
Load time 0.294 s
Memory usage 3.4 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.391 s
Memory usage 3.29 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.481 s+0.177 s3.08 MiB3.51 MiB+ 434.17 KiB
/wp-admin/edit.php0.161 s0.219 s+0.058 s3.11 MiB3.52 MiB+ 417.88 KiB
/wp-admin/post-new.php0.856 s1.708 s+0.852 s5.27 MiB5.75 MiB+ 489.86 KiB
/wp-admin/upload.php0.613 s0.496 s-0.117 s3.03 MiB3.4 MiB+ 383.37 KiB
/wp-admin/options-writing.php0.184 s0.184 s+0.000 s3.02 MiB3.34 MiB+ 319.34 KiB
/wp-admin/media-new.php0.230 s0.193 s-0.037 s3.01 MiB3.34 MiB+ 336.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.177 s0.196 s+0.019 s3.04 MiB3.38 MiB+ 352.45 KiB
/wp-admin/post-new.php?post_type=page1.247 s1.018 s-0.229 s5.26 MiB5.73 MiB+ 485.28 KiB
/wp-admin/options-discussion.php0.254 s0.260 s+0.006 s3 MiB3.35 MiB+ 352.48 KiB
/wp-admin/edit-comments.php0.215 s0.240 s+0.025 s3.04 MiB3.39 MiB+ 351.39 KiB
/0.288 s0.247 s-0.041 s2.96 MiB3.29 MiB+ 343.48 KiB
Average 0.412 s0.477 s+0.065 s3.44 MiB3.82 MiB+ 387.8 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
SVG
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP52.0%13,9542,881139
SVG11.1%2,97003
CSS9.8%2,6348011
JavaScript9.6%2,57653010
Sass6.5%1,7513413
LESS6.5%1,7454013
PO File3.5%9324422
JSON0.9%24401
XML0.0%301
Total 26,809 4,007 193

PHP Code Analysis | More results »

Lines of code 13,566
Total complexity 3,407
Median class complexity 10.0
Median method complexity 2.0
Most complex class IfSo_Mobile_Detect
Most complex function get_rule_item()
Classes 127
Methods 755
Functions 56

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.

Database Tables 2

Options wp_options 7

Custom Post Types 1

ID Name
ifso_triggersTriggers

PHP Error Log 1 lines

[10-Sep-2021 13:30:08 UTC] WordPress database error Table 'wordpress.wp_ifso_local_user' doesn't exist for query SELECT alert_values FROM wp_ifso_local_user made by activate_plugin, do_action('activate_if-so/if-so.php'), WP_Hook->do_action, WP_Hook->apply_filters, activate_if_so, create_ifso_tables, require_once('/plugins/if-so/extensions/ifso-tables/ifso-table-creator.php')
See also: All tests for this plugin, How to Hide If-So Admin Menus