WP Books Gallery 2.2

Does WP Books Gallery work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
11PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 60.26 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 version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 3,000+
WordPress.org page https://wordpress.org/plugins/wp-books-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 13

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=wp-books-gallery%2Fwp-books-gallery.php&plugin_status=all&paged=1&s&_wpnonce=e04203def1
Aspect after-activation
HTTP status 200
Load time 0.403 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

WBG Books

Page screenshot: WBG Books
URL /wp-admin/edit.php?post_type=books
Aspect menu-item
HTTP status 200
Load time 0.211 s
Memory usage 2.88 MiB
JS errors None
Resource errors None

WBG Books → Add New

Page screenshot: WBG Books → Add New
URL /wp-admin/post-new.php?post_type=books
Aspect menu-item
HTTP status 200
Load time 1.011 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

WBG Books → Categories

Page screenshot: WBG Books → Categories
URL /wp-admin/edit-tags.php?taxonomy=category&post_type=books
Aspect menu-item
HTTP status 200
Load time 0.221 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

WBG Books → Tags

Page screenshot: WBG Books → Tags
URL /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=books
Aspect menu-item
HTTP status 200
Load time 0.183 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

WBG Books → Book Categories

Page screenshot: WBG Books → Book Categories
URL /wp-admin/edit-tags.php?taxonomy=book_category&post_type=books
Aspect menu-item
HTTP status 200
Load time 0.223 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

WBG Books → Gallery Settings

Page screenshot: WBG Books → Gallery Settings
URL /wp-admin/edit.php?post_type=books&page=wbg-general-settings
Aspect menu-item
HTTP status 200
Load time 0.815 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

WBG Books → Gallery Settings → Styles Settings

Page screenshot: WBG Books → Gallery Settings → Styles Settings
URL /wp-admin/edit.php?post_type=books&page=wbg-general-settings&tab=styles
Aspect menu-item-tab
HTTP status 200
Load time 0.729 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

WBG Books → Book Detail Settings

Page screenshot: WBG Books → Book Detail Settings
URL /wp-admin/edit.php?post_type=books&page=wbg-details-settings
Aspect menu-item
HTTP status 200
Load time 0.199 s
Memory usage 2.9 MiB
JS errors None
Resource errors None

WBG Books → Search Panel Settings

Page screenshot: WBG Books → Search Panel Settings
URL /wp-admin/edit.php?post_type=books&page=wbg-search-panel-settings
Aspect menu-item
HTTP status 200
Load time 0.448 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

WBG Books → Search Panel Settings → Styles Settings

Page screenshot: WBG Books → Search Panel Settings → Styles Settings
URL /wp-admin/edit.php?post_type=books&page=wbg-search-panel-settings&tab=styles
Aspect menu-item-tab
HTTP status 200
Load time 0.377 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

WBG Books → Help & Usage

Page screenshot: WBG Books → Help & Usage
URL /wp-admin/edit.php?post_type=books&page=wbg-get-help
Aspect menu-item
HTTP status 200
Load time 0.480 s
Memory usage 2.77 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.265 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.268 s0.428 s+0.160 s2.82 MiB2.89 MiB+ 67.15 KiB
/wp-admin/edit.php0.180 s0.304 s+0.124 s2.86 MiB2.93 MiB+ 68.66 KiB
/wp-admin/post-new.php0.999 s1.218 s+0.219 s5.02 MiB5.1 MiB+ 73.77 KiB
/wp-admin/upload.php0.496 s0.468 s-0.028 s2.7 MiB2.75 MiB+ 57.79 KiB
/wp-admin/options-writing.php0.145 s0.182 s+0.037 s2.71 MiB2.74 MiB+ 30.14 KiB
/wp-admin/media-new.php0.224 s0.396 s+0.172 s2.67 MiB2.73 MiB+ 61.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.202 s+0.008 s2.77 MiB2.83 MiB+ 62.3 KiB
/wp-admin/post-new.php?post_type=page1.195 s0.719 s-0.476 s5.01 MiB5.07 MiB+ 65.36 KiB
/wp-admin/options-discussion.php0.286 s0.250 s-0.036 s2.67 MiB2.74 MiB+ 62.65 KiB
/wp-admin/edit-comments.php0.240 s0.224 s-0.016 s2.78 MiB2.84 MiB+ 61.47 KiB
/0.252 s0.215 s-0.037 s2.65 MiB2.7 MiB+ 52.2 KiB
Average 0.407 s0.419 s+0.012 s3.15 MiB3.21 MiB+ 60.26 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
PO File
CSS
Language % Lines of code Comment lines Files
PHP69.6%2,1358617
PO File15.8%4842672
CSS13.9%427152
JavaScript0.7%2322
Total 3,069 370 23

PHP Code Analysis | More results »

Lines of code 450
Total complexity 95
Median class complexity 9.0
Median method complexity 1.0
Most complex class WBG_Admin
Most complex function WBG_Admin::wbg_save_book_meta()
Classes 4
Methods 32
Functions 5

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
booksBooks

Meta Boxes

{
    "books": {
        "wbg_book_details_link": {
            "title": "Book Information",
            "context": "normal"
        }
    }
}

PHP Error Log 11 lines

[15-May-2021 13:47:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/partial/wbg-general-settings-content.php on line 81
[15-May-2021 13:47:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/partial/wbg-general-settings-content.php on line 105
[15-May-2021 13:47:44 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/partial/wbg-general-settings-content.php on line 121
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 74
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 81
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 89
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 98
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 106
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 115
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 123
[15-May-2021 13:47:46 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/wp-books-gallery/admin/view/wbg-details-settings.php on line 130
See also: All tests for this plugin, How to Hide WordPress Books Gallery Admin Menus and Meta Boxes