Async JavaScript 2.21.08.31

Does Async JavaScript work with WordPress 6.8.3 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: 15.41 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.8.3
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=3bfa2c30f5
Aspect after-activation
HTTP status 200
Load time 0.314 s
Memory usage 3.55 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.229 s
Memory usage 3.61 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.159 s
Memory usage 3.56 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.153 s
Memory usage 3.58 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.51 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 0.792 s
Memory usage 5.96 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.188 s
Memory usage 3.44 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.276 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.298 s-0.058 s3.51 MiB3.53 MiB+ 28.3 KiB
/wp-admin/edit.php0.232 s0.203 s-0.029 s3.57 MiB3.59 MiB+ 21.61 KiB
/wp-admin/post-new.php0.776 s1.002 s+0.226 s6.06 MiB6.09 MiB+ 26.04 KiB
/wp-admin/upload.php0.580 s0.518 s-0.062 s3.52 MiB3.53 MiB+ 4.2 KiB
/wp-admin/options-writing.php0.225 s0.181 s-0.044 s3.5 MiB3.51 MiB+ 8.2 KiB
/wp-admin/media-new.php0.310 s0.205 s-0.105 s3.49 MiB3.51 MiB+ 16.39 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.179 s-0.045 s3.5 MiB3.53 MiB+ 27.06 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.610 s-0.007 s6.05 MiB6.07 MiB+ 21.56 KiB
/wp-admin/options-discussion.php0.443 s0.243 s-0.200 s3.5 MiB3.51 MiB+ 4.7 KiB
/wp-admin/edit-comments.php0.285 s0.432 s+0.147 s3.52 MiB3.53 MiB+ 4.2 KiB
/0.307 s0.234 s-0.073 s3.43 MiB3.44 MiB+ 7.24 KiB
Average 0.396 s0.373 s-0.023 s3.97 MiB3.98 MiB+ 15.41 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