If-So 1.7

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.56 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 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=cc352ef21e
Aspect after-activation
HTTP status 200
Load time 1.294 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.197 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.355 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.526 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.727 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.453 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.241 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.247 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.387 s0.310 s-0.077 s3.38 MiB3.66 MiB+ 289.48 KiB
/wp-admin/edit.php0.229 s0.223 s-0.006 s3.41 MiB3.71 MiB+ 315.26 KiB
/wp-admin/post-new.php0.920 s0.684 s-0.236 s5.46 MiB6.03 MiB+ 590.52 KiB
/wp-admin/upload.php0.594 s0.313 s-0.281 s3.32 MiB3.62 MiB+ 304.05 KiB
/wp-admin/options-writing.php0.223 s0.198 s-0.025 s3.32 MiB3.54 MiB+ 232.64 KiB
/wp-admin/media-new.php0.331 s0.278 s-0.053 s3.29 MiB3.54 MiB+ 252.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.212 s0.208 s-0.004 s3.31 MiB3.58 MiB+ 273.41 KiB
/wp-admin/post-new.php?post_type=page0.613 s0.642 s+0.029 s5.45 MiB6.01 MiB+ 575.13 KiB
/wp-admin/options-discussion.php0.347 s0.255 s-0.092 s3.3 MiB3.55 MiB+ 256.55 KiB
/wp-admin/edit-comments.php0.237 s0.222 s-0.015 s3.34 MiB3.59 MiB+ 256.09 KiB
/0.300 s0.244 s-0.056 s3.36 MiB3.53 MiB+ 180.84 KiB
Average 0.399 s0.325 s-0.074 s3.72 MiB4.03 MiB+ 320.56 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.5%19,4074,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,152 5,890 261

PHP Code Analysis | More results »

Lines of code 18,604
Total complexity 4,615
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,109
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

[13-Dec-2023 17:39:23 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