Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.30ms] Passed 4 tests
An overview of server-side resources used by Metrilo - WooCommerce Growth Platform
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 32.77 ▼9.05 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.29 ▼4.51 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.89 ▲0.76 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.91 ▼7.97 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.39 ▼3.65 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Metrilo - WooCommerce Growth Platform
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.25 ▼1.13 | 1.67 ▼0.32 | 41.95 ▼8.61 |
Dashboard /wp-admin | 2,206 ▲21 | 4.82 ▼0.10 | 113.09 ▲12.57 | 41.96 ▲4.04 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.03 | 40.77 ▲5.16 | 35.87 ▲2.95 |
Add New Post /wp-admin/post-new.php | 1,535 ▲16 | 23.28 ▼0.14 | 593.09 ▼116.60 | 58.00 ▲0.16 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.24 ▲0.06 | 98.10 ▼19.25 | 41.82 ▼5.44 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/metrilo-woocommerce-integration/includes/render_identify.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/metrilo-woocommerce-integration/includes/integration.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/metrilo-woocommerce-integration/includes/views/metrilo_import_view.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/metrilo-woocommerce-integration/includes/settings.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/metrilo-woocommerce-integration/includes/js.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/metrilo-woocommerce-integration/includes/render_tracking_events.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/metrilo-woocommerce-integration/includes/render_footer_tracking_events.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 37 tag instead of maximum 10
metrilo-woocommerce-integration/metrilo-woocommerce-integration.php Passed 13 tests
The main file in "Metrilo - WooCommerce Growth Platform" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
66 characters long description:
One-click WooCommerce integration with Metrilo eCommerce Analytics
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
Good job! No executable or dangerous file extensions detected1,152 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 290 | 149 | 1,149 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 68.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 203.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 74 | 90.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 9.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin