su-gallery 1.4.1

Does su-gallery work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 22.02 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/su-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=su-gallery%2Fmain.php&plugin_status=all&paged=1&s&_wpnonce=0d71042cd2
Aspect after-activation
HTTP status 200
Load time 0.330 s
Memory usage 3.55 MiB
JS errors None
Resource errors None

Su-Gallery

Page screenshot: Su-Gallery
URL /wp-admin/edit.php?post_type=su_gallery
Aspect menu-item
HTTP status 200
Load time 0.196 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Su-Gallery → Add New Gallery

Page screenshot: Su-Gallery → Add New Gallery
URL /wp-admin/post-new.php?post_type=su_gallery
Aspect menu-item
HTTP status 200
Load time 0.267 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "TypeError: $ is not a function\n    at /wp-admin/post-new.php?post_type=su_gallery:408:3",
        "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.226 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.384 s0.311 s-0.073 s3.51 MiB3.53 MiB+ 28.19 KiB
/wp-admin/edit.php0.221 s0.227 s+0.006 s3.57 MiB3.6 MiB+ 27.65 KiB
/wp-admin/post-new.php0.861 s0.714 s-0.147 s6.06 MiB6.09 MiB+ 31.73 KiB
/wp-admin/upload.php0.787 s0.557 s-0.230 s3.52 MiB3.53 MiB+ 9.93 KiB
/wp-admin/options-writing.php0.237 s0.256 s+0.019 s3.5 MiB3.51 MiB+ 13.92 KiB
/wp-admin/media-new.php0.302 s0.257 s-0.045 s3.49 MiB3.51 MiB+ 22.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.207 s+0.006 s3.5 MiB3.54 MiB+ 33.1 KiB
/wp-admin/post-new.php?post_type=page0.776 s0.603 s-0.173 s6.05 MiB6.08 MiB+ 27.26 KiB
/wp-admin/options-discussion.php0.280 s0.277 s-0.003 s3.5 MiB3.51 MiB+ 11.05 KiB
/wp-admin/edit-comments.php0.471 s0.453 s-0.018 s3.52 MiB3.53 MiB+ 9.92 KiB
/0.316 s0.272 s-0.044 s3.43 MiB3.46 MiB+ 27.32 KiB
Average 0.440 s0.376 s-0.064 s3.97 MiB3.99 MiB+ 22.02 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
JavaScript
Language % Lines of code Comment lines Files
PHP79.2%225193
JavaScript14.4%4111
CSS6.3%1801
Total 284 20 5

PHP Code Analysis | More results »

Lines of code 225
Total complexity 30
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function su_get_gallery()
Classes 0
Methods 0
Functions 11

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.

Custom Post Types 1

ID Name
su_gallerySu-Gallery

Meta Boxes

{
    "su_gallery": {
        "meta-builder": {
            "title": "Others",
            "context": "normal"
        },
        "meta-shortcode": {
            "title": "Shortcode",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide su-gallery Admin Menus and Meta Boxes