AR for WooCommerce 7.5

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: 155.03 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.063 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=3c440b9b13
Aspect after-activation
HTTP status 200
Load time 0.650 s
Memory usage 3.67 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.267 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.224 s
Memory usage 3.51 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.832 s
Memory usage 5.95 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.317 s0.364 s+0.047 s3.48 MiB3.63 MiB+ 158.02 KiB
/wp-admin/edit.php0.194 s0.253 s+0.059 s3.54 MiB3.72 MiB+ 178.63 KiB
/wp-admin/post-new.php0.737 s0.776 s+0.039 s5.92 MiB6.12 MiB+ 196.89 KiB
/wp-admin/upload.php0.508 s0.487 s-0.021 s3.49 MiB3.65 MiB+ 161.02 KiB
/wp-admin/options-writing.php0.187 s0.478 s+0.291 s3.47 MiB3.61 MiB+ 145.22 KiB
/wp-admin/media-new.php0.271 s0.327 s+0.056 s3.46 MiB3.61 MiB+ 153.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.236 s+0.060 s3.48 MiB3.66 MiB+ 184.09 KiB
/wp-admin/post-new.php?post_type=page0.548 s0.635 s+0.087 s5.92 MiB6.11 MiB+ 192.42 KiB
/wp-admin/options-discussion.php0.245 s0.311 s+0.066 s3.47 MiB3.61 MiB+ 141.09 KiB
/wp-admin/edit-comments.php0.187 s0.282 s+0.095 s3.49 MiB3.65 MiB+ 161.22 KiB
/0.275 s0.187 s-0.088 s3.48 MiB3.51 MiB+ 33.27 KiB
Average 0.331 s0.394 s+0.063 s3.93 MiB4.08 MiB+ 155.03 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.8%9,0802,65157
JSON33.6%6,381020
JavaScript13.3%2,5241,00110
CSS5.0%957882
Sass0.2%3813
Markdown0.1%1701
Total 18,997 3,741 93

PHP Code Analysis | More results »

Lines of code 8,865
Total complexity 1,571
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 120

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-Jan-2025 07:42: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