Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.18ms] Passed 4 tests
Analyzing server-side resources used by Include Matomo Tracking, by Jonas Hellmann
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.36 ▲0.49 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.72 ▼18.30 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.36 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.60 ▼5.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.05 ▲3.34 |
Include Matomo /wp-admin/options-general.php?page=include-matomo-settings | 3.22 | 29.85 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Include Matomo Tracking, by Jonas Hellmann: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 14.80 ▲0.55 | 2.29 ▲0.64 | 45.64 ▲0.63 |
Dashboard /wp-admin | 2,207 ▲22 | 5.83 ▲0.94 | 98.65 ▼21.75 | 39.24 ▼7.07 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.01 | 38.96 ▲3.12 | 34.93 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.49 ▼5.82 | 659.26 ▲45.53 | 57.77 ▲7.10 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.18 ▼0.06 | 108.06 ▼4.10 | 46.37 ▲0.81 |
Include Matomo /wp-admin/options-general.php?page=include-matomo-settings | 838 | 2.03 | 24.99 | 24.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/include-matomo/include-matomo.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
include-matomo/include-matomo.php Passed 13 tests
"Include Matomo Tracking, by Jonas Hellmann" version 1.5.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
52 characters long description:
This plugin includes Matomo into your Wordpress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected101 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 11 | 101 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin