AR for WordPress 4.4.1

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

Summary

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

Memory usage: 123.11 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.3.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=dbdffe6991
Aspect after-activation
HTTP status 200
Load time 0.441 s
Memory usage 2.87 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.237 s
Memory usage 2.92 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.347 s
Memory usage 5.52 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.389 s
Memory usage 2.85 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.111 s
Memory usage 2.95 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.210 s
Memory usage 2.85 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.239 s
Memory usage 3.2 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.649 s
Memory usage 5.37 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.408 s0.415 s+0.007 s2.83 MiB2.93 MiB+ 105.27 KiB
/wp-admin/edit.php0.224 s0.247 s+0.023 s2.85 MiB2.96 MiB+ 106.73 KiB
/wp-admin/post-new.php0.962 s0.615 s-0.347 s5.22 MiB5.42 MiB+ 212.68 KiB
/wp-admin/upload.php0.719 s0.362 s-0.357 s2.77 MiB2.86 MiB+ 91.82 KiB
/wp-admin/options-writing.php0.243 s0.245 s+0.002 s2.76 MiB2.86 MiB+ 102.69 KiB
/wp-admin/media-new.php0.316 s0.265 s-0.051 s2.74 MiB2.84 MiB+ 103.54 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.425 s+0.206 s2.76 MiB2.88 MiB+ 125.95 KiB
/wp-admin/post-new.php?post_type=page0.697 s0.639 s-0.058 s5.21 MiB5.41 MiB+ 208.27 KiB
/wp-admin/options-discussion.php0.455 s0.290 s-0.165 s2.75 MiB2.86 MiB+ 113.09 KiB
/wp-admin/edit-comments.php0.290 s0.250 s-0.040 s2.78 MiB2.89 MiB+ 108.59 KiB
/0.322 s0.223 s-0.099 s3.13 MiB3.2 MiB+ 75.54 KiB
Average 0.441 s0.361 s-0.080 s3.25 MiB3.37 MiB+ 123.11 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
PHP75.4%3,96650816
CSS13.3%699502
JavaScript6.3%3341957
JSON3.9%20702
Sass0.7%3813
Markdown0.3%1701
Total 5,261 754 31

PHP Code Analysis | More results »

Lines of code 4,133
Total complexity 606
Median class complexity 10.5
Median method complexity 1.0
Most complex class ar_for_wordpress_widget
Most complex function ar_display_model_viewer()
Classes 2
Methods 12
Functions 68

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 26

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

[24-Oct-2023 06:51:33 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5828
[24-Oct-2023 06:51:33 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5828
[24-Oct-2023 06:51:42 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5828
[24-Oct-2023 06:51:42 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5828
[24-Oct-2023 06:51:46 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5828
[24-Oct-2023 06:51:46 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 5828
[24-Oct-2023 06:51:50 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://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5905
See also: All tests for this plugin, How to Hide AR for WordPress Admin Menus and More