BEAF - Ultimate Before After Image Slider & Gallery 4.5.0

Does "BEAF - Ultimate Before After Image Slider & Gallery" work with WordPress 6.4.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 231.92 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.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/beaf-before-and-after-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=beaf-before-and-after-gallery%2Fbefore-and-after-gallery.php&plugin_status=all&paged=1&s&_wpnonce=1023625d82
Aspect after-activation
HTTP status 200
Load time 0.467 s
Memory usage 3.57 MiB
JS errors
[
    {
        "message": "TypeError: $(...).sortable is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/beaf-before-and-after-gallery/assets/js/beaf-options.js:1070:32)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.4.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.4.2:2:27330)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Before and After Slider

Page screenshot: Before and After Slider
URL /wp-admin/edit.php?post_type=bafg
Aspect menu-item
HTTP status 200
Load time 0.519 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

Before and After Slider → Add New

Page screenshot: Before and After Slider → Add New
URL /wp-admin/post-new.php?post_type=bafg
Aspect menu-item
HTTP status 200
Load time 1.128 s
Memory usage 3.82 MiB
JS errors None
Resource errors None

Before and After Slider → Category

Page screenshot: Before and After Slider → Category
URL /wp-admin/edit-tags.php?taxonomy=bafg_gallery&post_type=bafg
Aspect menu-item
HTTP status 200
Load time 0.438 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Before and After Slider → Settings

Page screenshot: Before and After Slider → Settings
URL /wp-admin/edit.php?post_type=bafg&page=beaf_settings
Aspect menu-item
HTTP status 200
Load time 0.546 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Before and After Slider → Gallery Generator

Page screenshot: Before and After Slider → Gallery Generator
URL /wp-admin/edit.php?post_type=bafg&page=bafg_gallery
Aspect menu-item
HTTP status 200
Load time 0.283 s
Memory usage 3.6 MiB
JS errors
[
    {
        "message": "TypeError: $(...).sortable is not a function\n    at HTMLDocument.<anonymous> (/wp-content/plugins/beaf-before-and-after-gallery/assets/js/beaf-options.js:1070:32)\n    at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.4.2:2:27028)\n    at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.4.2:2:27330)",
        "trace": null,
        "code": null
    }
]
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.298 s
Memory usage 3.52 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.395 s
Memory usage 5.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.328 s0.400 s+0.072 s3.38 MiB3.61 MiB+ 237.37 KiB
/wp-admin/edit.php0.322 s0.248 s-0.074 s3.41 MiB3.64 MiB+ 239.73 KiB
/wp-admin/post-new.php0.854 s0.717 s-0.137 s5.46 MiB5.7 MiB+ 243.6 KiB
/wp-admin/upload.php0.802 s0.572 s-0.230 s3.32 MiB3.54 MiB+ 220.48 KiB
/wp-admin/options-writing.php0.224 s0.262 s+0.038 s3.32 MiB3.53 MiB+ 214.58 KiB
/wp-admin/media-new.php0.310 s0.309 s-0.001 s3.29 MiB3.53 MiB+ 239.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.243 s+0.026 s3.31 MiB3.56 MiB+ 256.56 KiB
/wp-admin/post-new.php?post_type=page0.769 s0.683 s-0.086 s5.45 MiB5.69 MiB+ 243.19 KiB
/wp-admin/options-discussion.php0.321 s0.303 s-0.018 s3.3 MiB3.54 MiB+ 245.76 KiB
/wp-admin/edit-comments.php0.256 s0.258 s+0.002 s3.33 MiB3.57 MiB+ 244.65 KiB
/0.284 s0.258 s-0.026 s3.36 MiB3.52 MiB+ 165.83 KiB
Average 0.426 s0.387 s-0.039 s3.72 MiB3.95 MiB+ 231.92 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.

PHP
CSS
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP56.7%13,4281,26252
CSS17.8%4,210234
Sass13.7%3,2424931
JavaScript10.5%2,4853325
Markdown1.1%25501
JSON0.2%5002
SVG0.0%101
Total 23,671 1,666 96

PHP Code Analysis | More results »

Lines of code 12,650
Total complexity 1,250
Median class complexity 11.0
Median method complexity 2.0
Most complex class Appsero\Insights
Most complex function TF_icon::remix_icon()
Classes 42
Methods 240
Functions 65

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 4

Custom Post Types 1

ID Name
bafgBefore and After Slider

Sidebar Widgets 1

ID Name
bafg_widgetBEAF Slider

Meta Boxes

{
    "bafg": {
        "bafg_shortcode_metabox": {
            "title": "Shortcode",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide BEAF - Ultimate Before After Image Slider & Gallery Admin Menus and Meta Boxes