Microsoft Clarity 0.2

Does Microsoft Clarity work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
14PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 15.96 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 version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/microsoft-clarity/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=microsoft-clarity%2Fclarity.php&plugin_status=all&paged=1&s&_wpnonce=1d85579d6d
Aspect after-activation
HTTP status 200
Load time 0.227 s
Memory usage 2.73 MiB
JS errors None
Resource errors None

Settings → Clarity

Page screenshot: Settings → Clarity
URL /wp-admin/options-general.php?page=clarity_settings
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 2.68 MiB
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.193 s
Memory usage 2.66 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.263 s0.242 s-0.021 s2.82 MiB2.84 MiB+ 18.26 KiB
/wp-admin/edit.php0.179 s0.189 s+0.010 s2.86 MiB2.88 MiB+ 18.26 KiB
/wp-admin/post-new.php1.188 s0.999 s-0.189 s5.02 MiB5.05 MiB+ 30.13 KiB
/wp-admin/upload.php0.434 s0.363 s-0.071 s2.7 MiB2.71 MiB+ 17.77 KiB
/wp-admin/options-writing.php0.249 s0.133 s-0.116 s2.71 MiB2.7 MiB- 14.32 KiB
/wp-admin/media-new.php0.209 s0.152 s-0.057 s2.67 MiB2.69 MiB+ 17.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.175 s-0.003 s2.77 MiB2.79 MiB+ 18.84 KiB
/wp-admin/post-new.php?post_type=page1.021 s0.550 s-0.471 s5.01 MiB5.03 MiB+ 25.72 KiB
/wp-admin/options-discussion.php0.277 s0.196 s-0.081 s2.67 MiB2.69 MiB+ 18.5 KiB
/wp-admin/edit-comments.php0.215 s0.195 s-0.020 s2.78 MiB2.79 MiB+ 17.15 KiB
/0.251 s0.262 s+0.011 s2.65 MiB2.66 MiB+ 7.34 KiB
Average 0.406 s0.314 s-0.092 s3.15 MiB3.17 MiB+ 15.96 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
Language % Lines of code Comment lines Files
PHP100.0%122713
Total 122 71 3

PHP Code Analysis | More results »

Lines of code 122
Total complexity 20
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function setup_clarity_notice()
Classes 0
Methods 0
Functions 14

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 1

PHP Error Log 14 lines

[14-May-2021 13:40:50 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:50 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:52 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:52 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:52 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:54 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:55 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:55 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:55 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:55 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:57 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:57 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:57 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
[14-May-2021 13:40:58 UTC] PHP Notice:  Undefined index: page in /wp-content/plugins/microsoft-clarity/admin/settings_page.php on line 33
See also: All tests for this plugin, How to Hide the "Clarity" Admin Menu