Draw Attention 2.0.17

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

Summary

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

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

Page speed impact: 0.032 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.4.2
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=c84b28a4c8
Aspect after-activation
HTTP status 200
Load time 0.364 s
Memory usage 3.68 MiB
JS errors None
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.718 s
Memory usage 3.95 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.234 s
Memory usage 3.47 MiB
JS errors None
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 3.791 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:1520: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.801 s
Memory usage 3.42 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.538 s
Memory usage 3.79 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.399 s0.536 s+0.137 s3.38 MiB3.54 MiB+ 166.63 KiB
/wp-admin/edit.php0.224 s0.270 s+0.046 s3.41 MiB3.56 MiB+ 163.14 KiB
/wp-admin/post-new.php0.992 s1.098 s+0.106 s5.46 MiB5.59 MiB+ 130.87 KiB
/wp-admin/upload.php0.563 s0.416 s-0.147 s3.32 MiB3.47 MiB+ 150.87 KiB
/wp-admin/options-writing.php0.236 s0.227 s-0.009 s3.32 MiB3.45 MiB+ 140.95 KiB
/wp-admin/media-new.php0.336 s0.659 s+0.323 s3.29 MiB3.45 MiB+ 161.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.216 s0.398 s+0.182 s3.31 MiB3.47 MiB+ 165.73 KiB
/wp-admin/post-new.php?post_type=page0.595 s0.638 s+0.043 s5.45 MiB5.58 MiB+ 130.5 KiB
/wp-admin/options-discussion.php0.544 s0.265 s-0.279 s3.3 MiB3.45 MiB+ 153.6 KiB
/wp-admin/edit-comments.php0.243 s0.234 s-0.009 s3.33 MiB3.48 MiB+ 149.63 KiB
/0.290 s0.252 s-0.038 s3.36 MiB3.42 MiB+ 69.19 KiB
Average 0.422 s0.454 s+0.032 s3.72 MiB3.86 MiB+ 143.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.

PHP
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP47.9%9,3197,04278
CSS29.3%5,6931,23312
JavaScript15.4%3,00270113
Markdown3.5%67602
PO File2.9%5623395
SVG0.8%15601
JSON0.2%4601
Ruby0.0%741
Total 19,461 9,319 113

PHP Code Analysis | More results »

Lines of code 9,004
Total complexity 2,139
Median class complexity 8.0
Median method complexity 2.0
Most complex class CMB2
Most complex function CMB2_Field_Display::get()
Classes 80
Methods 639
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