MDirector Newsletter 4.0.2

Does MDirector Newsletter work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
8PHP warnings
1PHP notices
2PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 318.77 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.020 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 50+
WordPress.org page https://wordpress.org/plugins/mdirector-newsletter/
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=mdirector-newsletter%2Fmdirector-newsletter.php&plugin_status=all&paged=1&s&_wpnonce=ec9369c836
Aspect after-activation
HTTP status 200
Load time 0.539 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

MDirector

Page screenshot: MDirector
URL /wp-admin/admin.php?page=mdirector-newsletter
Aspect menu-item
HTTP status 200
Load time 0.335 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

MDirector → CONFIGURATION

Page screenshot: MDirector → CONFIGURATION
URL /wp-admin/admin.php?page=mdirector-newsletter&tab=settings
Aspect menu-item-tab
HTTP status 200
Load time 0.162 s
Memory usage 3.45 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.282 s
Memory usage 4.59 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 1.872 s
Memory usage 5.5 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.408 s
Memory usage 5.48 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 0.953 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.278 s0.304 s+0.026 s2.82 MiB3.07 MiB+ 260.23 KiB
/wp-admin/edit.php0.312 s0.216 s-0.096 s2.86 MiB3.12 MiB+ 258.95 KiB
/wp-admin/post-new.php1.432 s1.463 s+0.031 s5.02 MiB5.5 MiB+ 482.84 KiB
/wp-admin/upload.php0.533 s0.395 s-0.138 s2.7 MiB3.01 MiB+ 322.23 KiB
/wp-admin/options-writing.php0.248 s0.245 s-0.003 s2.71 MiB2.99 MiB+ 289.27 KiB
/wp-admin/media-new.php0.232 s0.189 s-0.043 s2.67 MiB2.99 MiB+ 322.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.221 s0.212 s-0.009 s2.77 MiB3.02 MiB+ 260.55 KiB
/wp-admin/post-new.php?post_type=page0.784 s1.096 s+0.312 s5.01 MiB5.48 MiB+ 478.42 KiB
/wp-admin/options-discussion.php0.222 s0.359 s+0.137 s2.67 MiB2.99 MiB+ 321.77 KiB
/wp-admin/edit-comments.php0.232 s0.300 s+0.068 s2.78 MiB3.03 MiB+ 257.94 KiB
/0.328 s0.266 s-0.062 s2.65 MiB2.9 MiB+ 251.88 KiB
Average 0.438 s0.459 s+0.020 s3.15 MiB3.46 MiB+ 318.77 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.

PHP
PO File
Language % Lines of code Comment lines Files
PHP60.4%9,6334,36948
PO File11.1%1,76204
Twig7.6%1,21803
Oracle PL/SQL7.3%1,16612733
JavaScript4.9%7761313
CSS4.3%68132
SQL2.7%42924
HTML1.5%24732
Markdown0.1%2301
JSON0.1%1001
Total 15,945 4,635 101

PHP Code Analysis | More results »

Lines of code 9,621
Total complexity 1,725
Median class complexity 18.0
Median method complexity 1.0
Most complex class MDirectorNewsletter\includes\Mdirector_Newsletter_Utils
Most complex function MDOAuthStorePostgreSQL::updateConsumer()
Classes 42
Methods 600
Functions 11

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.

Options wp_options 3

Sidebar Widgets 1

ID Name
mdirectorwidgetMDirector Widget

Meta Boxes

{
    "post": {
        "mdirector_scheduler_delivery_id": {
            "title": "Programador MDirector",
            "context": "side"
        }
    },
    "page": {
        "mdirector_scheduler_delivery_id": {
            "title": "Programador MDirector",
            "context": "side"
        }
    }
}

PHP Error Log 11 lines

[08-Jul-2021 09:11:35 UTC] PHP Deprecated:  Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /wp-content/plugins/mdirector-newsletter/vendor/twig/twig/lib/Twig/Node.php on line 42
[08-Jul-2021 09:11:35 UTC] PHP Deprecated:  Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /wp-content/plugins/mdirector-newsletter/vendor/twig/twig/lib/Twig/Node.php on line 198
[08-Jul-2021 09:11:39 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 994
[08-Jul-2021 09:11:39 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 839
[08-Jul-2021 09:11:42 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 994
[08-Jul-2021 09:11:42 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 839
[08-Jul-2021 09:11:47 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 994
[08-Jul-2021 09:11:47 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 839
[08-Jul-2021 09:11:50 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 994
[08-Jul-2021 09:11:50 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 839
[08-Jul-2021 09:11:51 UTC] PHP Notice:  Undefined index: description in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-widget.php on line 26
See also: All tests for this plugin, How to Hide MDirector Newsletter Admin Menus and Meta Boxes