Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▲0.70ms] Passed 4 tests
Server-side resources used by Easy Yandex Metrica
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.28 ▼1.07 |
Dashboard /wp-admin | 3.47 ▲0.16 | 49.51 ▲2.54 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.35 ▲4.08 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 83.42 ▼2.76 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.02 ▲4.31 |
Sources, Search engine /wp-admin/admin.php?page=abwp_eym_view_sources_engines | 3.38 | 377.95 |
Settings /wp-admin/admin.php?page=abwp_eym_settings | 3.37 | 32.94 |
Sources, Sites /wp-admin/admin.php?page=abwp_eym_view_sources_sites | 3.38 | 323.80 |
Traffic /wp-admin/admin.php?page=abwp_eym | 3.37 | 34.75 |
Sources, Summary /wp-admin/admin.php?page=abwp_eym_view_sources_summary | 3.38 | 325.80 |
Sources, Social Network /wp-admin/admin.php?page=abwp_eym_view_sources_social | 3.38 | 323.30 |
Server storage [IO: ▲0.24MB] [DB: ▲0.31MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
abwp_eym_plugin_version |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Easy Yandex Metrica: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲81 | 13.52 ▼1.12 | 1.61 ▼0.16 | 44.88 ▲4.69 |
Dashboard /wp-admin | 2,270 ▲96 | 5.37 ▼0.24 | 91.61 ▲1.12 | 39.31 ▼4.58 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.49 ▲0.54 | 35.95 ▼1.27 | 32.65 ▼3.99 |
Add New Post /wp-admin/post-new.php | 1,559 ▲28 | 24.03 ▲0.88 | 686.44 ▲59.21 | 69.83 ▲20.04 |
Media Library /wp-admin/upload.php | 1,444 ▲44 | 4.81 ▲0.60 | 107.63 ▲12.25 | 43.02 ▲2.47 |
Sources, Search engine /wp-admin/admin.php?page=abwp_eym_view_sources_engines | 820 | 2.35 | 26.82 | 24.21 |
Settings /wp-admin/admin.php?page=abwp_eym_settings | 872 | 2.40 | 26.29 | 29.99 |
Sources, Sites /wp-admin/admin.php?page=abwp_eym_view_sources_sites | 817 | 2.35 | 27.55 | 21.41 |
Traffic /wp-admin/admin.php?page=abwp_eym | 854 | 2.52 | 27.61 | 24.81 |
Sources, Summary /wp-admin/admin.php?page=abwp_eym_view_sources_summary | 820 | 2.36 | 27.27 | 21.42 |
Sources, Social Network /wp-admin/admin.php?page=abwp_eym_view_sources_social | 817 | 2.22 | 27.52 | 24.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- abwp_eym_plugin_version
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-yandex-metrica/includes/page-admin-metrica-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-yandex-metrica/includes/page-admin-metrica-view-data-dashboard.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-yandex-metrica/includes/page-admin-metrica-view-data.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-yandex-metrica/includes/page-admin-metrica-view-data-sources.php:4
- > PHP Notice
Undefined variable: page_title in wp-content/plugins/easy-yandex-metrica/includes/page-admin-metrica-view-data-sources.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/easy-yandex-metrica/includes/page-admin-metrica-error.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: yandex, yandex metrika, tools, admin, statistics...
easy-yandex-metrica/easy-yandex-metrica.php Passed 13 tests
The entry point to "Easy Yandex Metrica" version 1.2.2 is a PHP file that has certain tags in its header comment area
74 characters long description:
Easily add statistics display Yandex.Metrica to the Wordpress admin panel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,124 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 83 | 91 | 978 |
PO File | 1 | 54 | 73 | 127 |
Markdown | 1 | 7 | 0 | 18 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 38.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 71.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 28.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin