WP Attention Click 1.0

Does WP Attention Click work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 160.21 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.155 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20+
WordPress.org page https://wordpress.org/plugins/wp-attention-click/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=wp-attention-click%2Fwp-click.php&plugin_status=all&paged=1&s&_wpnonce=67658878da
Aspect after-activation
HTTP status 200
Load time 0.584 s
Memory usage 3.54 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at factory (/wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=608:6514:5)\n    at /wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=608:6534:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → WP Attention Click

Page screenshot: Settings → WP Attention Click
URL /wp-admin/options-general.php?page=wp-click
Aspect menu-item
HTTP status 200
Load time 1.029 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at factory (/wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=568:6514:5)\n    at /wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=568:6534:3",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → WP Attention Click → Popup

Screenshot not available
URL /wp-admin/options-general.php?page=wp-click
Aspect menu-item-tab
HTTP status 200
Load time 0.704 s
Memory usage 3.51 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of undefined (reading 'fn')\n    at factory (/wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=226:6514:5)\n    at /wp-content/plugins/wp-attention-click/admin/framework/pixel//assets/js/pf-plugins.js?ver=226:6534:3",
        "trace": null,
        "code": null
    }
]
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.198 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.356 s0.790 s+0.434 s3.43 MiB3.61 MiB+ 182.61 KiB
/wp-admin/edit.php0.197 s0.415 s+0.218 s3.46 MiB3.68 MiB+ 229.88 KiB
/wp-admin/post-new.php0.840 s0.729 s-0.111 s5.59 MiB5.76 MiB+ 172.38 KiB
/wp-admin/upload.php0.537 s0.442 s-0.095 s3.38 MiB3.51 MiB+ 131.47 KiB
/wp-admin/options-writing.php0.209 s0.450 s+0.241 s3.37 MiB3.52 MiB+ 155.23 KiB
/wp-admin/media-new.php0.297 s0.597 s+0.300 s3.35 MiB3.51 MiB+ 161.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.396 s+0.211 s3.37 MiB3.56 MiB+ 200.88 KiB
/wp-admin/post-new.php?post_type=page0.523 s0.677 s+0.154 s5.58 MiB5.74 MiB+ 163.91 KiB
/wp-admin/options-discussion.php0.313 s0.434 s+0.121 s3.36 MiB3.51 MiB+ 155.15 KiB
/wp-admin/edit-comments.php0.247 s0.395 s+0.148 s3.39 MiB3.55 MiB+ 165.6 KiB
/0.278 s0.359 s+0.081 s3.42 MiB3.46 MiB+ 43.88 KiB
Average 0.362 s0.517 s+0.155 s3.79 MiB3.95 MiB+ 160.21 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP40.6%7,8752,78683
JavaScript37.7%7,3241,0185
CSS21.7%4,2191823
Total 19,418 3,986 91

PHP Code Analysis | More results »

Lines of code 7,354
Total complexity 1,696
Median class complexity 12.0
Median method complexity 2.0
Most complex class PF_classOptions
Most complex function PF_Field_styling::render()
Classes 67
Methods 274
Functions 42

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

PHP Error Log 23 lines

[17-Apr-2024 05:33:22 UTC] PHP Deprecated:  Optional parameter $type declared before required parameter $path is implicitly treated as a required parameter in /wp-content/plugins/wp-attention-click/admin/framework/pixel/classes/class-init.php on line 624
[17-Apr-2024 05:33:22 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ID (ID)
                    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_...' at line 18 for query CREATE TABLE wp_wpac_clicks (
                                ID int(11) NOT NULL AUTO_INCREMENT,
                                post_id int(15) NULL,
                                type_click CHAR(20) NOT NULL DEFAULT 'b', /* ← even if you add it here, it goes to the end of the table */
                                date_click datetime NOT NULL,
                                timestamp_click int(15) NOT NULL,
                                ip varchar(100) NULL,
                                la varchar(100) NULL,
                                lo varchar(100) NULL,
                                country varchar(100) NULL,
                                country_code varchar(100) NULL,
                                region varchar(100) NULL,
                                city varchar(100) NULL,
                                device varchar(10) NOT NULL,
                                url varchar(250) NOT NULL,
                                where_is varchar(30) NULL,
                                browser_details varchar(500) NULL
                            UNIQUE KEY ID (ID)
                    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, wpAttentionClick\Admin\wpacAdmin::admin_activated_plugin, wpAttentionClick\Core\wpacActivator::activate, wpAttentionClick\Core\wpacActivator::create_tables, dbDelta
[17-Apr-2024 05:33:22 UTC] WordPress database error Table 'wordpress.wp_wpac_clicks' doesn't exist for query SHOW COLUMNS FROM wp_wpac_clicks LIKE 'type_click' made by activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, wpAttentionClick\Admin\wpacAdmin::admin_activated_plugin, wpAttentionClick\Core\wpacActivator::activate, wpAttentionClick\Core\wpacActivator::create_tables
[17-Apr-2024 05:33:22 UTC] WordPress database error Table 'wordpress.wp_wpac_clicks' doesn't exist for query ALTER TABLE wp_wpac_clicks ADD type_click CHAR(20) NOT NULL DEFAULT 'b' made by activate_plugin, do_action('activated_plugin'), WP_Hook->do_action, WP_Hook->apply_filters, wpAttentionClick\Admin\wpacAdmin::admin_activated_plugin, wpAttentionClick\Core\wpacActivator::activate, wpAttentionClick\Core\wpacActivator::create_tables
See also: All tests for this plugin, How to Hide the "WP Attention Click" Admin Menu