Ad Inserter 2.7.18

Does Ad Inserter work with WordPress 6.0.2 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.051 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.2
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=18956c8814
Aspect after-activation
HTTP status 200
Load time 0.476 s
Memory usage 5.98 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.466 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.490 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.609 s
Memory usage 7.8 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.344 s0.447 s+0.103 s3.72 MiB6 MiB+ 2.27 MiB
/wp-admin/edit.php0.192 s0.285 s+0.093 s3.76 MiB6.1 MiB+ 2.34 MiB
/wp-admin/post-new.php0.760 s0.944 s+0.184 s5.55 MiB7.82 MiB+ 2.28 MiB
/wp-admin/upload.php0.405 s0.397 s-0.008 s3.69 MiB5.96 MiB+ 2.27 MiB
/wp-admin/options-writing.php0.171 s0.186 s+0.015 s3.62 MiB5.93 MiB+ 2.32 MiB
/wp-admin/media-new.php0.440 s0.240 s-0.200 s3.66 MiB5.94 MiB+ 2.27 MiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.222 s-0.009 s3.69 MiB5.96 MiB+ 2.27 MiB
/wp-admin/post-new.php?post_type=page0.699 s0.860 s+0.161 s5.54 MiB7.82 MiB+ 2.28 MiB
/wp-admin/options-discussion.php0.217 s0.417 s+0.200 s3.6 MiB5.93 MiB+ 2.34 MiB
/wp-admin/edit-comments.php0.235 s0.285 s+0.050 s3.7 MiB5.97 MiB+ 2.27 MiB
/0.291 s0.262 s-0.029 s3.6 MiB5.84 MiB+ 2.24 MiB
Average 0.362 s0.413 s+0.051 s4.01 MiB6.3 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.8%41,2688,57745
PO File29.2%23,71010,62911
JavaScript15.9%12,9141,55895
CSS2.4%1,945407
Markdown1.8%1,44107
HTML0.0%101
Total 81,279 20,804 166

PHP Code Analysis | More results »

Lines of code 42,185
Total complexity 12,170
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,272
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