AR for WooCommerce 4.6

Does AR for WooCommerce work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 82.97 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.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80+
WordPress.org page https://wordpress.org/plugins/ar-for-woocommerce/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=ar-for-woocommerce%2Far-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=2ece8eaf81
Aspect after-activation
HTTP status 200
Load time 0.418 s
Memory usage 2.84 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.199 s
Memory usage 3.13 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.995 s
Memory usage 5.28 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'PluginDocumentSettingPanel')\n    at Object.<anonymous> (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js:1:720)\n    at t (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js:1:101)\n    at Object.<anonymous> (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js:1:540)\n    at t (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js:1:101)\n    at /wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js:1:451\n    at /wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js:1:460",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.384 s0.393 s+0.009 s2.83 MiB2.9 MiB+ 76.16 KiB
/wp-admin/edit.php0.206 s0.273 s+0.067 s2.85 MiB2.93 MiB+ 76.53 KiB
/wp-admin/post-new.php0.766 s0.723 s-0.043 s5.22 MiB5.33 MiB+ 117.64 KiB
/wp-admin/upload.php0.939 s0.466 s-0.473 s2.77 MiB2.83 MiB+ 62.35 KiB
/wp-admin/options-writing.php0.257 s0.296 s+0.039 s2.76 MiB2.84 MiB+ 73.22 KiB
/wp-admin/media-new.php0.328 s0.299 s-0.029 s2.74 MiB2.81 MiB+ 74.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.232 s0.219 s-0.013 s2.76 MiB2.85 MiB+ 96.48 KiB
/wp-admin/post-new.php?post_type=page0.754 s1.018 s+0.264 s5.21 MiB5.32 MiB+ 113.23 KiB
/wp-admin/options-discussion.php0.253 s0.272 s+0.019 s2.75 MiB2.83 MiB+ 83.63 KiB
/wp-admin/edit-comments.php0.348 s0.244 s-0.104 s2.78 MiB2.86 MiB+ 79.12 KiB
/0.283 s0.236 s-0.047 s3.13 MiB3.19 MiB+ 60.21 KiB
Average 0.432 s0.404 s-0.028 s3.25 MiB3.34 MiB+ 82.97 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
PHP78.6%4,33754216
CSS12.7%699502
JavaScript4.0%222574
JSON3.7%20502
Sass0.7%3813
Markdown0.3%1701
Total 5,518 650 28

PHP Code Analysis | More results »

Lines of code 4,480
Total complexity 623
Median class complexity 10.5
Median method complexity 1.0
Most complex class ar_for_woocommerce_widget
Most complex function ar_display_model_viewer()
Classes 2
Methods 12
Functions 63

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 26

Sidebar Widgets 1

ID Name
ar_for_woocommerce_widgetAR for Woocommerce

PHP Error Log 1 lines

[31-Oct-2023 00:43:54 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5905
See also: All tests for this plugin