Draw Attention 1.9.17

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 303.88 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.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/draw-attention/
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=draw-attention%2Fdraw-attention.php&plugin_status=all&paged=1&s&_wpnonce=2b105c1ec4
Aspect after-activation
HTTP status 200
Load time 0.337 s
Memory usage 3.26 MiB
JS errors None
Resource errors None

Draw Attention

Page screenshot: Draw Attention
URL /wp-admin/post.php?post=34&action=edit
Requested URL /wp-admin/edit.php?post_type=da_image
Aspect menu-item
HTTP status 200
Load time 0.732 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Draw Attention → Import / Export

Page screenshot: Draw Attention → Import / Export
URL /wp-admin/edit.php?post_type=da_image&page=import_export
Aspect menu-item
HTTP status 200
Load time 0.186 s
Memory usage 3.06 MiB
JS errors None
Resource errors None

Draw Attention → Upgrade to Pro

Page screenshot: Draw Attention → Upgrade to Pro
URL https://wpdrawattention.com/
Requested URL /wp-admin/edit.php?post_type=da_image&page=da_upgrade_to_pro
Aspect menu-item
HTTP status 200
Load time 5.430 s
Memory usage N/A
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.496 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Edit Image ‹ Test site — WordPress

Page screenshot: Edit Image ‹ Test site — WordPress
URL /wp-admin/post.php?post=34&action=edit
Aspect new-meta-boxes
HTTP status 200
Load time 0.524 s
Memory usage 3.39 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.497 s+0.239 s2.82 MiB3.14 MiB+ 323.52 KiB
/wp-admin/edit.php0.179 s0.235 s+0.056 s2.86 MiB3.18 MiB+ 325.67 KiB
/wp-admin/post-new.php0.863 s0.969 s+0.106 s5.02 MiB5.31 MiB+ 288.01 KiB
/wp-admin/upload.php0.470 s0.259 s-0.211 s2.7 MiB3.01 MiB+ 324.8 KiB
/wp-admin/options-writing.php0.266 s0.158 s-0.108 s2.71 MiB2.99 MiB+ 289.13 KiB
/wp-admin/media-new.php0.214 s0.250 s+0.036 s2.67 MiB2.99 MiB+ 326.82 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.190 s-0.006 s2.77 MiB3.09 MiB+ 327.1 KiB
/wp-admin/post-new.php?post_type=page1.145 s0.697 s-0.448 s5.01 MiB5.29 MiB+ 283.02 KiB
/wp-admin/options-discussion.php0.297 s0.528 s+0.231 s2.68 MiB2.99 MiB+ 322.29 KiB
/wp-admin/edit-comments.php0.253 s0.220 s-0.033 s2.78 MiB3.09 MiB+ 321.78 KiB
/0.326 s0.210 s-0.116 s2.71 MiB2.91 MiB+ 210.55 KiB
Average 0.406 s0.383 s-0.023 s3.16 MiB3.45 MiB+ 303.88 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.

PO File
PHP
CSS
Language % Lines of code Comment lines Files
PO File47.9%21,08312,252100
PHP25.2%11,1027,44585
CSS10.7%4,7011,20212
JavaScript7.7%3,39774715
Sass5.8%2,5593127
Markdown1.8%80904
YAML0.3%14802
JSON0.3%13503
Bourne Shell0.2%6771
XML0.0%1501
Ruby0.0%1382
Total 44,029 21,692 252

PHP Code Analysis | More results »

Lines of code 10,787
Total complexity 2,363
Median class complexity 8.0
Median method complexity 2.0
Most complex class CMB2
Most complex function CMB2_Field_Display::get()
Classes 90
Methods 780
Functions 36

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 2

Custom Post Types 1

ID Name
da_imageDraw Attention

Meta Boxes

{
    "da_image": {
        "da_shortcode": {
            "title": "Copy Shortcode",
            "context": "side"
        },
        "da_theme_pack": {
            "title": "Apply Color Scheme",
            "context": "side"
        },
        "drag_to_upload": {
            "title": "Image",
            "context": "side"
        },
        "highlight_styling_metabox": {
            "title": "Highlight Styling",
            "context": "normal"
        },
        "moreinfo_metabox": {
            "title": "More Info Box Styling",
            "context": "normal"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Draw Attention Admin Menus and Meta Boxes