Draw Attention 2.0.9

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

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
1Resource error (CSS, JS, images, fonts and so on.)
  • 1 net::ERR_CERT_DATE_INVALID
Performance

Memory usage: 142.01 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.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=c4a9921489
Aspect after-activation
HTTP status 200
Load time 0.324 s
Memory usage 3.37 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.832 s
Memory usage 3.63 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.194 s
Memory usage 3.15 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 7.157 s
Memory usage N/A
JS errors None
Resource errors
[
    {
        "status": null,
        "statusText": null,
        "url": "https://pixel.rubiconproject.com/tap.php?v=189868&nid=4106&expires=30&put=pa_eBWqgfDiFA3wRhPs4",
        "errorString": "net::ERR_CERT_DATE_INVALID"
    }
]

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.721 s
Memory usage 3.14 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.499 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.299 s0.465 s+0.166 s3.07 MiB3.23 MiB+ 158.72 KiB
/wp-admin/edit.php0.180 s0.228 s+0.048 s3.1 MiB3.25 MiB+ 155.45 KiB
/wp-admin/post-new.php0.757 s1.007 s+0.250 s5.02 MiB5.13 MiB+ 113.95 KiB
/wp-admin/upload.php0.558 s0.278 s-0.280 s3.02 MiB3.15 MiB+ 137.89 KiB
/wp-admin/options-writing.php0.211 s0.158 s-0.053 s3.01 MiB3.14 MiB+ 126.49 KiB
/wp-admin/media-new.php0.296 s0.192 s-0.104 s2.99 MiB3.14 MiB+ 149.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.202 s+0.016 s3.01 MiB3.16 MiB+ 156.47 KiB
/wp-admin/post-new.php?post_type=page0.612 s0.624 s+0.012 s5.01 MiB5.12 MiB+ 108.65 KiB
/wp-admin/options-discussion.php0.219 s0.278 s+0.059 s3 MiB3.14 MiB+ 140.23 KiB
/wp-admin/edit-comments.php0.215 s0.210 s-0.005 s3.03 MiB3.16 MiB+ 140.41 KiB
/0.297 s0.206 s-0.091 s2.97 MiB3.14 MiB+ 174.78 KiB
Average 0.348 s0.350 s+0.002 s3.38 MiB3.52 MiB+ 142.01 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.8%9,2767,03978
CSS29.4%5,6931,23312
JavaScript15.4%2,98070013
Markdown3.5%67602
PO File2.9%5623395
SVG0.8%15601
JSON0.2%4601
Ruby0.0%741
Total 19,396 9,315 113

PHP Code Analysis | More results »

Lines of code 8,961
Total complexity 2,129
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 1 lines

[11-Apr-2023 09:09:28 UTC] PHP Deprecated:  Optional parameter $args declared before required parameter $i is implicitly treated as a required parameter in /wp-content/plugins/draw-attention/public/includes/lib/CMB2/includes/types/CMB2_Type_Multi_Base.php on line 34
See also: All tests for this plugin, How to Hide Draw Attention Admin Menus and Meta Boxes