AR for WooCommerce 3.8

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

Summary

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

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

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

Environment
WordPress version6.2.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=2517f09d10
Aspect after-activation
HTTP status 200
Load time 0.329 s
Memory usage 3.09 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.239 s
Memory usage 3.02 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 0.989 s
Memory usage 5.08 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.242 s0.303 s+0.061 s3.07 MiB3.15 MiB+ 79.24 KiB
/wp-admin/edit.php0.165 s0.192 s+0.027 s3.1 MiB3.18 MiB+ 79.24 KiB
/wp-admin/post-new.php0.670 s0.681 s+0.011 s5.02 MiB5.11 MiB+ 88.37 KiB
/wp-admin/upload.php0.643 s0.326 s-0.317 s3.02 MiB3.08 MiB+ 63.77 KiB
/wp-admin/options-writing.php0.136 s0.135 s-0.001 s3.01 MiB3.06 MiB+ 51.82 KiB
/wp-admin/media-new.php0.232 s0.209 s-0.023 s2.99 MiB3.07 MiB+ 75.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.150 s0.289 s+0.139 s3.01 MiB3.1 MiB+ 98.26 KiB
/wp-admin/post-new.php?post_type=page0.550 s0.928 s+0.378 s5.01 MiB5.1 MiB+ 83.02 KiB
/wp-admin/options-discussion.php0.189 s0.219 s+0.030 s3 MiB3.08 MiB+ 83.52 KiB
/wp-admin/edit-comments.php0.169 s0.186 s+0.017 s3.03 MiB3.11 MiB+ 80.89 KiB
/0.263 s0.185 s-0.078 s2.97 MiB3.02 MiB+ 56.16 KiB
Average 0.310 s0.332 s+0.022 s3.38 MiB3.46 MiB+ 76.32 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
PHP80.8%3,57644417
CSS11.4%506382
JSON4.6%20502
JavaScript1.9%86573
Sass0.9%3813
Markdown0.4%1701
Total 4,428 540 28

PHP Code Analysis | More results »

Lines of code 3,637
Total complexity 492
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 59

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 24

Sidebar Widgets 1

ID Name
ar_for_woocommerce_widgetAR for Woocommerce

PHP Error Log 5 lines

[26-Jul-2023 05:32:35 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5788
[26-Jul-2023 05:32:35 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5788
[26-Jul-2023 05:32:38 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5788
[26-Jul-2023 05:32:38 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5788
[26-Jul-2023 05:32:41 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 5865
See also: All tests for this plugin