AR for WordPress 7.4

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

Summary

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

Memory usage: 176.08 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.050 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 400+
WordPress.org page https://wordpress.org/plugins/ar-for-wordpress/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

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=597e9971a5
Aspect after-activation
HTTP status 200
Load time 0.732 s
Memory usage 3.66 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.318 s
Memory usage 3.69 MiB
JS errors None
Resource errors None

AR Models → Add New Models

Page screenshot: AR Models → Add New Models
URL /wp-admin/post-new.php?post_type=armodels
Aspect menu-item
HTTP status 200
Load time 0.417 s
Memory usage N/A
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.313 s
Memory usage 3.64 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 0.616 s
Memory usage 3.68 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.236 s
Memory usage 3.62 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.246 s
Memory usage 3.62 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.203 s
Memory usage 3.52 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 1.734 s
Memory usage 6.03 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?ver=1680240294:1:736)\n    at t (/wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js?ver=1680240294:1:101)\n    at Object.<anonymous> (/wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js?ver=1680240294:1:540)\n    at t (/wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js?ver=1680240294:1:101)\n    at /wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js?ver=1680240294:1:451\n    at /wp-content/plugins/ar-for-wordpress/gutenberg-block/dist/blocks.build.js?ver=1680240294: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.322 s0.390 s+0.068 s3.48 MiB3.64 MiB+ 167.87 KiB
/wp-admin/edit.php0.209 s0.550 s+0.341 s3.54 MiB3.71 MiB+ 170.23 KiB
/wp-admin/post-new.php0.839 s1.148 s+0.309 s5.92 MiB6.2 MiB+ 285.38 KiB
/wp-admin/upload.php0.779 s0.507 s-0.272 s3.49 MiB3.65 MiB+ 157.49 KiB
/wp-admin/options-writing.php0.242 s0.291 s+0.049 s3.47 MiB3.63 MiB+ 156.81 KiB
/wp-admin/media-new.php0.288 s0.362 s+0.074 s3.46 MiB3.62 MiB+ 165.01 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.266 s+0.066 s3.48 MiB3.65 MiB+ 174.43 KiB
/wp-admin/post-new.php?post_type=page0.751 s0.835 s+0.084 s5.92 MiB6.19 MiB+ 280.6 KiB
/wp-admin/options-discussion.php0.528 s0.411 s-0.117 s3.47 MiB3.62 MiB+ 152.69 KiB
/wp-admin/edit-comments.php0.277 s0.303 s+0.026 s3.49 MiB3.65 MiB+ 158.31 KiB
/0.329 s0.250 s-0.079 s3.45 MiB3.52 MiB+ 68.1 KiB
Average 0.433 s0.483 s+0.050 s3.93 MiB4.1 MiB+ 176.08 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
PHP45.9%8,2742,59556
JSON36.5%6,575021
JavaScript12.1%2,1909988
CSS5.3%957882
Sass0.2%3813
Total 18,034 3,682 90

PHP Code Analysis | More results »

Lines of code 8,018
Total complexity 1,471
Median class complexity 11.0
Median method complexity 3.0
Most complex class AR_Plugin
Most complex function ar_wp_model_fields()
Classes 27
Methods 138
Functions 114

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

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

[10-Dec-2024 04:59:07 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2387) in /wp-includes/pluggable.php on line 1435
[10-Dec-2024 04:59:07 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-includes/script-loader.php:2387) in /wp-includes/pluggable.php on line 1438
[10-Dec-2024 04:59:23 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, How to Hide AR for WordPress Admin Menus and More