Ad Inserter 2.7.17

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.050 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=06445785bf
Aspect after-activation
HTTP status 200
Load time 2.031 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.249 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.523 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 2.019 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
    },
    {
        "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.311 s0.423 s+0.112 s3.72 MiB6 MiB+ 2.27 MiB
/wp-admin/edit.php0.174 s0.216 s+0.042 s3.76 MiB6.1 MiB+ 2.34 MiB
/wp-admin/post-new.php0.869 s1.174 s+0.305 s5.55 MiB7.82 MiB+ 2.28 MiB
/wp-admin/upload.php0.597 s0.397 s-0.200 s3.69 MiB5.96 MiB+ 2.27 MiB
/wp-admin/options-writing.php0.138 s0.194 s+0.056 s3.62 MiB5.93 MiB+ 2.32 MiB
/wp-admin/media-new.php0.396 s0.241 s-0.155 s3.66 MiB5.94 MiB+ 2.27 MiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.220 s+0.041 s3.69 MiB5.96 MiB+ 2.27 MiB
/wp-admin/post-new.php?post_type=page0.838 s1.062 s+0.224 s5.54 MiB7.82 MiB+ 2.27 MiB
/wp-admin/options-discussion.php0.199 s0.335 s+0.136 s3.6 MiB5.93 MiB+ 2.34 MiB
/wp-admin/edit-comments.php0.196 s0.241 s+0.045 s3.7 MiB5.97 MiB+ 2.27 MiB
/0.288 s0.230 s-0.058 s3.6 MiB5.84 MiB+ 2.24 MiB
Average 0.380 s0.430 s+0.050 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,2368,56945
PO File29.2%23,69810,58511
JavaScript15.9%12,9071,55795
CSS2.4%1,945407
Markdown1.8%1,44107
HTML0.0%101
Total 81,228 20,751 166

PHP Code Analysis | More results »

Lines of code 42,152
Total complexity 12,154
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