Ad Inserter 2.7.2

Does Ad Inserter work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 1.69 MiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.054 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.8
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=fb71a8ab68
Aspect after-activation
HTTP status 200
Load time 0.660 s
Memory usage 4.73 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.313 s
Memory usage 4.83 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.561 s
Memory usage 4.66 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.109 s
Memory usage 6.13 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:2802)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:1:4104)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30038)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8:2:30340)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.535 s0.450 s-0.085 s3.08 MiB4.83 MiB+ 1.74 MiB
/wp-admin/edit.php0.246 s0.281 s+0.035 s3.11 MiB4.86 MiB+ 1.75 MiB
/wp-admin/post-new.php0.966 s1.384 s+0.418 s5.27 MiB6.94 MiB+ 1.68 MiB
/wp-admin/upload.php0.635 s0.637 s+0.002 s3.03 MiB4.71 MiB+ 1.68 MiB
/wp-admin/options-writing.php0.188 s0.212 s+0.024 s3.02 MiB4.69 MiB+ 1.67 MiB
/wp-admin/media-new.php0.279 s0.282 s+0.003 s3.01 MiB4.69 MiB+ 1.68 MiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.238 s+0.034 s3.04 MiB4.72 MiB+ 1.68 MiB
/wp-admin/post-new.php?post_type=page0.714 s0.829 s+0.115 s5.26 MiB6.93 MiB+ 1.68 MiB
/wp-admin/options-discussion.php0.276 s0.367 s+0.091 s3 MiB4.68 MiB+ 1.68 MiB
/wp-admin/edit-comments.php0.271 s0.261 s-0.010 s3.04 MiB4.72 MiB+ 1.68 MiB
/0.310 s0.275 s-0.035 s2.96 MiB4.66 MiB+ 1.7 MiB
Average 0.420 s0.474 s+0.054 s3.44 MiB5.13 MiB+ 1.69 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
PHP52.9%38,7147,66761
PO File26.8%19,6068,8159
JavaScript17.1%12,5121,45695
CSS2.6%1,914417
Markdown0.6%46003
HTML0.0%101
Total 73,207 17,979 176

PHP Code Analysis | More results »

Lines of code 38,562
Total complexity 10,531
Median class complexity 6.0
Median method complexity 2.0
Most complex class ai_CodeBlock
Most complex function generate_settings_form()
Classes 127
Methods 1,274
Functions 322

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