Ad Inserter 2.7.15

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: 0.040 seconds
The average page load time increased by this amount after activating the plugin.

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=2890f15e0b
Aspect after-activation
HTTP status 200
Load time 0.764 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.500 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.471 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.401 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
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.360 s0.423 s+0.063 s3.72 MiB5.99 MiB+ 2.27 MiB
/wp-admin/edit.php0.193 s0.228 s+0.035 s3.75 MiB6.09 MiB+ 2.34 MiB
/wp-admin/post-new.php0.740 s0.996 s+0.256 s5.53 MiB7.81 MiB+ 2.28 MiB
/wp-admin/upload.php0.405 s0.397 s-0.008 s3.68 MiB5.95 MiB+ 2.27 MiB
/wp-admin/options-writing.php0.298 s0.197 s-0.101 s3.61 MiB5.93 MiB+ 2.32 MiB
/wp-admin/media-new.php0.354 s0.229 s-0.125 s3.66 MiB5.93 MiB+ 2.27 MiB
/wp-admin/edit-tags.php?taxonomy=category0.198 s0.240 s+0.042 s3.68 MiB5.96 MiB+ 2.27 MiB
/wp-admin/post-new.php?post_type=page0.671 s0.826 s+0.155 s5.53 MiB7.8 MiB+ 2.27 MiB
/wp-admin/options-discussion.php0.320 s0.431 s+0.111 s3.59 MiB5.93 MiB+ 2.34 MiB
/wp-admin/edit-comments.php0.216 s0.268 s+0.052 s3.69 MiB5.96 MiB+ 2.27 MiB
/0.292 s0.248 s-0.044 s3.55 MiB5.84 MiB+ 2.29 MiB
Average 0.368 s0.408 s+0.040 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,1868,55845
PO File29.2%23,69810,58511
JavaScript15.9%12,8961,54995
CSS2.4%1,945407
Markdown1.8%1,44107
HTML0.0%101
Total 81,167 20,732 166

PHP Code Analysis | More results »

Lines of code 42,104
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