Draw Attention 2.0.8

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
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
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=7be927a549
Aspect after-activation
HTTP status 200
Load time 0.315 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.727 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.221 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 6.293 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.783 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.527 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.512 s+0.208 s3.07 MiB3.23 MiB+ 158.72 KiB
/wp-admin/edit.php0.206 s0.241 s+0.035 s3.1 MiB3.25 MiB+ 155.45 KiB
/wp-admin/post-new.php0.836 s1.064 s+0.228 s5.02 MiB5.13 MiB+ 113.95 KiB
/wp-admin/upload.php0.619 s0.282 s-0.337 s3.02 MiB3.15 MiB+ 137.88 KiB
/wp-admin/options-writing.php0.416 s0.170 s-0.246 s3.01 MiB3.14 MiB+ 126.49 KiB
/wp-admin/media-new.php0.314 s0.209 s-0.105 s2.99 MiB3.14 MiB+ 149.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.231 s+0.037 s3.01 MiB3.16 MiB+ 156.47 KiB
/wp-admin/post-new.php?post_type=page0.648 s0.945 s+0.297 s5.01 MiB5.12 MiB+ 108.65 KiB
/wp-admin/options-discussion.php0.207 s0.299 s+0.092 s3 MiB3.14 MiB+ 140.23 KiB
/wp-admin/edit-comments.php0.290 s0.223 s-0.067 s3.03 MiB3.16 MiB+ 140.41 KiB
/0.334 s0.244 s-0.090 s2.97 MiB3.14 MiB+ 174.78 KiB
Average 0.397 s0.402 s+0.005 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

[30-Mar-2023 19:11:18 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