Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.10ms] Passed 4 tests
Analyzing server-side resources used by Matomo Site Kit by Openmost
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 26.41 ▼17.43 |
Dashboard /wp-admin | 3.48 ▲0.17 | 47.31 ▼1.53 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 51.68 ▲5.06 |
Add New Post /wp-admin/post-new.php | 5.64 ▼0.25 | 75.62 ▼21.39 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.02 ▲3.94 |
Privacy /wp-admin/admin.php?page=omsk-privacy | 3.34 | 32.99 |
Data Layer /wp-admin/admin.php?page=omsk-datalayer | 3.34 | 33.25 |
Dashboard /wp-admin/admin.php?page=openmost-site-kit | 3.34 | 30.60 |
General Settings /wp-admin/admin.php?page=omsk-settings | 3.34 | 32.32 |
Server storage [IO: ▲5.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Matomo Site Kit by Openmost
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,886 ▲129 | 16.97 ▲2.74 | 1.90 ▼0.11 | 39.11 ▼6.45 |
Dashboard /wp-admin | 2,254 ▲66 | 8.53 ▲3.63 | 364.76 ▲247.59 | 43.34 ▼0.76 |
Posts /wp-admin/edit.php | 2,146 ▲54 | 4.88 ▲2.84 | 58.27 ▲22.47 | 35.20 ▲3.43 |
Add New Post /wp-admin/post-new.php | 6,485 ▲4,948 | 22.50 ▼0.64 | 927.31 ▲278.16 | 40.40 ▼14.66 |
Media Library /wp-admin/upload.php | 1,448 ▲57 | 6.64 ▲2.38 | 120.93 ▲19.35 | 41.92 ▼3.46 |
Privacy /wp-admin/admin.php?page=omsk-privacy | 852 | 4.80 | 42.47 | 27.03 |
Data Layer /wp-admin/admin.php?page=omsk-datalayer | 961 | 4.82 | 40.83 | 31.75 |
Dashboard /wp-admin/admin.php?page=openmost-site-kit | 829 | 4.76 | 44.66 | 24.14 |
General Settings /wp-admin/admin.php?page=omsk-settings | 896 | 4.67 | 43.97 | 28.22 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=omsk-settings
- > Notice in wp-content/plugins/openmost-site-kit/includes/helpers.php+29
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/openmost-site-kit/openmost-site-kit.php
- 25× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function omsk_get_matomo_date() in wp-content/plugins/openmost-site-kit/modules/dashboard/views/widgets/channel-types.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/openmost-site-kit/modules/datalayer/admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/openmost-site-kit/modules/privacy/views/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/openmost-site-kit/modules/privacy/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/openmost-site-kit/modules/post-type-charts/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function omsk_get_matomo_period() in wp-content/plugins/openmost-site-kit/modules/dashboard/views/widgets/visits-summary.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/openmost-site-kit/modules/datalayer/views/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/openmost-site-kit/modules/dashboard/views/index.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/openmost-site-kit/modules/dashboard/views/widgets/pages.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function omsk_get_matomo_host() in wp-content/plugins/openmost-site-kit/modules/post-type-charts/views/index.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: analytic, site, statistics, kit, analytics...
openmost-site-kit/openmost-site-kit.php Passed 13 tests
The main PHP script in "Matomo Site Kit by Openmost" version 1.1.0 is automatically included on every request by WordPress
90 characters long description:
A complete Matomo integration for WordPress with dashboard, data layer and code injection.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin99,865 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 19,127 | 29,042 | 82,589 |
JSON | 3 | 0 | 0 | 15,855 |
PHP | 35 | 288 | 30 | 1,238 |
PO File | 1 | 46 | 54 | 119 |
Sass | 3 | 9 | 0 | 32 |
CSS | 1 | 1 | 0 | 28 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 73 | |
▷ Named functions | 73 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin