AR for WooCommerce 5.4

Does AR for WooCommerce work with WordPress 6.4.3 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: 99.49 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.4.3
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=68e7bd785e
Aspect after-activation
HTTP status 200
Load time 0.536 s
Memory usage 3.44 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.251 s
Memory usage 3.38 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.802 s
Memory usage 5.55 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.333 s0.356 s+0.023 s3.38 MiB3.48 MiB+ 98.94 KiB
/wp-admin/edit.php0.235 s0.210 s-0.025 s3.41 MiB3.5 MiB+ 99.62 KiB
/wp-admin/post-new.php0.842 s0.645 s-0.197 s5.46 MiB5.58 MiB+ 125.37 KiB
/wp-admin/upload.php0.699 s0.403 s-0.296 s3.32 MiB3.42 MiB+ 103.03 KiB
/wp-admin/options-writing.php0.243 s0.224 s-0.019 s3.32 MiB3.41 MiB+ 97.27 KiB
/wp-admin/media-new.php0.311 s0.338 s+0.027 s3.3 MiB3.39 MiB+ 96.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.225 s+0.007 s3.31 MiB3.43 MiB+ 119.6 KiB
/wp-admin/post-new.php?post_type=page0.578 s0.659 s+0.081 s5.45 MiB5.57 MiB+ 120.95 KiB
/wp-admin/options-discussion.php0.310 s0.296 s-0.014 s3.3 MiB3.41 MiB+ 106.43 KiB
/wp-admin/edit-comments.php0.270 s0.260 s-0.010 s3.34 MiB3.44 MiB+ 101.92 KiB
/0.292 s0.232 s-0.060 s3.36 MiB3.38 MiB+ 24.72 KiB
Average 0.394 s0.350 s-0.044 s3.72 MiB3.82 MiB+ 99.49 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.6%6,5552,21941
CSS10.4%836652
JavaScript4.7%379784
JSON2.6%20502
Sass0.5%3813
Markdown0.2%1701
Total 8,030 2,363 53

PHP Code Analysis | More results »

Lines of code 6,986
Total complexity 1,033
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 65

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 29

Sidebar Widgets 1

ID Name
ar_for_woocommerce_widgetAR for Woocommerce

PHP Error Log 1 lines

[05-Feb-2024 02:08:58 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 6031
See also: All tests for this plugin