AdRotate 5.8.20

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

Summary

Errors
2PHP notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 78.21 KiB
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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/adrotate/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 18

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=adrotate%2Fadrotate.php&plugin_status=all&paged=1&s&_wpnonce=946f87a274
Aspect after-activation
HTTP status 200
Load time 1.644 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

AdRotate

Page screenshot: AdRotate
URL /wp-admin/admin.php?page=adrotate
Aspect menu-item
HTTP status 200
Load time 1.162 s
Memory usage 5.34 MiB
JS errors None
Resource errors None

AdRotate → Get AdRotate Pro

Page screenshot: AdRotate → Get AdRotate Pro
URL /wp-admin/admin.php?page=adrotate-pro
Aspect menu-item
HTTP status 200
Load time 0.370 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

AdRotate → Manage Adverts

Page screenshot: AdRotate → Manage Adverts
URL /wp-admin/admin.php?page=adrotate-ads
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

AdRotate → Manage Groups

Page screenshot: AdRotate → Manage Groups
URL /wp-admin/admin.php?page=adrotate-groups
Aspect menu-item
HTTP status 200
Load time 0.184 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

AdRotate → Manage Schedules

Page screenshot: AdRotate → Manage Schedules
URL /wp-admin/admin.php?page=adrotate-schedules
Aspect menu-item
HTTP status 200
Load time 0.202 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

AdRotate → Manage Media

Page screenshot: AdRotate → Manage Media
URL /wp-admin/admin.php?page=adrotate-media
Aspect menu-item
HTTP status 200
Load time 0.206 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

AdRotate → Statistics

Page screenshot: AdRotate → Statistics
URL /wp-admin/admin.php?page=adrotate-statistics
Aspect menu-item
HTTP status 200
Load time 0.194 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

AdRotate → Support

Page screenshot: AdRotate → Support
URL /wp-admin/admin.php?page=adrotate-support
Aspect menu-item
HTTP status 200
Load time 0.303 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

AdRotate → Settings

Page screenshot: AdRotate → Settings
URL /wp-admin/admin.php?page=adrotate-settings
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.16 MiB
JS errors None
Resource errors None

AdRotate → Settings → Notifications

Page screenshot: AdRotate → Settings → Notifications
URL /wp-admin/admin.php?page=adrotate-settings&tab=notifications
Aspect menu-item-tab
HTTP status 200
Load time 0.206 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

AdRotate → Settings → Statistics

Page screenshot: AdRotate → Settings → Statistics
URL /wp-admin/admin.php?page=adrotate-settings&tab=stats
Aspect menu-item-tab
HTTP status 200
Load time 0.178 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

AdRotate → Settings → Geo Targeting

Page screenshot: AdRotate → Settings → Geo Targeting
URL /wp-admin/admin.php?page=adrotate-settings&tab=geo
Aspect menu-item-tab
HTTP status 200
Load time 0.221 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

AdRotate → Settings → Access Roles

Page screenshot: AdRotate → Settings → Access Roles
URL /wp-admin/admin.php?page=adrotate-settings&tab=roles
Aspect menu-item-tab
HTTP status 200
Load time 0.186 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

AdRotate → Settings → Miscellaneous

Page screenshot: AdRotate → Settings → Miscellaneous
URL /wp-admin/admin.php?page=adrotate-settings&tab=misc
Aspect menu-item-tab
HTTP status 200
Load time 0.164 s
Memory usage 3.13 MiB
JS errors None
Resource errors None

AdRotate → Settings → Maintenance

Page screenshot: AdRotate → Settings → Maintenance
URL /wp-admin/admin.php?page=adrotate-settings&tab=maintenance
Aspect menu-item-tab
HTTP status 200
Load time 0.191 s
Memory usage 3.18 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.347 s
Memory usage 2.96 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.184 s
Memory usage 4.54 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'top' of undefined\n    at belowEntryMetaClass (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\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:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\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:124:33)\n    at HTMLDocument.<anonymous> (/wp-content/themes/twentyseventeen/assets/js/global.js?ver=20190121:211:3)\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.638 s0.503 s-0.135 s3.08 MiB3.16 MiB+ 79.63 KiB
/wp-admin/edit.php0.214 s0.235 s+0.021 s3.11 MiB3.25 MiB+ 143.42 KiB
/wp-admin/post-new.php1.073 s1.152 s+0.079 s5.27 MiB5.35 MiB+ 89.48 KiB
/wp-admin/upload.php0.637 s0.341 s-0.296 s3.03 MiB3.1 MiB+ 77.19 KiB
/wp-admin/options-writing.php0.171 s0.178 s+0.007 s3.02 MiB3.08 MiB+ 62.41 KiB
/wp-admin/media-new.php0.299 s0.234 s-0.065 s3.01 MiB3.08 MiB+ 77.67 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.216 s+0.013 s3.04 MiB3.11 MiB+ 78.89 KiB
/wp-admin/post-new.php?post_type=page0.742 s0.885 s+0.143 s5.26 MiB5.34 MiB+ 89.07 KiB
/wp-admin/options-discussion.php0.255 s0.374 s+0.119 s3 MiB3.08 MiB+ 79.23 KiB
/wp-admin/edit-comments.php0.228 s0.233 s+0.005 s3.04 MiB3.12 MiB+ 78.52 KiB
/0.345 s0.254 s-0.091 s2.96 MiB2.96 MiB+ 4.77 KiB
Average 0.437 s0.419 s-0.018 s3.44 MiB3.51 MiB+ 78.21 KiB

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.

PO File
PHP
Language % Lines of code Comment lines Files
PO File67.5%12,14316,1856
PHP31.2%5,60798931
JavaScript0.9%153557
CSS0.5%88101
Total 17,991 17,239 45

PHP Code Analysis | More results »

Lines of code 3,450
Total complexity 1,077
Median class complexity 24.0
Median method complexity 3.0
Most complex class adrotate_widgets
Most complex function adrotate_insert_group()
Classes 1
Methods 4
Functions 104

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.

Database Tables 7

Options wp_options 13

Sidebar Widgets 1

ID Name
adrotate_widgetsAdRotate

Capabilities 4

PHP Error Log 2 lines

[21-Jul-2021 00:12:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/adrotate/adrotate.php on line 66
[21-Jul-2021 00:13:02 UTC] PHP Notice:  Undefined index: unknown in /wp-content/plugins/adrotate/dashboard/settings/maintenance.php on line 45
See also: All tests for this plugin, How to Hide AdRotate Banner Manager Admin Menus