Photo Gallery 1.7.0

Does Photo Gallery work with WordPress 6.0.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 456.83 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.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/photo-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 10

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=photo-gallery%2Fphoto-gallery.php&plugin_status=all&paged=1&s&_wpnonce=9f7f681be9
Aspect after-activation
HTTP status 200
Load time 0.732 s
Memory usage 4.18 MiB
JS errors None
Resource errors None

Photo Gallery

Page screenshot: Photo Gallery
URL /wp-admin/admin.php?page=galleries_bwg
Aspect menu-item
HTTP status 200
Load time 0.662 s
Memory usage 5.11 MiB
JS errors None
Resource errors None

Photo Gallery → Gallery Groups

Page screenshot: Photo Gallery → Gallery Groups
URL /wp-admin/admin.php?page=albums_bwg
Aspect menu-item
HTTP status 200
Load time 0.275 s
Memory usage 4.35 MiB
JS errors None
Resource errors None

Photo Gallery → Tags

Page screenshot: Photo Gallery → Tags
URL /wp-admin/edit-tags.php?taxonomy=bwg_tag
Aspect menu-item
HTTP status 200
Load time 0.188 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Photo Gallery → Global Settings

Page screenshot: Photo Gallery → Global Settings
URL /wp-admin/admin.php?page=options_bwg
Aspect menu-item
HTTP status 200
Load time 0.908 s
Memory usage 6.6 MiB
JS errors None
Resource errors None

Photo Gallery → Speed Optimization

Page screenshot: Photo Gallery → Speed Optimization
URL /wp-admin/admin.php?page=speed_bwg
Aspect menu-item
HTTP status 200
Load time 0.415 s
Memory usage 4.16 MiB
JS errors None
Resource errors None

Photo Gallery → Themes

Page screenshot: Photo Gallery → Themes
URL /wp-admin/admin.php?page=themes_bwg
Aspect menu-item
HTTP status 200
Load time 0.308 s
Memory usage 5.88 MiB
JS errors None
Resource errors None

Photo Gallery → Add-ons

Page screenshot: Photo Gallery → Add-ons
URL /wp-admin/admin.php?page=addons_bwg
Aspect menu-item
HTTP status 200
Load time 0.222 s
Memory usage 4.13 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.603 s
Memory usage 3.86 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 6.03 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.339 s-0.006 s3.72 MiB4.17 MiB+ 461.8 KiB
/wp-admin/edit.php0.186 s0.221 s+0.035 s3.75 MiB4.22 MiB+ 473.97 KiB
/wp-admin/post-new.php0.993 s1.426 s+0.433 s5.55 MiB6.06 MiB+ 523.93 KiB
/wp-admin/upload.php0.448 s0.540 s+0.092 s3.68 MiB4.15 MiB+ 478.3 KiB
/wp-admin/options-writing.php0.161 s0.166 s+0.005 s3.62 MiB4.08 MiB+ 474.73 KiB
/wp-admin/media-new.php0.418 s0.207 s-0.211 s3.66 MiB4.08 MiB+ 430.79 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.207 s-0.011 s3.69 MiB4.12 MiB+ 447.31 KiB
/wp-admin/post-new.php?post_type=page1.032 s0.973 s-0.059 s5.54 MiB6.04 MiB+ 515.52 KiB
/wp-admin/options-discussion.php0.230 s0.233 s+0.003 s3.6 MiB4.1 MiB+ 511.62 KiB
/wp-admin/edit-comments.php0.242 s0.302 s+0.060 s3.69 MiB4.13 MiB+ 445.34 KiB
/1.025 s0.400 s-0.625 s3.6 MiB3.86 MiB+ 261.87 KiB
Average 0.482 s0.456 s-0.026 s4.01 MiB4.46 MiB+ 456.83 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.

PO File
PHP
JavaScript
Language % Lines of code Comment lines Files
PO File68.4%154,369109,28151
PHP16.7%37,5803,55894
JavaScript8.1%18,3312,54621
CSS5.7%12,82626022
SVG0.6%1,3982123
Sass0.5%1,04901
Markdown0.0%9301
HTML0.0%2403
JSON0.0%501
INI0.0%201
Total 225,677 115,647 318

PHP Code Analysis | More results »

Lines of code 37,690
Total complexity 5,792
Median class complexity 26.5
Median method complexity 3.0
Most complex class OptionsView_bwg
Most complex function ThemesView_bwg::edit_body()
Classes 88
Methods 619
Functions 8

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.

Database Tables 10

Options wp_options 5

User Metadata wp_usermeta 1

Custom Post Types 4

ID Name
bwg_galleryGalleries
bwg_albumAlbums
bwg_tagGallery tags
bwg_shareGallery Share

Sidebar Widgets 2

ID Name
bwp_galleryPhoto Gallery Widget
bwp_gallery_slideshowPhoto Gallery Slideshow

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Photo Gallery Admin Menus