Modal Popup Box 1.3.2

Does Modal Popup Box work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 32.07 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.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 2,000+
WordPress.org page https://wordpress.org/plugins/modal-popup-box/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=modal-popup-box%2Fmodal-popup-box.php&plugin_status=all&paged=1&s&_wpnonce=15364395f6
Aspect after-activation
HTTP status 200
Load time 0.229 s
Memory usage 2.81 MiB
JS errors None
Resource errors None

Modal Popup Box

Page screenshot: Modal Popup Box
URL /wp-admin/edit.php?post_type=modalpopupbox
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 2.85 MiB
JS errors None
Resource errors None

Modal Popup Box → Add New

Page screenshot: Modal Popup Box → Add New
URL /wp-admin/post-new.php?post_type=modalpopupbox
Aspect menu-item
HTTP status 200
Load time 1.609 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Modal Popup Box → Featured Plugin

Page screenshot: Modal Popup Box → Featured Plugin
URL /wp-admin/edit.php?post_type=modalpopupbox&page=sr-featured-plugin-page
Aspect menu-item
HTTP status 200
Load time 1.210 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Modal Popup Box → Our Theme

Page screenshot: Modal Popup Box → Our Theme
URL /wp-admin/edit.php?post_type=modalpopupbox&page=sr-theme-page
Aspect menu-item
HTTP status 200
Load time 0.368 s
Memory usage 2.76 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.239 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.279 s0.522 s+0.243 s2.82 MiB2.86 MiB+ 37.14 KiB
/wp-admin/edit.php0.179 s0.199 s+0.020 s2.86 MiB2.9 MiB+ 37.51 KiB
/wp-admin/post-new.php0.896 s1.172 s+0.276 s5.02 MiB5.07 MiB+ 50.23 KiB
/wp-admin/upload.php0.500 s0.517 s+0.017 s2.7 MiB2.73 MiB+ 32.41 KiB
/wp-admin/options-writing.php0.208 s0.182 s-0.026 s2.71 MiB2.71 MiB+ 400 bytes
/wp-admin/media-new.php0.221 s0.176 s-0.045 s2.67 MiB2.7 MiB+ 32.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.185 s+0.001 s2.77 MiB2.8 MiB+ 33.49 KiB
/wp-admin/post-new.php?post_type=page1.140 s1.091 s-0.049 s5.01 MiB5.05 MiB+ 41.82 KiB
/wp-admin/options-discussion.php0.250 s0.280 s+0.030 s2.68 MiB2.71 MiB+ 32.9 KiB
/wp-admin/edit-comments.php0.226 s0.213 s-0.013 s2.78 MiB2.81 MiB+ 32.4 KiB
/0.244 s0.215 s-0.029 s2.65 MiB2.67 MiB+ 21.84 KiB
Average 0.393 s0.432 s+0.039 s3.15 MiB3.18 MiB+ 32.07 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
CSS67.7%18,08959210
JavaScript20.9%5,5852507
SVG6.1%1,62803
PHP4.4%1,1811027
PO File0.9%2281081
Total 26,711 1,052 28

PHP Code Analysis | More results »

Lines of code 587
Total complexity 38
Median class complexity 22.0
Median method complexity 1.0
Most complex class Modal_Popup_Box
Most complex function awl_modal_popup_box_shortcode()
Classes 1
Methods 16
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
modalpopupboxModal Popup Box

Meta Boxes

{
    "modalpopupbox": {
        "1": {
            "title": "Copy Modal Popup Shortcode",
            "context": "side"
        },
        "Rate Our Plugin": {
            "title": "Rate Our Plugin",
            "context": "side"
        },
        "Modal Box Settings": {
            "title": "Modal Box Settings",
            "context": "normal"
        }
    }
}

PHP Error Log 2 lines

[14-May-2021 19:31:39 UTC] PHP Notice:  Undefined variable: columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 104
[14-May-2021 19:31:39 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 104
See also: All tests for this plugin, How to Hide Modal Popup Box Admin Menus and Meta Boxes