Draw Attention 2.0.7

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: 141.07 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=3519d35310
Aspect after-activation
HTTP status 200
Load time 0.304 s
Memory usage 3.35 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.706 s
Memory usage 3.61 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.195 s
Memory usage 3.13 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 5.599 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.742 s
Memory usage 3.11 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.444 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.253 s0.404 s+0.151 s3.05 MiB3.2 MiB+ 158.41 KiB
/wp-admin/edit.php0.161 s0.192 s+0.031 s3.07 MiB3.23 MiB+ 154.52 KiB
/wp-admin/post-new.php0.712 s0.932 s+0.220 s4.97 MiB5.07 MiB+ 110.56 KiB
/wp-admin/upload.php0.812 s0.230 s-0.582 s2.99 MiB3.13 MiB+ 137.58 KiB
/wp-admin/options-writing.php0.152 s0.137 s-0.015 s2.99 MiB3.11 MiB+ 126.07 KiB
/wp-admin/media-new.php0.251 s0.174 s-0.077 s2.97 MiB3.11 MiB+ 148.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.159 s0.175 s+0.016 s2.98 MiB3.13 MiB+ 156.16 KiB
/wp-admin/post-new.php?post_type=page0.555 s0.567 s+0.012 s4.96 MiB5.06 MiB+ 105.26 KiB
/wp-admin/options-discussion.php0.189 s0.265 s+0.076 s2.97 MiB3.11 MiB+ 139.95 KiB
/wp-admin/edit-comments.php0.178 s0.183 s+0.005 s3 MiB3.14 MiB+ 140.09 KiB
/0.242 s0.194 s-0.048 s2.94 MiB3.11 MiB+ 174.47 KiB
Average 0.333 s0.314 s-0.019 s3.35 MiB3.49 MiB+ 141.07 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

[28-Mar-2023 19:17:09 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