Yandex.Metrica 1.1.8

Does Yandex.Metrica work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
5PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 61.47 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 40,000+
WordPress.org page https://wordpress.org/plugins/wp-yandex-metrika/
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=wp-yandex-metrika%2Fwp-yandex-metrika.php&plugin_status=all&paged=1&s&_wpnonce=d7b0a9c1c1
Aspect after-activation
HTTP status 200
Load time 0.468 s
Memory usage 3.08 MiB
JS errors None
Resource errors None

Settings → Yandex.Metrica

Page screenshot: Settings → Yandex.Metrica
URL /wp-admin/options-general.php?page=yam_settings
Aspect menu-item
HTTP status 200
Load time 0.235 s
Memory usage 3.1 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.239 s
Memory usage 3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.752 s0.289 s-0.463 s3.07 MiB3.14 MiB+ 67.3 KiB
/wp-admin/edit.php0.174 s0.218 s+0.044 s3.1 MiB3.16 MiB+ 67.3 KiB
/wp-admin/post-new.php0.731 s0.927 s+0.196 s5.02 MiB5.08 MiB+ 65.37 KiB
/wp-admin/upload.php0.536 s0.302 s-0.234 s3.02 MiB3.07 MiB+ 51.09 KiB
/wp-admin/options-writing.php0.175 s0.156 s-0.019 s3.01 MiB3.05 MiB+ 39.29 KiB
/wp-admin/media-new.php0.273 s0.200 s-0.073 s2.99 MiB3.05 MiB+ 63.53 KiB
/wp-admin/edit-tags.php?taxonomy=category0.203 s0.318 s+0.115 s3.01 MiB3.07 MiB+ 67.25 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.614 s+0.035 s5.01 MiB5.07 MiB+ 60.95 KiB
/wp-admin/options-discussion.php0.219 s0.231 s+0.012 s3 MiB3.05 MiB+ 53.02 KiB
/wp-admin/edit-comments.php0.208 s0.234 s+0.026 s3.03 MiB3.08 MiB+ 49.88 KiB
/0.294 s0.214 s-0.080 s2.97 MiB3.06 MiB+ 91.16 KiB
Average 0.377 s0.337 s-0.040 s3.38 MiB3.44 MiB+ 61.47 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
PHP50.3%1,8337221
JavaScript20.1%7333916
CSS19.6%715262
PO File6.0%219901
SVG3.3%121011
Markdown0.6%2201
JSON0.1%201
Total 3,645 227 53

PHP Code Analysis | More results »

Lines of code 1,723
Total complexity 347
Median class complexity 4.0
Median method complexity 2.0
Most complex class YaMetrikaWoocommerce
Most complex function YaMetrikaBackend::displayRepeaterField()
Classes 18
Methods 130
Functions 0

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 5 lines

[20-May-2023 19:23:07 UTC] PHP Warning:  Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 425
[20-May-2023 19:23:07 UTC] PHP Warning:  Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 425
[20-May-2023 19:23:07 UTC] PHP Warning:  Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 463
[20-May-2023 19:23:07 UTC] PHP Warning:  Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 463
[20-May-2023 19:23:07 UTC] PHP Warning:  Undefined array key "brand" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 488
See also: All tests for this plugin, How to Hide the "Yandex.Metrica" Admin Menu