Banner Slider for Advertisement 1.0.2

Does "Banner Slider for Advertisement" work with WordPress 6.5.5 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.85 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.5.5
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=36415d8164
Aspect after-activation
HTTP status 200
Load time 0.259 s
Memory usage 3.45 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.211 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Banner Slider → Add Banner Slider

Page screenshot: Banner Slider → Add Banner Slider
URL /wp-admin/post-new.php?post_type=wpwbs
Aspect menu-item
HTTP status 200
Load time 0.295 s
Memory usage 3.48 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.187 s
Memory usage 3.46 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.202 s
Memory usage 3.46 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.212 s
Memory usage 3.39 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.253 s
Memory usage 5.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.379 s0.335 s-0.044 s3.44 MiB3.51 MiB+ 76.02 KiB
/wp-admin/edit.php0.285 s0.261 s-0.024 s3.46 MiB3.54 MiB+ 77.07 KiB
/wp-admin/post-new.php0.948 s0.834 s-0.114 s5.59 MiB5.67 MiB+ 81.02 KiB
/wp-admin/upload.php0.609 s0.449 s-0.160 s3.38 MiB3.44 MiB+ 59.72 KiB
/wp-admin/options-writing.php0.233 s0.199 s-0.034 s3.37 MiB3.42 MiB+ 51.94 KiB
/wp-admin/media-new.php0.315 s0.257 s-0.058 s3.35 MiB3.42 MiB+ 71.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.221 s+0.008 s3.37 MiB3.45 MiB+ 79.21 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.598 s-0.026 s5.59 MiB5.66 MiB+ 76.6 KiB
/wp-admin/options-discussion.php0.496 s0.286 s-0.210 s3.36 MiB3.42 MiB+ 61.72 KiB
/wp-admin/edit-comments.php0.253 s0.203 s-0.050 s3.39 MiB3.45 MiB+ 59.34 KiB
/0.326 s0.244 s-0.082 s3.42 MiB3.39 MiB- 25.11 KiB
Average 0.426 s0.353 s-0.072 s3.79 MiB3.85 MiB+ 60.85 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

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