Does Yandex Metrica work with WordPress 6.3.1 and PHP 8.1.12? A smoke test was performed on .
5 | PHP warnings |
1 | PHP deprecation warnings |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 56.37 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.
WordPress version | 6.3.1 |
---|---|
PHP version | 8.1.12 |
MySQL version | 10.6.10 |
PHP memory limit | 512M |
Last updated | |
---|---|
Active installs | 40,000+ |
WordPress.org page | https://wordpress.org/plugins/wp-yandex-metrika/ |
Badges |
|
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=f4ebfc924a |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.369 s |
Memory usage | 2.82 MiB |
JS errors | None |
Resource errors | None |
URL | /wp-admin/options-general.php?page=yam_settings |
---|---|
Aspect | menu-item |
HTTP status | 200 |
Load time | 0.263 s |
Memory usage | 2.84 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.182 s |
Memory usage | 3.15 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.418 s | 0.335 s | -0.083 s | 2.82 MiB | 2.88 MiB | + 62.44 KiB |
/wp-admin/edit.php | 0.227 s | 0.227 s | +0.000 s | 2.85 MiB | 2.91 MiB | + 62.44 KiB |
/wp-admin/post-new.php | 0.856 s | 0.605 s | -0.251 s | 5.21 MiB | 5.3 MiB | + 86.06 KiB |
/wp-admin/upload.php | 0.777 s | 0.525 s | -0.252 s | 2.77 MiB | 2.81 MiB | + 46.23 KiB |
/wp-admin/options-writing.php | 0.245 s | 0.246 s | +0.001 s | 2.76 MiB | 2.8 MiB | + 37.76 KiB |
/wp-admin/media-new.php | 0.310 s | 0.303 s | -0.007 s | 2.74 MiB | 2.8 MiB | + 58.67 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.231 s | 0.224 s | -0.007 s | 2.76 MiB | 2.82 MiB | + 62.39 KiB |
/wp-admin/post-new.php?post_type=page | 0.784 s | 0.593 s | -0.191 s | 5.21 MiB | 5.29 MiB | + 81.65 KiB |
/wp-admin/options-discussion.php | 0.247 s | 0.475 s | +0.228 s | 2.75 MiB | 2.79 MiB | + 48.16 KiB |
/wp-admin/edit-comments.php | 0.451 s | 0.295 s | -0.156 s | 2.78 MiB | 2.82 MiB | + 45.02 KiB |
/ | 0.306 s | 0.223 s | -0.083 s | 3.13 MiB | 3.15 MiB | + 29.29 KiB |
Average | 0.441 s | 0.368 s | -0.073 s | 3.25 MiB | 3.31 MiB | + 56.37 KiB |
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.
Language | % | Lines of code | Comment lines | Files | |
---|---|---|---|---|---|
PHP | 50.8% | 1,898 | 71 | 21 | |
JavaScript | 20.0% | 749 | 39 | 16 | |
CSS | 19.1% | 715 | 26 | 2 | |
PO File | 6.2% | 231 | 96 | 1 | |
SVG | 3.2% | 121 | 0 | 11 | |
Markdown | 0.6% | 22 | 0 | 1 | |
JSON | 0.1% | 2 | 0 | 1 | |
Total | 3,738 | 232 | 53 |
Lines of code | 1,788 |
---|---|
Total complexity | 362 |
Median class complexity | 4.0 |
Median method complexity | 2.0 |
Most complex class | YaMetrikaWoocommerce |
Most complex function | YaMetrikaBackend::displayRepeaterField() |
Classes | 18 |
---|---|
Methods | 132 |
Functions | 0 |
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.
wp_options
2[30-Aug-2023 12:51:31 UTC] PHP Deprecated: Optional parameter $webvisor declared before required parameter $dataLayer is implicitly treated as a required parameter in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-frontend.php on line 75
[30-Aug-2023 12:51:33 UTC] PHP Warning: Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 440
[30-Aug-2023 12:51:33 UTC] PHP Warning: Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 440
[30-Aug-2023 12:51:33 UTC] PHP Warning: Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 478
[30-Aug-2023 12:51:33 UTC] PHP Warning: Undefined array key "flex-wrap" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 478
[30-Aug-2023 12:51:33 UTC] PHP Warning: Undefined array key "brand" in /wp-content/plugins/wp-yandex-metrika/includes/class.ya-metrika-backend.php on line 503