Photo Gallery 1.7.4

Does Photo Gallery work with WordPress 6.0.2 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: 457.45 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.028 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0.2
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=89c1693c10
Aspect after-activation
HTTP status 200
Load time 0.678 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.638 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.268 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.182 s
Memory usage 4.12 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.895 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.284 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.389 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.216 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.567 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.077 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.334 s0.320 s-0.014 s3.72 MiB4.18 MiB+ 462.43 KiB
/wp-admin/edit.php0.178 s0.209 s+0.031 s3.76 MiB4.22 MiB+ 474.59 KiB
/wp-admin/post-new.php0.926 s1.243 s+0.317 s5.55 MiB6.06 MiB+ 524.55 KiB
/wp-admin/upload.php0.406 s0.519 s+0.113 s3.69 MiB4.15 MiB+ 478.93 KiB
/wp-admin/options-writing.php0.154 s0.181 s+0.027 s3.62 MiB4.08 MiB+ 475.35 KiB
/wp-admin/media-new.php0.361 s0.181 s-0.180 s3.66 MiB4.09 MiB+ 431.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.229 s0.207 s-0.022 s3.69 MiB4.13 MiB+ 447.94 KiB
/wp-admin/post-new.php?post_type=page1.003 s0.935 s-0.068 s5.54 MiB6.05 MiB+ 516.14 KiB
/wp-admin/options-discussion.php0.215 s0.260 s+0.045 s3.6 MiB4.1 MiB+ 512.24 KiB
/wp-admin/edit-comments.php0.217 s0.225 s+0.008 s3.7 MiB4.13 MiB+ 445.97 KiB
/0.290 s0.336 s+0.046 s3.6 MiB3.86 MiB+ 262.37 KiB
Average 0.392 s0.420 s+0.028 s4.01 MiB4.46 MiB+ 457.45 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,6293,57994
JavaScript8.1%18,4002,54721
CSS5.7%12,83326022
SVG0.6%1,3982123
Sass0.5%1,04901
Markdown0.0%9301
HTML0.0%2403
JSON0.0%501
INI0.0%201
Total 225,802 115,669 318

PHP Code Analysis | More results »

Lines of code 37,738
Total complexity 5,810
Median class complexity 27.5
Median method complexity 3.0
Most complex class OptionsView_bwg
Most complex function ThemesView_bwg::edit_body()
Classes 88
Methods 621
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