AR for WooCommerce 7.4

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

Page speed impact: 0.079 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=ddaea2307e
Aspect after-activation
HTTP status 200
Load time 0.666 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.300 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.207 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 2.586 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.452 s0.367 s-0.085 s3.48 MiB3.63 MiB+ 157.89 KiB
/wp-admin/edit.php0.213 s0.278 s+0.065 s3.54 MiB3.72 MiB+ 178.51 KiB
/wp-admin/post-new.php0.833 s1.260 s+0.427 s5.92 MiB6.12 MiB+ 196.77 KiB
/wp-admin/upload.php0.579 s0.737 s+0.158 s3.5 MiB3.65 MiB+ 160.9 KiB
/wp-admin/options-writing.php0.211 s0.367 s+0.156 s3.47 MiB3.61 MiB+ 145.09 KiB
/wp-admin/media-new.php0.260 s0.391 s+0.131 s3.46 MiB3.61 MiB+ 153.29 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.249 s+0.050 s3.48 MiB3.66 MiB+ 183.96 KiB
/wp-admin/post-new.php?post_type=page0.988 s1.264 s+0.276 s5.92 MiB6.11 MiB+ 192.3 KiB
/wp-admin/options-discussion.php0.295 s0.325 s+0.030 s3.47 MiB3.61 MiB+ 140.97 KiB
/wp-admin/edit-comments.php0.252 s0.267 s+0.015 s3.49 MiB3.65 MiB+ 161.09 KiB
/0.608 s0.255 s-0.353 s3.41 MiB3.51 MiB+ 104.88 KiB
Average 0.445 s0.524 s+0.079 s3.92 MiB4.08 MiB+ 161.42 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,0762,64957
JSON33.6%6,381020
JavaScript13.3%2,5241,00110
CSS5.0%957882
Sass0.2%3813
Markdown0.1%1701
Total 18,993 3,739 93

PHP Code Analysis | More results »

Lines of code 8,861
Total complexity 1,570
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

[10-Dec-2024 05:31:02 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