Draw Attention 2.0.25

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

Summary

Errors
No PHP errors, warnings or notices
3JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 154.61 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.5.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=f63fbb84a1
Aspect after-activation
HTTP status 200
Load time 0.419 s
Memory usage 3.75 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/draw-attention/public/assets/js/news-letter.js?ver=2.0.25:54:5)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Draw Attention

Page screenshot: Draw Attention
URL /wp-admin/post.php?post=39&action=edit
Requested URL /wp-admin/edit.php?post_type=da_image
Aspect menu-item
HTTP status 200
Load time 0.736 s
Memory usage 4.03 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.218 s
Memory usage 3.53 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/draw-attention/public/assets/js/news-letter.js?ver=2.0.25:54:5)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Draw Attention → Upgrade to Pro

Page screenshot: Draw Attention → Upgrade to Pro
URL https://wpdrawattention.com/?utm_source=plugin&utm_medium=ads&utm_campaign=upgrade-pro&utm_content=admin-menu
Requested URL /wp-admin/edit.php?post_type=da_image&page=da_upgrade_to_pro
Aspect menu-item
HTTP status 200
Load time 4.469 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: wp is not defined\n    at https://wpdrawattention.com/?utm_source=plugin&utm_medium=ads&utm_campaign=upgrade-pro&utm_content=admin-menu:1486:1",
        "trace": null,
        "code": null
    }
]
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.731 s
Memory usage 3.49 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=39&action=edit
Aspect new-meta-boxes
HTTP status 200
Load time 0.543 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.367 s0.490 s+0.123 s3.44 MiB3.6 MiB+ 172.68 KiB
/wp-admin/edit.php0.207 s0.246 s+0.039 s3.46 MiB3.63 MiB+ 168.34 KiB
/wp-admin/post-new.php0.875 s0.949 s+0.074 s5.59 MiB5.76 MiB+ 172.81 KiB
/wp-admin/upload.php0.650 s0.393 s-0.257 s3.38 MiB3.53 MiB+ 152.82 KiB
/wp-admin/options-writing.php0.213 s0.223 s+0.010 s3.37 MiB3.52 MiB+ 145.63 KiB
/wp-admin/media-new.php0.292 s0.221 s-0.071 s3.35 MiB3.51 MiB+ 164.12 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.201 s+0.018 s3.37 MiB3.54 MiB+ 171.34 KiB
/wp-admin/post-new.php?post_type=page0.598 s1.059 s+0.461 s5.59 MiB5.75 MiB+ 168.45 KiB
/wp-admin/options-discussion.php0.268 s0.251 s-0.017 s3.36 MiB3.51 MiB+ 156.07 KiB
/wp-admin/edit-comments.php0.495 s0.207 s-0.288 s3.39 MiB3.54 MiB+ 154.94 KiB
/0.318 s0.185 s-0.133 s3.42 MiB3.49 MiB+ 73.46 KiB
Average 0.406 s0.402 s-0.004 s3.79 MiB3.94 MiB+ 154.61 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP41.7%9,9947,06579
JavaScript26.8%6,43772614
CSS24.8%5,9441,23313
Markdown2.8%67602
PO File2.3%5623395
SVG1.3%30206
JSON0.2%5902
Ruby0.0%741
Total 23,981 9,367 122

PHP Code Analysis | More results »

Lines of code 9,670
Total complexity 2,154
Median class complexity 8.0
Median method complexity 2.0
Most complex class CMB2
Most complex function CMB2_Field_Display::get()
Classes 81
Methods 645
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"
        },
        "DrawAttention_Newsletter": {
            "title": "Newsletter",
            "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