Banner Slider for Advertisement 1.0.2

Does "Banner Slider for Advertisement" work with WordPress 6.7.1 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.1
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=c9db67fb3d
Aspect after-activation
HTTP status 200
Load time 0.283 s
Memory usage 3.57 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.186 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.294 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.194 s
Memory usage 3.53 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.210 s
Memory usage 3.53 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.242 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.733 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.317 s0.359 s+0.042 s3.48 MiB3.56 MiB+ 76.67 KiB
/wp-admin/edit.php0.209 s0.243 s+0.034 s3.54 MiB3.62 MiB+ 76.91 KiB
/wp-admin/post-new.php0.987 s0.781 s-0.206 s5.92 MiB6 MiB+ 81.72 KiB
/wp-admin/upload.php0.814 s0.557 s-0.257 s3.5 MiB3.55 MiB+ 59.2 KiB
/wp-admin/options-writing.php0.241 s0.229 s-0.012 s3.47 MiB3.53 MiB+ 63.19 KiB
/wp-admin/media-new.php0.304 s0.274 s-0.030 s3.46 MiB3.53 MiB+ 71.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.218 s+0.008 s3.48 MiB3.56 MiB+ 82.37 KiB
/wp-admin/post-new.php?post_type=page0.693 s0.629 s-0.064 s5.92 MiB5.99 MiB+ 77.25 KiB
/wp-admin/options-discussion.php0.304 s0.284 s-0.020 s3.47 MiB3.53 MiB+ 60.31 KiB
/wp-admin/edit-comments.php0.461 s0.453 s-0.008 s3.49 MiB3.55 MiB+ 59.19 KiB
/0.338 s0.225 s-0.113 s3.48 MiB3.44 MiB- 43.18 KiB
Average 0.443 s0.387 s-0.057 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

[04-Dec-2024 08:41:29 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
[04-Dec-2024 08:41:29 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
[04-Dec-2024 08:41:29 UTC] PHP Warning:  Undefined variable $field_val in /wp-content/plugins/banner-slider-for-advertisement/admin/banners_cats.php on line 159
[04-Dec-2024 08:41:29 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