Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.92ms] Passed 4 tests
A check of server-side resources used by WooCommerce Google Analytics Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.87 ▼9.83 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.00 ▼19.13 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.81 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.53 ▼6.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.63 ▲2.31 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce Google Analytics Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲22 | 14.72 ▲0.51 | 1.82 ▼0.20 | 38.39 ▼8.98 |
Dashboard /wp-admin | 2,202 ▲25 | 5.58 ▼0.04 | 93.78 ▼1.79 | 44.76 ▲0.17 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.00 ▼0.02 | 39.65 ▼1.02 | 36.66 ▲1.67 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.24 ▼0.20 | 623.06 ▼27.38 | 47.95 ▼1.78 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.24 ▲0.07 | 94.87 ▼1.26 | 41.67 ▼0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 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
2 plugin tags: google analytics, woocommerce
woocommerce-google-analytics-integration/woocommerce-google-analytics-integration.php 77% from 13 tests
The entry point to "WooCommerce Google Analytics Integration" version 1.8.10 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
- Requires at least: Required version must match the one declared in readme.txt ("3.9" instead of "6.8")
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,409 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 334 | 705 | 1,406 |
JavaScript | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 1 | 16.67% |
▷ Concrete classes | 5 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 33 | 31.43% |
▷ Public methods | 89 | 84.76% |
▷ Protected methods | 15 | 14.29% |
▷ Private methods | 1 | 0.95% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 1 | 50.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin