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.02MB] [CPU: ▲0.41ms] Passed 4 tests
An overview of server-side resources used by Website statistics with Matomo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.15 ▲5.26 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.71 ▲0.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.06 ▼3.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.79 ▲1.14 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.70 ▲3.48 |
Website statistics with Matomo /wp-admin/options-general.php?page=webstats-matomo | 3.21 | 31.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Website statistics with Matomo
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.37 ▼0.24 | 1.60 ▲0.08 | 40.16 ▼5.57 |
Dashboard /wp-admin | 2,232 ▲55 | 5.54 ▼0.13 | 85.47 ▲0.10 | 38.15 ▼5.81 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.04 | 39.60 ▲2.14 | 35.41 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.14 ▼0.43 | 703.95 ▲2.75 | 58.12 ▲0.12 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.20 ▲0.04 | 93.64 ▼14.33 | 44.97 ▼1.17 |
Website statistics with Matomo /wp-admin/options-general.php?page=webstats-matomo | 898 | 1.99 | 25.44 | 31.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
1 plugin tags: statistics
webstats-matomo/webstats-matomo.php Passed 13 tests
This is the main PHP file of "Website statistics with Matomo" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
42 characters long description:
Get statistics of your website with Matomo
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected321 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 64 | 249 |
PO File | 1 | 21 | 22 | 72 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin