Async JavaScript 2.21.06.29

Does Async JavaScript work with WordPress 5.8 and PHP 7.4.8? 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: 12.06 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=cb7c633395
Aspect after-activation
HTTP status 200
Load time 0.926 s
Memory usage 3.06 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.172 s
Memory usage 3.19 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.183 s
Memory usage 3.16 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.141 s
Memory usage 3.18 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.151 s
Memory usage 3.06 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.937 s
Memory usage 5.27 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.245 s
Memory usage 2.92 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.367 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.335 s0.278 s-0.057 s3.08 MiB3.1 MiB+ 23.08 KiB
/wp-admin/edit.php0.194 s0.192 s-0.002 s3.11 MiB3.13 MiB+ 18.71 KiB
/wp-admin/post-new.php1.461 s1.199 s-0.262 s5.27 MiB5.29 MiB+ 23.07 KiB
/wp-admin/upload.php0.595 s0.491 s-0.104 s3.03 MiB3.05 MiB+ 17.58 KiB
/wp-admin/options-writing.php0.164 s0.160 s-0.004 s3.02 MiB3.02 MiB+ 1.55 KiB
/wp-admin/media-new.php0.271 s0.225 s-0.046 s3.01 MiB3.02 MiB+ 17.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.200 s+0.011 s3.04 MiB3.06 MiB+ 18.66 KiB
/wp-admin/post-new.php?post_type=page1.007 s1.105 s+0.098 s5.26 MiB5.27 MiB+ 18.66 KiB
/wp-admin/options-discussion.php0.238 s0.311 s+0.073 s3 MiB3.02 MiB+ 18.06 KiB
/wp-admin/edit-comments.php0.214 s0.233 s+0.019 s3.04 MiB3.06 MiB+ 17.56 KiB
/0.325 s0.343 s+0.018 s2.96 MiB2.92 MiB- 42.02 KiB
Average 0.454 s0.431 s-0.023 s3.44 MiB3.45 MiB+ 12.06 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.9%2,933253
PHP36.1%1,96836611
CSS9.9%537252
HTML0.1%701
Total 5,445 416 17

PHP Code Analysis | More results »

Lines of code 719
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