Ad Inserter 2.7.16

Does Ad Inserter work with WordPress 6.0 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: 2.29 MiB
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.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300,000+
WordPress.org page https://wordpress.org/plugins/ad-inserter/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=ad-inserter%2Fad-inserter.php&plugin_status=all&paged=1&s&_wpnonce=810404c42f
Aspect after-activation
HTTP status 200
Load time 0.453 s
Memory usage 5.97 MiB
JS errors None
Resource errors None

Settings → Ad Inserter

Page screenshot: Settings → Ad Inserter
URL /wp-admin/options-general.php?page=ad-inserter.php
Aspect menu-item
HTTP status 200
Load time 1.322 s
Memory usage 6.35 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.458 s
Memory usage 5.84 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.745 s
Memory usage 7.79 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.424 s+0.114 s3.72 MiB5.99 MiB+ 2.27 MiB
/wp-admin/edit.php0.190 s0.219 s+0.029 s3.75 MiB6.09 MiB+ 2.34 MiB
/wp-admin/post-new.php0.733 s0.949 s+0.216 s5.53 MiB7.81 MiB+ 2.28 MiB
/wp-admin/upload.php0.611 s0.366 s-0.245 s3.68 MiB5.95 MiB+ 2.27 MiB
/wp-admin/options-writing.php0.253 s0.187 s-0.066 s3.61 MiB5.93 MiB+ 2.32 MiB
/wp-admin/media-new.php0.356 s0.226 s-0.130 s3.66 MiB5.93 MiB+ 2.27 MiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.211 s+0.028 s3.68 MiB5.96 MiB+ 2.27 MiB
/wp-admin/post-new.php?post_type=page1.440 s0.800 s-0.640 s5.53 MiB7.8 MiB+ 2.27 MiB
/wp-admin/options-discussion.php0.204 s0.368 s+0.164 s3.59 MiB5.93 MiB+ 2.34 MiB
/wp-admin/edit-comments.php0.218 s0.250 s+0.032 s3.69 MiB5.96 MiB+ 2.27 MiB
/0.269 s0.236 s-0.033 s3.55 MiB5.84 MiB+ 2.29 MiB
Average 0.433 s0.385 s-0.048 s4 MiB6.29 MiB+ 2.29 MiB

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
PO File
JavaScript
Language % Lines of code Comment lines Files
PHP50.7%41,1888,56345
PO File29.2%23,69810,58511
JavaScript15.9%12,9071,55795
CSS2.4%1,945407
Markdown1.8%1,44107
HTML0.0%101
Total 81,180 20,745 166

PHP Code Analysis | More results »

Lines of code 42,106
Total complexity 12,128
Median class complexity 4.0
Median method complexity 2.0
Most complex class ai_CodeBlock
Most complex function generate_settings_form()
Classes 116
Methods 1,271
Functions 338

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 3

Sidebar Widgets 1

ID Name
ai_widgetAd Inserter

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Ad Inserter" Admin Menu