Async JavaScript 2.21.08.31

Does Async JavaScript work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 8.84 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.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/async-javascript/
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=async-javascript%2Fasync-javascript.php&plugin_status=all&paged=1&s&_wpnonce=7307058c49
Aspect after-activation
HTTP status 200
Load time 0.287 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Settings → Async JavaScript

Page screenshot: Settings → Async JavaScript
URL /wp-admin/options-general.php?page=async-javascript
Aspect menu-item
HTTP status 200
Load time 0.234 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Settings → Async JavaScript → Wizard

Page screenshot: Settings → Async JavaScript → Wizard
URL /wp-admin/options-general.php?page=async-javascript&tab=wizard
Aspect menu-item-tab
HTTP status 200
Load time 0.193 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Settings → Async JavaScript → Status

Page screenshot: Settings → Async JavaScript → Status
URL /wp-admin/options-general.php?page=async-javascript&tab=status
Aspect menu-item-tab
HTTP status 200
Load time 0.195 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Settings → Async JavaScript → Help

Page screenshot: Settings → Async JavaScript → Help
URL /wp-admin/options-general.php?page=async-javascript&tab=help
Aspect menu-item-tab
HTTP status 200
Load time 0.182 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Settings → Async JavaScript → Optimize More!

Page screenshot: Settings → Async JavaScript → Optimize More!
URL /wp-admin/options-general.php?page=async-javascript&tab=Optimize+More%21
Requested URL /wp-admin/options-general.php?page=async-javascript&tab=Optimize%20More!
Aspect menu-item-tab
HTTP status 200
Load time 1.203 s
Memory usage 5.53 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.201 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.370 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.379 s0.376 s-0.003 s3.44 MiB3.46 MiB+ 28.26 KiB
/wp-admin/edit.php0.248 s0.424 s+0.176 s3.46 MiB3.48 MiB+ 21.41 KiB
/wp-admin/post-new.php0.968 s0.689 s-0.279 s5.59 MiB5.62 MiB+ 25.77 KiB
/wp-admin/upload.php0.675 s0.420 s-0.255 s3.38 MiB3.38 MiB+ 4 KiB
/wp-admin/options-writing.php0.248 s0.217 s-0.031 s3.37 MiB3.37 MiB- 4.04 KiB
/wp-admin/media-new.php0.374 s0.279 s-0.095 s3.35 MiB3.37 MiB+ 16.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.227 s0.188 s-0.039 s3.37 MiB3.39 MiB+ 21.36 KiB
/wp-admin/post-new.php?post_type=page0.657 s0.845 s+0.188 s5.59 MiB5.61 MiB+ 21.36 KiB
/wp-admin/options-discussion.php0.484 s0.328 s-0.156 s3.36 MiB3.36 MiB+ 4.49 KiB
/wp-admin/edit-comments.php0.280 s0.252 s-0.028 s3.39 MiB3.39 MiB+ 3.99 KiB
/0.360 s0.214 s-0.146 s3.42 MiB3.37 MiB- 45.59 KiB
Average 0.445 s0.385 s-0.061 s3.79 MiB3.8 MiB+ 8.84 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript53.8%2,933253
PHP36.2%1,97136611
CSS9.9%537252
HTML0.1%701
Total 5,448 416 17

PHP Code Analysis | More results »

Lines of code 722
Total complexity 191
Median class complexity 67.0
Median method complexity 2.0
Most complex class AsyncJavaScriptFrontend
Most complex function AsyncJavaScriptFrontend::aj_async_js()
Classes 3
Methods 45
Functions 1

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 13

Meta Boxes

{
    "dashboard": {
        "aj_dashboard_widget": {
            "title": "Async JavaScript",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Async JavaScript Admin Menus and Widgets