Image Gallery 1.2.2

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

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

Environment
WordPress version5.7.1
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=1f6e012955
Aspect after-activation
HTTP status 200
Load time 0.364 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.206 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.812 s
Memory usage 3.11 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.204 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.414 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.535 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.304 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.283 s0.430 s+0.147 s2.82 MiB2.87 MiB+ 48.3 KiB
/wp-admin/edit.php0.190 s0.220 s+0.030 s2.86 MiB2.91 MiB+ 48.67 KiB
/wp-admin/post-new.php0.992 s1.227 s+0.235 s5.02 MiB5.08 MiB+ 61.4 KiB
/wp-admin/upload.php0.487 s0.450 s-0.037 s2.7 MiB2.74 MiB+ 43.58 KiB
/wp-admin/options-writing.php0.159 s0.172 s+0.013 s2.71 MiB2.72 MiB+ 11.55 KiB
/wp-admin/media-new.php0.207 s0.209 s+0.002 s2.67 MiB2.72 MiB+ 43.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.250 s+0.053 s2.77 MiB2.81 MiB+ 44.66 KiB
/wp-admin/post-new.php?post_type=page0.992 s1.418 s+0.426 s5.01 MiB5.06 MiB+ 52.98 KiB
/wp-admin/options-discussion.php0.330 s0.214 s-0.116 s2.67 MiB2.72 MiB+ 44.06 KiB
/wp-admin/edit-comments.php0.257 s0.236 s-0.021 s2.78 MiB2.82 MiB+ 43.56 KiB
/0.283 s0.211 s-0.072 s2.71 MiB2.68 MiB- 24.81 KiB
Average 0.398 s0.458 s+0.060 s3.16 MiB3.19 MiB+ 37.97 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
CSS78.9%22,8551,90010
JavaScript9.9%2,8789895
SVG5.6%1,62803
PHP4.4%1,2651679
PO File1.1%3311702
Total 28,957 3,226 29

PHP Code Analysis | More results »

Lines of code 569
Total complexity 44
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

[16-Apr-2021 15:09:08 UTC] PHP Notice:  Undefined variable: columns in /wp-content/plugins/new-image-gallery/new-image-gallery.php on line 119
[16-Apr-2021 15:09:08 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
[16-Apr-2021 15:09:09 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
[16-Apr-2021 15:09:09 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
[16-Apr-2021 15:09:09 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
[16-Apr-2021 15:09:09 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