MDirector Newsletter 4.2.5

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

Summary

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

Memory usage: 300.24 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 version6.0.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=843041553e
Aspect after-activation
HTTP status 200
Load time 0.535 s
Memory usage 4.29 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.177 s
Memory usage 4.04 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.152 s
Memory usage 4.05 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.225 s
Memory usage 5.47 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 0.657 s
Memory usage 5.96 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 0.657 s
Memory usage 5.94 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 1.547 s
Memory usage 5.79 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.291 s0.277 s-0.014 s3.72 MiB3.99 MiB+ 269.59 KiB
/wp-admin/edit.php0.164 s0.184 s+0.020 s3.76 MiB4.02 MiB+ 269.49 KiB
/wp-admin/post-new.php0.691 s0.864 s+0.173 s5.55 MiB5.96 MiB+ 417.38 KiB
/wp-admin/upload.php0.483 s0.323 s-0.160 s3.69 MiB3.95 MiB+ 268.77 KiB
/wp-admin/options-writing.php0.249 s0.137 s-0.112 s3.62 MiB3.92 MiB+ 313.62 KiB
/wp-admin/media-new.php0.289 s0.203 s-0.086 s3.66 MiB3.93 MiB+ 269.26 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.344 s+0.170 s3.69 MiB3.95 MiB+ 269.85 KiB
/wp-admin/post-new.php?post_type=page0.547 s0.632 s+0.085 s5.54 MiB5.94 MiB+ 408.97 KiB
/wp-admin/options-discussion.php0.198 s0.206 s+0.008 s3.6 MiB3.92 MiB+ 334.2 KiB
/wp-admin/edit-comments.php0.192 s0.196 s+0.004 s3.7 MiB3.96 MiB+ 269.22 KiB
/0.267 s0.199 s-0.068 s3.6 MiB3.81 MiB+ 212.33 KiB
Average 0.322 s0.324 s+0.002 s4.01 MiB4.3 MiB+ 300.24 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
PHP59.4%9,7684,33848
PO File12.7%2,08409
Twig7.5%1,24003
Oracle PL/SQL7.1%1,16612733
JavaScript4.7%7781313
CSS4.2%69332
SQL2.6%42924
HTML1.5%24732
Markdown0.1%2301
JSON0.1%1001
Total 16,438 4,604 106

PHP Code Analysis | More results »

Lines of code 9,756
Total complexity 1,789
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 605
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": "MDSCHEDULER__TITLE",
            "context": "side"
        }
    },
    "page": {
        "mdirector_scheduler_delivery_id": {
            "title": "MDSCHEDULER__TITLE",
            "context": "side"
        }
    }
}

PHP Error Log 10 lines

[29-Sep-2022 11:17:24 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
[29-Sep-2022 11:17:24 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
[29-Sep-2022 11:17:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 968
[29-Sep-2022 11:17:29 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 818
[29-Sep-2022 11:17:32 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 968
[29-Sep-2022 11:17:32 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 818
[29-Sep-2022 11:17:35 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 968
[29-Sep-2022 11:17:35 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 818
[29-Sep-2022 11:17:37 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 968
[29-Sep-2022 11:17:37 UTC] PHP Warning:  Invalid argument supplied for foreach() in /wp-content/plugins/mdirector-newsletter/includes/class-mdirector-newsletter-utils.php on line 818
See also: All tests for this plugin, How to Hide MDirector Newsletter Admin Menus and Meta Boxes