If-So 1.7.1

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

Summary

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

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

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

Environment
WordPress version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=b54f89a52c
Aspect after-activation
HTTP status 200
Load time 1.526 s
Memory usage 3.63 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.221 s
Memory usage 3.6 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.426 s
Memory usage 5.45 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.473 s
Memory usage 3.6 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 0.838 s
Memory usage 3.75 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.275 s
Memory usage 3.66 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.449 s
Memory usage 3.63 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.316 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.561 s0.478 s-0.083 s3.38 MiB3.66 MiB+ 289.6 KiB
/wp-admin/edit.php0.256 s0.249 s-0.007 s3.41 MiB3.71 MiB+ 315.38 KiB
/wp-admin/post-new.php0.949 s1.671 s+0.722 s5.46 MiB6.03 MiB+ 590.65 KiB
/wp-admin/upload.php0.601 s0.377 s-0.224 s3.32 MiB3.62 MiB+ 304.18 KiB
/wp-admin/options-writing.php0.246 s0.247 s+0.001 s3.32 MiB3.54 MiB+ 232.77 KiB
/wp-admin/media-new.php0.328 s0.250 s-0.078 s3.29 MiB3.54 MiB+ 252.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.325 s+0.138 s3.31 MiB3.58 MiB+ 273.54 KiB
/wp-admin/post-new.php?post_type=page0.938 s1.454 s+0.516 s5.45 MiB6.01 MiB+ 575.26 KiB
/wp-admin/options-discussion.php0.310 s0.292 s-0.018 s3.3 MiB3.55 MiB+ 256.67 KiB
/wp-admin/edit-comments.php0.259 s0.267 s+0.008 s3.34 MiB3.59 MiB+ 256.21 KiB
/0.275 s0.358 s+0.083 s3.36 MiB3.53 MiB+ 180.96 KiB
Average 0.446 s0.543 s+0.096 s3.72 MiB4.03 MiB+ 320.69 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
Language % Lines of code Comment lines Files
PHP58.6%19,4244,908178
SVG9.0%2,97003
CSS8.2%2,7268311
JavaScript6.5%2,16923711
PO File5.3%1,76558826
Sass5.3%1,7513413
LESS5.3%1,7454013
JSON1.0%31704
Markdown0.9%29901
XML0.0%301
Total 33,169 5,890 261

PHP Code Analysis | More results »

Lines of code 18,621
Total complexity 4,624
Median class complexity 10.0
Median method complexity 2.0
Most complex class IfSo\Extensions\IFSOExtendedShortcodes\ExtendedShortcodes\ExtendedShortcodes
Most complex function get_rule_item()
Classes 166
Methods 1,110
Functions 45

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

[27-Dec-2023 15:46:16 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