Image Gallery 1.2.1

Does New Image Gallery work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 43.04 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.7
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/new-image-gallery/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

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=new-image-gallery%2Fnew-image-gallery.php&plugin_status=all&paged=1&s&_wpnonce=e0a43b5a5e
Aspect after-activation
HTTP status 200
Load time 0.481 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

New Image Gallery

Page screenshot: New Image Gallery
URL /wp-admin/edit.php?post_type=image_gallery
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 2.86 MiB
JS errors None
Resource errors None

New Image Gallery → Add Image Gallery

Page screenshot: New Image Gallery → Add Image Gallery
URL /wp-admin/post-new.php?post_type=image_gallery
Aspect menu-item
HTTP status 200
Load time 0.676 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

New Image Gallery → Docs

Page screenshot: New Image Gallery → Docs
URL /wp-admin/edit.php?post_type=image_gallery&page=ig-sr-doc-page
Aspect menu-item
HTTP status 200
Load time 0.150 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

New Image Gallery → Our Theme

Page screenshot: New Image Gallery → Our Theme
URL /wp-admin/edit.php?post_type=image_gallery&page=ig-sr-theme-page
Aspect menu-item
HTTP status 200
Load time 0.379 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

New Image Gallery → Featured Plugins

Page screenshot: New Image Gallery → Featured Plugins
URL /wp-admin/edit.php?post_type=image_gallery&page=fp-page
Aspect menu-item
HTTP status 200
Load time 1.470 s
Memory usage 3.08 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.358 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.257 s0.371 s+0.114 s2.82 MiB2.87 MiB+ 48.3 KiB
/wp-admin/edit.php0.175 s0.249 s+0.074 s2.86 MiB2.91 MiB+ 48.67 KiB
/wp-admin/post-new.php0.911 s1.229 s+0.318 s5.02 MiB5.08 MiB+ 61.4 KiB
/wp-admin/upload.php0.494 s0.502 s+0.008 s2.7 MiB2.74 MiB+ 43.58 KiB
/wp-admin/options-writing.php0.140 s0.160 s+0.020 s2.71 MiB2.72 MiB+ 11.55 KiB
/wp-admin/media-new.php0.288 s0.177 s-0.111 s2.67 MiB2.72 MiB+ 43.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.197 s+0.010 s2.77 MiB2.81 MiB+ 44.66 KiB
/wp-admin/post-new.php?post_type=page1.112 s1.194 s+0.082 s5.01 MiB5.06 MiB+ 52.98 KiB
/wp-admin/options-discussion.php0.236 s0.190 s-0.046 s2.68 MiB2.72 MiB+ 44.06 KiB
/wp-admin/edit-comments.php0.205 s0.217 s+0.012 s2.78 MiB2.82 MiB+ 43.56 KiB
/0.265 s0.218 s-0.047 s2.65 MiB2.68 MiB+ 30.87 KiB
Average 0.388 s0.428 s+0.039 s3.15 MiB3.19 MiB+ 43.04 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.

CSS
JavaScript
Language % Lines of code Comment lines Files
CSS79.0%22,8551,90010
JavaScript9.9%2,8789895
SVG5.6%1,62803
PHP4.3%1,2431769
PO File1.1%3311702
Total 28,935 3,235 29

PHP Code Analysis | More results »

Lines of code 568
Total complexity 43
Median class complexity 25.0
Median method complexity 1.0
Most complex class New_Image_Gallery
Most complex function awl_image_gallery_shortcode()
Classes 1
Methods 20
Functions 2

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
image_galleryImage Gallery

Meta Boxes

{
    "image_gallery": {
        "1": {
            "title": "Copy Image Gallery Shortcode",
            "context": "side"
        },
        "Rate Our Plugin": {
            "title": "Rate Our Plugin",
            "context": "side"
        },
        "Add Image": {
            "title": "Add Image",
            "context": "normal"
        }
    }
}

PHP Error Log 6 lines

[11-Mar-2021 07:18:27 UTC] PHP Notice:  Undefined variable: columns in /wp-content/plugins/new-image-gallery/new-image-gallery.php on line 119
[11-Mar-2021 07:18:27 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/new-image-gallery/new-image-gallery.php on line 119
[11-Mar-2021 07:18:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/new-image-gallery/include/gallery-settings.php on line 15
[11-Mar-2021 07:18:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/new-image-gallery/include/gallery-settings.php on line 16
[11-Mar-2021 07:18:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/new-image-gallery/include/gallery-settings.php on line 17
[11-Mar-2021 07:18:28 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/new-image-gallery/include/gallery-settings.php on line 18
See also: All tests for this plugin, How to Hide Image Gallery Admin Menus and Meta Boxes