AR for WordPress 5.2

Does AR for WordPress work with WordPress 6.4.2 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: 141.94 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.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=ea1f172533
Aspect after-activation
HTTP status 200
Load time 0.360 s
Memory usage 3.46 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.223 s
Memory usage 3.49 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 2.020 s
Memory usage 5.78 MiB
JS errors None
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.290 s
Memory usage 3.44 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.168 s
Memory usage 3.54 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.198 s
Memory usage 3.42 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.220 s
Memory usage 3.4 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.684 s
Memory usage 5.64 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.370 s0.384 s+0.014 s3.38 MiB3.5 MiB+ 124.16 KiB
/wp-admin/edit.php0.218 s0.242 s+0.024 s3.41 MiB3.53 MiB+ 125.95 KiB
/wp-admin/post-new.php1.053 s0.611 s-0.442 s5.46 MiB5.67 MiB+ 217.44 KiB
/wp-admin/upload.php0.724 s0.385 s-0.339 s3.32 MiB3.45 MiB+ 128.63 KiB
/wp-admin/options-writing.php0.228 s0.402 s+0.174 s3.32 MiB3.44 MiB+ 122.87 KiB
/wp-admin/media-new.php0.297 s0.323 s+0.026 s3.29 MiB3.42 MiB+ 132.48 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.233 s+0.010 s3.31 MiB3.45 MiB+ 145.2 KiB
/wp-admin/post-new.php?post_type=page0.599 s0.608 s+0.009 s5.45 MiB5.66 MiB+ 213.02 KiB
/wp-admin/options-discussion.php0.218 s0.295 s+0.077 s3.3 MiB3.43 MiB+ 132.02 KiB
/wp-admin/edit-comments.php0.479 s0.243 s-0.236 s3.33 MiB3.46 MiB+ 127.52 KiB
/0.285 s0.203 s-0.082 s3.31 MiB3.4 MiB+ 92.02 KiB
Average 0.427 s0.357 s-0.070 s3.72 MiB3.85 MiB+ 141.94 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
PHP69.1%4,50054514
CSS23.7%1,5471162
JavaScript3.4%223574
JSON3.2%20702
Sass0.6%3813
Total 6,515 719 25

PHP Code Analysis | More results »

Lines of code 4,851
Total complexity 622
Median class complexity 10.5
Median method complexity 1.0
Most complex class ar_for_wordpress_widget
Most complex function ar_wp_model_fields()
Classes 2
Methods 12
Functions 70

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

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 1 lines

[22-Dec-2023 01:23:52 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, How to Hide AR for WordPress Admin Menus and More