AR for WordPress 7.6

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

Summary

Errors
No PHP errors, warnings or notices
8JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 186.96 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.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=7d02930c74
Aspect after-activation
HTTP status 200
Load time 0.586 s
Memory usage 3.69 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.283 s
Memory usage 3.71 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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 1.519 s
Memory usage 6.56 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7.1: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.275 s
Memory usage 3.66 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.459 s
Memory usage 3.7 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.399 s
Memory usage 3.65 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.193 s
Memory usage 3.65 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
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.193 s
Memory usage 3.54 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.672 s
Memory usage 5.97 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/ar-for-wordpress/assets/js/ar-model.js?ver=7.6:356:5)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7.1:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-dom-ready,wp-hooks&ver=6.7.1:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.301 s0.339 s+0.038 s3.48 MiB3.67 MiB+ 193.39 KiB
/wp-admin/edit.php0.191 s0.234 s+0.043 s3.54 MiB3.73 MiB+ 195.44 KiB
/wp-admin/post-new.php0.930 s0.638 s-0.292 s5.92 MiB6.17 MiB+ 247.83 KiB
/wp-admin/upload.php0.505 s0.491 s-0.014 s3.49 MiB3.67 MiB+ 183.02 KiB
/wp-admin/options-writing.php0.196 s0.282 s+0.086 s3.47 MiB3.65 MiB+ 182.34 KiB
/wp-admin/media-new.php0.241 s0.346 s+0.105 s3.46 MiB3.65 MiB+ 190.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.298 s+0.122 s3.48 MiB3.67 MiB+ 199.95 KiB
/wp-admin/post-new.php?post_type=page0.493 s0.575 s+0.082 s5.92 MiB6.15 MiB+ 239.72 KiB
/wp-admin/options-discussion.php0.255 s0.271 s+0.016 s3.47 MiB3.65 MiB+ 178.21 KiB
/wp-admin/edit-comments.php0.185 s0.259 s+0.074 s3.49 MiB3.67 MiB+ 183.84 KiB
/0.278 s0.184 s-0.094 s3.48 MiB3.54 MiB+ 62.3 KiB
Average 0.341 s0.356 s+0.015 s3.93 MiB4.11 MiB+ 186.96 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
PHP46.0%8,2612,58559
JSON36.2%6,514026
JavaScript12.4%2,2201,10216
CSS5.3%959884
Sass0.1%1902
Total 17,973 3,775 107

PHP Code Analysis | More results »

Lines of code 8,001
Total complexity 1,473
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

The log file is empty.

See also: All tests for this plugin, How to Hide AR for WordPress Admin Menus and More