AR for WordPress 6.2

Does AR for WordPress work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP notices
6PHP deprecation warnings
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 181.23 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.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/ar-for-wordpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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-wordpress%2Far-wordpress.php&plugin_status=all&paged=1&s&_wpnonce=7f482fc0af
Aspect after-activation
HTTP status 200
Load time 0.416 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

AR Models

Page screenshot: AR Models
URL /wp-admin/edit.php?post_type=armodels
Aspect menu-item
HTTP status 200
Load time 0.225 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

AR Models → Add New

Page screenshot: AR Models → Add New
URL /wp-admin/post-new.php?post_type=armodels
Aspect menu-item
HTTP status 200
Load time 1.151 s
Memory usage 6.23 MiB
JS errors
[
    {
        "message": "TypeError: $(...).wpColorPicker is not a function\n    at HTMLDocument.<anonymous> (/wp-admin/post-new.php?post_type=armodels:1694:27)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.6.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.6.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

AR Models → AR Categories

Page screenshot: AR Models → AR Categories
URL /wp-admin/edit-tags.php?taxonomy=model_category&post_type=armodels
Aspect menu-item
HTTP status 200
Load time 0.248 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

AR Models → Settings

Page screenshot: AR Models → Settings
URL /wp-admin/edit.php?post_type=armodels&page
Aspect menu-item
HTTP status 200
Load time 1.250 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

AR Models → Whats New

Page screenshot: AR Models → Whats New
URL /wp-admin/edit.php?post_type=armodels&page=ar-whats-new
Aspect menu-item
HTTP status 200
Load time 0.182 s
Memory usage 3.58 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.256 s
Memory usage 3.49 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.296 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-wordpress/gutenberg-block/dist/blocks.build.js:1:736)\n    at t (/wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js:1:101)\n    at Object.<anonymous> (/wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js:1:540)\n    at t (/wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js:1:101)\n    at /wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js:1:451\n    at /wp-content/plugins/ar-for-wordpress/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.346 s0.559 s+0.213 s3.47 MiB3.62 MiB+ 150.02 KiB
/wp-admin/edit.php0.210 s0.410 s+0.200 s3.54 MiB3.68 MiB+ 148.89 KiB
/wp-admin/post-new.php0.799 s0.643 s-0.156 s5.75 MiB6.11 MiB+ 369.16 KiB
/wp-admin/upload.php0.659 s0.381 s-0.278 s3.49 MiB3.62 MiB+ 137.41 KiB
/wp-admin/options-writing.php0.209 s0.210 s+0.001 s3.41 MiB3.58 MiB+ 173.98 KiB
/wp-admin/media-new.php0.252 s0.238 s-0.014 s3.4 MiB3.58 MiB+ 187.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.193 s0.206 s+0.013 s3.47 MiB3.6 MiB+ 134.34 KiB
/wp-admin/post-new.php?post_type=page0.587 s0.727 s+0.140 s5.75 MiB6.1 MiB+ 360.74 KiB
/wp-admin/options-discussion.php0.223 s0.300 s+0.077 s3.41 MiB3.58 MiB+ 175.66 KiB
/wp-admin/edit-comments.php0.230 s0.249 s+0.019 s3.49 MiB3.6 MiB+ 116.66 KiB
/0.312 s0.201 s-0.111 s3.45 MiB3.49 MiB+ 39.33 KiB
Average 0.365 s0.375 s+0.009 s3.88 MiB4.05 MiB+ 181.23 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
PHP85.0%6,9072,03542
CSS10.1%818782
JSON2.5%20702
JavaScript1.9%1582516
Sass0.5%3813
Total 8,128 2,365 55

PHP Code Analysis | More results »

Lines of code 7,115
Total complexity 1,097
Median class complexity 8.0
Median method complexity 2.0
Most complex class chillerlan\QRCode\Data\QRMatrix
Most complex function ar_wp_model_fields()
Classes 25
Methods 118
Functions 75

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

Custom Post Types 1

ID Name
armodelsAR Models

Sidebar Widgets 1

ID Name
ar_for_wordpress_widgetAR for Wordpress

Meta Boxes

{
    "armodels": {
        "postimagediv": {
            "title": "AR Poster Image",
            "context": "side"
        },
        "ar_wp_advance_custom_attachment": {
            "title": "Augmented Reality Models",
            "context": "normal"
        }
    }
}

PHP Error Log 7 lines

[13-Sep-2024 19:01:00 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/ar-for-wordpress/includes/php-qrcode/src/QRCode.php on line 218
[13-Sep-2024 19:01:00 UTC] PHP Deprecated:  Implicit conversion from float 102.5 to int loses precision in /wp-content/plugins/ar-for-wordpress/includes/php-qrcode/src/QRImageWithLogo.php on line 75
[13-Sep-2024 19:01:00 UTC] PHP Deprecated:  Implicit conversion from float 102.5 to int loses precision in /wp-content/plugins/ar-for-wordpress/includes/php-qrcode/src/QRImageWithLogo.php on line 75
[13-Sep-2024 19:01:00 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/ar-for-wordpress/includes/php-qrcode/src/QRCode.php on line 218
[13-Sep-2024 19:01:00 UTC] PHP Deprecated:  Implicit conversion from float 102.5 to int loses precision in /wp-content/plugins/ar-for-wordpress/includes/php-qrcode/src/QRImageWithLogo.php on line 75
[13-Sep-2024 19:01:00 UTC] PHP Deprecated:  Implicit conversion from float 102.5 to int loses precision in /wp-content/plugins/ar-for-wordpress/includes/php-qrcode/src/QRImageWithLogo.php on line 75
[13-Sep-2024 19:01:18 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 6085
See also: All tests for this plugin, How to Hide AR for WordPress Admin Menus and More