Modal Popup Box 1.2.10

Does Modal Popup Box work with WordPress 5.6.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: 31.73 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.6.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=14d398eead
Aspect after-activation
HTTP status 200
Load time 0.223 s
Memory usage 2.71 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.168 s
Memory usage 2.81 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.572 s
Memory usage 2.99 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.465 s
Memory usage 3.03 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.392 s
Memory usage 2.73 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.252 s
Memory usage 2.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.258 s0.298 s+0.040 s2.79 MiB2.82 MiB+ 33.14 KiB
/wp-admin/edit.php0.178 s0.263 s+0.085 s2.84 MiB2.87 MiB+ 33.51 KiB
/wp-admin/post-new.php0.820 s0.840 s+0.020 s4.93 MiB4.98 MiB+ 46.23 KiB
/wp-admin/upload.php0.464 s0.426 s-0.038 s2.67 MiB2.7 MiB+ 32.41 KiB
/wp-admin/options-writing.php0.170 s0.165 s-0.005 s2.68 MiB2.68 MiB+ 400 bytes
/wp-admin/media-new.php0.225 s0.215 s-0.010 s2.65 MiB2.68 MiB+ 32.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.192 s0.189 s-0.003 s2.68 MiB2.78 MiB+ 97.49 KiB
/wp-admin/post-new.php?post_type=page1.117 s0.589 s-0.528 s4.92 MiB4.96 MiB+ 41.82 KiB
/wp-admin/options-discussion.php0.333 s0.215 s-0.118 s2.65 MiB2.68 MiB+ 32.9 KiB
/wp-admin/edit-comments.php0.227 s0.207 s-0.020 s2.75 MiB2.78 MiB+ 32.4 KiB
/0.251 s0.208 s-0.043 s2.67 MiB2.64 MiB- 33.84 KiB
Average 0.385 s0.329 s-0.056 s3.11 MiB3.14 MiB+ 31.73 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

[24-Feb-2021 06:12:25 UTC] PHP Notice:  Undefined variable: columns in /wp-content/plugins/modal-popup-box/modal-popup-box.php on line 104
[24-Feb-2021 06:12:25 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