Draw Attention 2.0.3

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

Summary

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

Memory usage: 217.84 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.1.1
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=a9a2ebee86
Aspect after-activation
HTTP status 200
Load time 0.506 s
Memory usage 3.42 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.745 s
Memory usage 3.68 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.214 s
Memory usage 3.2 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 6.918 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.656 s
Memory usage 3.19 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.487 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.455 s+0.173 s3.05 MiB3.28 MiB+ 235.01 KiB
/wp-admin/edit.php0.171 s0.215 s+0.044 s3.07 MiB3.3 MiB+ 231.49 KiB
/wp-admin/post-new.php0.771 s0.978 s+0.207 s4.97 MiB5.15 MiB+ 187.54 KiB
/wp-admin/upload.php0.533 s0.304 s-0.229 s2.99 MiB3.2 MiB+ 214.18 KiB
/wp-admin/options-writing.php0.136 s0.154 s+0.018 s2.99 MiB3.19 MiB+ 202.67 KiB
/wp-admin/media-new.php0.482 s0.147 s-0.335 s2.97 MiB3.19 MiB+ 225.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.195 s+0.031 s2.98 MiB3.21 MiB+ 232.76 KiB
/wp-admin/post-new.php?post_type=page0.624 s0.633 s+0.009 s4.96 MiB5.14 MiB+ 182.23 KiB
/wp-admin/options-discussion.php0.201 s0.279 s+0.078 s2.98 MiB3.19 MiB+ 216.55 KiB
/wp-admin/edit-comments.php0.184 s0.214 s+0.030 s3 MiB3.21 MiB+ 216.7 KiB
/0.268 s0.214 s-0.054 s2.94 MiB3.19 MiB+ 251.44 KiB
Average 0.347 s0.344 s-0.003 s3.35 MiB3.57 MiB+ 217.84 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.

XML
PO File
PHP
Language % Lines of code Comment lines Files
XML50.6%47,75603
PO File22.4%21,08312,252100
PHP11.8%11,1527,44785
CSS6.0%5,6931,23312
JavaScript4.1%3,82576116
Sass3.7%3,4503330
Markdown0.9%80904
SVG0.2%15601
YAML0.2%14802
JSON0.1%13503
Bourne Shell0.1%6771
Ruby0.0%1382
Total 94,287 21,741 259

PHP Code Analysis | More results »

Lines of code 10,828
Total complexity 2,368
Median class complexity 8.0
Median method complexity 2.0
Most complex class CMB2
Most complex function CMB2_Field_Display::get()
Classes 90
Methods 781
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

[04-Jan-2023 22:21:45 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