AR for WooCommerce 5.8

Does AR for WooCommerce work with WordPress 6.5 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: 104.25 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.5
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=279faf7cc1
Aspect after-activation
HTTP status 200
Load time 0.439 s
Memory usage 3.49 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.207 s
Memory usage 3.44 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.165 s
Memory usage 5.67 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.371 s0.354 s-0.017 s3.44 MiB3.53 MiB+ 99.85 KiB
/wp-admin/edit.php0.218 s0.233 s+0.015 s3.46 MiB3.56 MiB+ 100.53 KiB
/wp-admin/post-new.php0.956 s0.638 s-0.318 s5.59 MiB5.73 MiB+ 138.32 KiB
/wp-admin/upload.php0.596 s0.500 s-0.096 s3.38 MiB3.48 MiB+ 103.95 KiB
/wp-admin/options-writing.php0.220 s0.239 s+0.019 s3.37 MiB3.47 MiB+ 97.56 KiB
/wp-admin/media-new.php0.308 s0.234 s-0.074 s3.35 MiB3.47 MiB+ 117.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.217 s+0.009 s3.37 MiB3.49 MiB+ 120.52 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.620 s+0.004 s5.59 MiB5.72 MiB+ 133.91 KiB
/wp-admin/options-discussion.php0.255 s0.302 s+0.047 s3.36 MiB3.46 MiB+ 107.34 KiB
/wp-admin/edit-comments.php0.515 s0.242 s-0.273 s3.39 MiB3.49 MiB+ 102.84 KiB
/0.350 s0.214 s-0.136 s3.42 MiB3.44 MiB+ 24.45 KiB
Average 0.419 s0.345 s-0.075 s3.79 MiB3.89 MiB+ 104.25 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
PHP81.8%6,8282,23741
CSS10.0%833632
JavaScript5.1%423784
JSON2.5%20502
Sass0.5%3813
Markdown0.2%1701
Total 8,344 2,379 53

PHP Code Analysis | More results »

Lines of code 7,262
Total complexity 1,099
Median class complexity 8.0
Median method complexity 2.0
Most complex class chillerlan\QRCode\Data\QRMatrix
Most complex function ar_display_model_viewer()
Classes 25
Methods 118
Functions 67

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 31

Sidebar Widgets 1

ID Name
ar_for_woocommerce_widgetAR for Woocommerce

PHP Error Log 1 lines

[08-Apr-2024 21:04:23 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6078
See also: All tests for this plugin