Draw Attention 2.0.11

Does Draw Attention work with WordPress 6.2.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
No resource errors
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.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=8c4157e967
Aspect after-activation
HTTP status 200
Load time 0.295 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.592 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.175 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 5.965 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.663 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.502 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.703 s0.447 s-0.256 s3.07 MiB3.23 MiB+ 158.72 KiB
/wp-admin/edit.php0.165 s0.197 s+0.032 s3.1 MiB3.25 MiB+ 155.48 KiB
/wp-admin/post-new.php0.684 s0.917 s+0.233 s5.02 MiB5.13 MiB+ 113.92 KiB
/wp-admin/upload.php0.645 s0.300 s-0.345 s3.02 MiB3.15 MiB+ 137.89 KiB
/wp-admin/options-writing.php0.164 s0.138 s-0.026 s3.01 MiB3.14 MiB+ 126.49 KiB
/wp-admin/media-new.php0.239 s0.142 s-0.097 s2.99 MiB3.14 MiB+ 149.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.172 s+0.011 s3.01 MiB3.16 MiB+ 156.47 KiB
/wp-admin/post-new.php?post_type=page0.559 s0.591 s+0.032 s5.01 MiB5.12 MiB+ 108.62 KiB
/wp-admin/options-discussion.php0.201 s0.228 s+0.027 s3 MiB3.14 MiB+ 140.26 KiB
/wp-admin/edit-comments.php0.204 s0.176 s-0.028 s3.03 MiB3.16 MiB+ 140.41 KiB
/0.326 s0.178 s-0.148 s2.97 MiB3.14 MiB+ 174.78 KiB
Average 0.368 s0.317 s-0.051 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,2777,03978
CSS29.3%5,6931,23312
JavaScript15.5%3,00070113
Markdown3.5%67602
PO File2.9%5623395
SVG0.8%15601
JSON0.2%4601
Ruby0.0%741
Total 19,417 9,316 113

PHP Code Analysis | More results »

Lines of code 8,962
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

[20-May-2023 18:17:04 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