Modal Popup Box 1.3.1

Does Modal Popup Box work with WordPress 5.7.1 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: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.7.1
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=bd10f48f7e
Aspect after-activation
HTTP status 200
Load time 0.226 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.210 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.591 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.169 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.359 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.205 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.267 s0.485 s+0.218 s2.82 MiB2.86 MiB+ 37.14 KiB
/wp-admin/edit.php0.179 s0.217 s+0.038 s2.86 MiB2.9 MiB+ 37.51 KiB
/wp-admin/post-new.php0.906 s1.063 s+0.157 s5.02 MiB5.07 MiB+ 50.23 KiB
/wp-admin/upload.php0.499 s0.297 s-0.202 s2.7 MiB2.73 MiB+ 32.41 KiB
/wp-admin/options-writing.php0.220 s0.139 s-0.081 s2.71 MiB2.71 MiB+ 400 bytes
/wp-admin/media-new.php0.218 s0.183 s-0.035 s2.67 MiB2.7 MiB+ 32.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.258 s+0.080 s2.77 MiB2.8 MiB+ 33.49 KiB
/wp-admin/post-new.php?post_type=page1.089 s1.074 s-0.015 s5.01 MiB5.05 MiB+ 41.82 KiB
/wp-admin/options-discussion.php0.255 s0.273 s+0.018 s2.67 MiB2.71 MiB+ 32.9 KiB
/wp-admin/edit-comments.php0.219 s0.217 s-0.002 s2.78 MiB2.81 MiB+ 32.4 KiB
/0.270 s0.216 s-0.054 s2.65 MiB2.67 MiB+ 21.84 KiB
Average 0.391 s0.402 s+0.011 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

[16-Apr-2021 23:02:33 UTC] PHP Notice:  Undefined variable: columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 104
[16-Apr-2021 23:02:33 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