Image Gallery 1.2.3

Does New Image Gallery work with WordPress 5.7.2 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: 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 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=8e4f0a0fc1
Aspect after-activation
HTTP status 200
Load time 0.367 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.770 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.206 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.432 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.546 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.310 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.293 s0.400 s+0.107 s2.82 MiB2.87 MiB+ 48.3 KiB
/wp-admin/edit.php0.200 s0.197 s-0.003 s2.86 MiB2.91 MiB+ 48.67 KiB
/wp-admin/post-new.php1.590 s1.189 s-0.401 s5.02 MiB5.08 MiB+ 61.4 KiB
/wp-admin/upload.php0.540 s0.451 s-0.089 s2.7 MiB2.74 MiB+ 43.58 KiB
/wp-admin/options-writing.php0.174 s0.182 s+0.008 s2.71 MiB2.72 MiB+ 11.55 KiB
/wp-admin/media-new.php0.243 s0.200 s-0.043 s2.67 MiB2.72 MiB+ 43.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.236 s+0.023 s2.77 MiB2.81 MiB+ 44.66 KiB
/wp-admin/post-new.php?post_type=page1.131 s1.383 s+0.252 s5.01 MiB5.06 MiB+ 52.98 KiB
/wp-admin/options-discussion.php0.322 s0.238 s-0.084 s2.68 MiB2.72 MiB+ 44.06 KiB
/wp-admin/edit-comments.php0.268 s0.256 s-0.012 s2.78 MiB2.82 MiB+ 43.56 KiB
/0.271 s0.230 s-0.041 s2.65 MiB2.68 MiB+ 30.87 KiB
Average 0.477 s0.451 s-0.026 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
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

[14-May-2021 11:38:10 UTC] PHP Notice:  Undefined variable: columns in /wp-content/plugins/new-image-gallery/new-image-gallery.php on line 119
[14-May-2021 11:38:10 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
[14-May-2021 11:38:10 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
[14-May-2021 11:38:10 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
[14-May-2021 11:38:10 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
[14-May-2021 11:38:10 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