AR for WooCommerce 7.2

Does AR for WooCommerce work with WordPress 6.7.1 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: 142.66 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.7.1
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 4

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=be10566447
Aspect after-activation
HTTP status 200
Load time 0.675 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

AR Model Shop

Page screenshot: AR Model Shop
URL /wp-admin/admin.php?page=ar-modelshop
Aspect menu-item
HTTP status 200
Load time 0.255 s
Memory usage 3.61 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.208 s
Memory usage 3.5 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.809 s
Memory usage 5.94 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?ver=1.0:1:720)\n    at t (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js?ver=1.0:1:101)\n    at Object.<anonymous> (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js?ver=1.0:1:540)\n    at t (/wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js?ver=1.0:1:101)\n    at /wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js?ver=1.0:1:451\n    at /wp-content/plugins/ar-for-woocommerce/gutenberg-block/dist/blocks.build.js?ver=1.0: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.307 s0.357 s+0.050 s3.48 MiB3.62 MiB+ 147.13 KiB
/wp-admin/edit.php0.181 s0.248 s+0.067 s3.54 MiB3.69 MiB+ 154.36 KiB
/wp-admin/post-new.php0.710 s0.742 s+0.032 s5.92 MiB6.11 MiB+ 192.62 KiB
/wp-admin/upload.php0.513 s0.444 s-0.069 s3.49 MiB3.63 MiB+ 136.75 KiB
/wp-admin/options-writing.php0.198 s0.399 s+0.201 s3.47 MiB3.61 MiB+ 140.95 KiB
/wp-admin/media-new.php0.243 s0.365 s+0.122 s3.46 MiB3.61 MiB+ 149.14 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.234 s+0.064 s3.48 MiB3.63 MiB+ 159.81 KiB
/wp-admin/post-new.php?post_type=page0.537 s0.610 s+0.073 s5.92 MiB6.1 MiB+ 188.15 KiB
/wp-admin/options-discussion.php0.266 s0.282 s+0.016 s3.47 MiB3.61 MiB+ 136.82 KiB
/wp-admin/edit-comments.php0.194 s0.241 s+0.047 s3.49 MiB3.63 MiB+ 136.95 KiB
/0.278 s0.183 s-0.095 s3.48 MiB3.5 MiB+ 26.56 KiB
Average 0.327 s0.373 s+0.046 s3.93 MiB4.07 MiB+ 142.66 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
JSON
JavaScript
Language % Lines of code Comment lines Files
PHP47.6%9,0122,63757
JSON33.7%6,381020
JavaScript13.3%2,5181,00810
CSS5.1%957882
Sass0.2%3813
Markdown0.1%1701
Total 18,923 3,734 93

PHP Code Analysis | More results »

Lines of code 8,802
Total complexity 1,563
Median class complexity 10.0
Median method complexity 2.5
Most complex class AR_Plugin
Most complex function ar_model_fields()
Classes 27
Methods 138
Functions 117

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 43

Sidebar Widgets 1

ID Name
ar_for_woocommerce_widgetAR for Woocommerce

PHP Error Log 1 lines

[02-Dec-2024 09:46:13 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