Banner Slider for Advertisement 1.0.2

Does "Banner Slider for Advertisement" work with WordPress 6.7.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 60.46 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 version6.7.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 90+
WordPress.org page https://wordpress.org/plugins/banner-slider-for-advertisement/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=banner-slider-for-advertisement%2Fbanner_slider.php&plugin_status=all&paged=1&s&_wpnonce=459be8d96f
Aspect after-activation
HTTP status 200
Load time 0.259 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Banner Slider

Page screenshot: Banner Slider
URL /wp-admin/edit.php?post_type=wpwbs
Aspect menu-item
HTTP status 200
Load time 0.215 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Banner Slider → Add New Banner Slider

Page screenshot: Banner Slider → Add New Banner Slider
URL /wp-admin/post-new.php?post_type=wpwbs
Aspect menu-item
HTTP status 200
Load time 0.305 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Banner Slider → Plugin Settings

Page screenshot: Banner Slider → Plugin Settings
URL /wp-admin/edit.php?post_type=wpwbs&page=wpwbs_settings
Aspect menu-item
HTTP status 200
Load time 0.208 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Banner Slider → Plugin Settings → Document

Page screenshot: Banner Slider → Plugin Settings → Document
URL /wp-admin/edit.php?post_type=wpwbs&page=wpwbs_settings&tab=document
Aspect menu-item-tab
HTTP status 200
Load time 0.205 s
Memory usage 3.54 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.279 s
Memory usage 3.44 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.751 s
Memory usage 5.85 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.402 s0.395 s-0.007 s3.48 MiB3.56 MiB+ 76.67 KiB
/wp-admin/edit.php0.228 s0.243 s+0.015 s3.54 MiB3.62 MiB+ 76.91 KiB
/wp-admin/post-new.php0.847 s0.696 s-0.151 s5.93 MiB6.01 MiB+ 81.72 KiB
/wp-admin/upload.php0.656 s0.379 s-0.277 s3.5 MiB3.55 MiB+ 59.2 KiB
/wp-admin/options-writing.php0.203 s0.191 s-0.012 s3.47 MiB3.54 MiB+ 63.19 KiB
/wp-admin/media-new.php0.305 s0.240 s-0.065 s3.46 MiB3.53 MiB+ 71.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.207 s+0.013 s3.48 MiB3.56 MiB+ 82.37 KiB
/wp-admin/post-new.php?post_type=page0.726 s0.619 s-0.107 s5.92 MiB6 MiB+ 77.25 KiB
/wp-admin/options-discussion.php0.304 s0.391 s+0.087 s3.48 MiB3.53 MiB+ 60.31 KiB
/wp-admin/edit-comments.php0.210 s0.245 s+0.035 s3.5 MiB3.55 MiB+ 59.19 KiB
/0.316 s0.246 s-0.070 s3.48 MiB3.44 MiB- 43.18 KiB
Average 0.399 s0.350 s-0.049 s3.93 MiB3.99 MiB+ 60.46 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.

JavaScript
PHP
CSS
Language % Lines of code Comment lines Files
JavaScript64.2%3,8003901
PHP23.1%1,369868
CSS8.5%501521
PO File4.2%2512671
Total 5,921 795 11

PHP Code Analysis | More results »

Lines of code 1,228
Total complexity 366
Median class complexity 23.5
Median method complexity 2.0
Most complex class WPWbsFunctions
Most complex function WPWbsFunctions::display_slider_conditional()
Classes 6
Methods 42
Functions 1

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 1

Custom Post Types 1

ID Name
wpwbsBanner Slider

Sidebar Widgets 1

ID Name
wpwbs_bannersBanner Slider Advertisement

Meta Boxes

{
    "wpwbs": {
        "wpbsc_sectionid": {
            "title": "Banner Slider Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 4 lines

[24-Feb-2025 14:40:42 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
[24-Feb-2025 14:40:42 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
[24-Feb-2025 14:40:42 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
[24-Feb-2025 14:40:42 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
See also: All tests for this plugin, How to Hide Banner Slider for Advertisement Admin Menus and Meta Boxes