AR for WooCommerce 6.2

Does AR for WooCommerce work with WordPress 6.7 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: 103.68 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.7
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=7dd9ecdca0
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.6 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.195 s
Memory usage 3.48 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 1.772 s
Memory usage 5.89 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.317 s0.269 s-0.048 s3.48 MiB3.6 MiB+ 121.25 KiB
/wp-admin/edit.php0.202 s0.204 s+0.002 s3.54 MiB3.67 MiB+ 127.65 KiB
/wp-admin/post-new.php0.750 s0.586 s-0.164 s5.92 MiB6.06 MiB+ 144.88 KiB
/wp-admin/upload.php0.543 s0.290 s-0.253 s3.49 MiB3.6 MiB+ 110.66 KiB
/wp-admin/options-writing.php0.206 s0.181 s-0.025 s3.47 MiB3.56 MiB+ 93.92 KiB
/wp-admin/media-new.php0.256 s0.310 s+0.054 s3.46 MiB3.56 MiB+ 102.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.197 s+0.005 s3.47 MiB3.58 MiB+ 113.1 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.571 s+0.024 s5.92 MiB6.05 MiB+ 140.41 KiB
/wp-admin/options-discussion.php0.266 s0.231 s-0.035 s3.47 MiB3.56 MiB+ 91.05 KiB
/wp-admin/edit-comments.php0.185 s0.195 s+0.010 s3.49 MiB3.58 MiB+ 89.92 KiB
/0.262 s0.180 s-0.082 s3.48 MiB3.48 MiB+ 5.5 KiB
Average 0.339 s0.292 s-0.047 s3.93 MiB4.03 MiB+ 103.68 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
PHP82.3%6,9922,31441
CSS9.6%818782
JavaScript5.0%423784
JSON2.4%20502
Sass0.4%3813
Markdown0.2%1701
Total 8,493 2,471 53

PHP Code Analysis | More results »

Lines of code 7,443
Total complexity 1,125
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 70

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 34

Sidebar Widgets 1

ID Name
ar_for_woocommerce_widgetAR for Woocommerce

PHP Error Log 1 lines

[18-Nov-2024 05:55:30 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://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6114
See also: All tests for this plugin