Yandex.Metrica 1.0.0

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

Summary

Errors
The plugin could not be activated
3PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=wp-yandex-metrika%2Fwp-yandex-metrika.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-yandex-metrika%2Fwp-yandex-metrika.php&plugin_status=all&paged=1&s&_wpnonce=67ba580f17
Aspect after-activation
HTTP status 200
Load time 0.497 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
PO File
Language % Lines of code Comment lines Files
PHP64.8%932359
JavaScript17.5%25274
PO File8.3%119341
CSS6.1%8801
SVG1.8%2602
Markdown1.5%2201
Total 1,439 76 18

PHP Code Analysis | More results »

Lines of code 865
Total complexity 180
Median class complexity 23.0
Median method complexity 2.0
Most complex class YaMetrikaWoocommerce
Most complex function YaMetrikaBackend::displayRepeaterField()
Classes 6
Methods 67
Functions 0

Additions

No data available.

PHP Error Log 3 lines

[11-Oct-2021 06:57:31 UTC] PHP Parse error:  syntax error, unexpected 'public' (T_PUBLIC) in /wp-content/plugins/wp-yandex-metrika/class.ya-metrika-backend.php on line 215
[11-Oct-2021 06:57:31 UTC] PHP Parse error:  syntax error, unexpected 'public' (T_PUBLIC) in /wp-content/plugins/wp-yandex-metrika/class.ya-metrika-backend.php on line 215
[11-Oct-2021 06:57:31 UTC] PHP Parse error:  syntax error, unexpected 'public' (T_PUBLIC) in /wp-content/plugins/wp-yandex-metrika/class.ya-metrika-backend.php on line 215
See also: All tests for this plugin, How to Hide the "Yandex.Metrica" Admin Menu