B3 Swatches 1.0.0

Does B3 Swatches work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 152.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.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/b3-swatches/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

B3 Swatches ‹ Test site — WordPress

Page screenshot: B3 Swatches ‹ Test site — WordPress
URL /wp-admin/admin.php?page=b3-swatches
Requested URL /wp-admin/plugins.php?action=activate&plugin=b3-swatches%2Fb3-swatches.php&plugin_status=all&paged=1&s&_wpnonce=69f055fc5e
Aspect after-activation
HTTP status 200
Load time 1.035 s
Memory usage 3.99 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.260 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.441 s0.366 s-0.075 s3.78 MiB3.97 MiB+ 196.96 KiB
/wp-admin/edit.php0.369 s0.327 s-0.042 s3.79 MiB3.96 MiB+ 178.35 KiB
/wp-admin/post-new.php0.886 s0.886 s+0.000 s6.31 MiB6.53 MiB+ 220.73 KiB
/wp-admin/upload.php0.451 s0.605 s+0.154 s3.74 MiB3.86 MiB+ 120.68 KiB
/wp-admin/options-writing.php0.320 s0.379 s+0.059 s3.71 MiB3.84 MiB+ 124.75 KiB
/wp-admin/media-new.php0.507 s0.362 s-0.145 s3.71 MiB3.84 MiB+ 132.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.346 s0.294 s-0.052 s3.72 MiB3.85 MiB+ 138.6 KiB
/wp-admin/post-new.php?post_type=page0.716 s0.644 s-0.072 s6.3 MiB6.51 MiB+ 214.41 KiB
/wp-admin/options-discussion.php0.333 s0.427 s+0.094 s3.72 MiB3.84 MiB+ 121.25 KiB
/wp-admin/edit-comments.php0.325 s0.337 s+0.012 s3.74 MiB3.89 MiB+ 158.01 KiB
/0.290 s0.188 s-0.102 s4.12 MiB4.19 MiB+ 71.53 KiB
Average 0.453 s0.438 s-0.015 s4.24 MiB4.39 MiB+ 152.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.

TypeScript
PHP
CSS
Language % Lines of code Comment lines Files
TypeScript44.6%4,00832735
PHP27.6%2,4821,29023
CSS19.8%1,7751536
JavaScript7.8%702852
SVG0.2%1401
Total 8,981 1,855 67

PHP Code Analysis | More results »

Lines of code 2,482
Total complexity 590
Median class complexity 25.0
Median method complexity 2.0
Most complex class B3WVS\VariationSwatches\Assets
Most complex function B3WVS\VariationSwatches\Assets\Localizer::get_usage_stats()
Classes 22
Methods 127
Functions 8

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

PHP Error Log

The log file is empty.

See also: All tests for this plugin