Ad Inserter 2.7.23

Does Ad Inserter work with WordPress 6.1.1 and PHP 8.1.12? 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.3 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.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=19434feea1
Aspect after-activation
HTTP status 200
Load time 0.449 s
Memory usage 5.3 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.002 s
Memory usage 5.67 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.478 s
Memory usage 5.29 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.183 s
Memory usage 7.22 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.267 s0.356 s+0.089 s3.05 MiB5.32 MiB+ 2.28 MiB
/wp-admin/edit.php0.163 s0.180 s+0.017 s3.07 MiB5.42 MiB+ 2.35 MiB
/wp-admin/post-new.php0.727 s0.927 s+0.200 s4.97 MiB7.25 MiB+ 2.28 MiB
/wp-admin/upload.php0.547 s0.276 s-0.271 s2.99 MiB5.27 MiB+ 2.28 MiB
/wp-admin/options-writing.php0.147 s0.146 s-0.001 s2.99 MiB5.26 MiB+ 2.27 MiB
/wp-admin/media-new.php0.247 s0.229 s-0.018 s2.97 MiB5.26 MiB+ 2.3 MiB
/wp-admin/edit-tags.php?taxonomy=category0.168 s0.183 s+0.015 s2.98 MiB5.28 MiB+ 2.3 MiB
/wp-admin/post-new.php?post_type=page0.791 s0.766 s-0.025 s4.96 MiB7.24 MiB+ 2.28 MiB
/wp-admin/options-discussion.php0.221 s0.331 s+0.110 s2.97 MiB5.26 MiB+ 2.28 MiB
/wp-admin/edit-comments.php0.186 s0.214 s+0.028 s3 MiB5.28 MiB+ 2.28 MiB
/0.252 s0.223 s-0.029 s2.94 MiB5.29 MiB+ 2.35 MiB
Average 0.338 s0.348 s+0.010 s3.35 MiB5.65 MiB+ 2.3 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
PHP47.3%41,6498,63545
PO File27.6%24,30711,21711
JavaScript21.2%18,6723,577106
CSS2.2%1,945407
Markdown1.6%1,44107
HTML0.0%101
Total 88,015 23,469 177

PHP Code Analysis | More results »

Lines of code 42,558
Total complexity 12,308
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 340

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