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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.55MB] [CPU: ▲1.53ms] Passed 4 tests
Server-side resources used by WooCommerce Conversion Tracking
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 45.47 ▲6.96 |
Dashboard /wp-admin | 3.85 ▲0.55 | 48.16 ▼3.38 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 52.13 ▲1.13 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.56 | 95.39 ▲2.36 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 38.77 ▲6.02 |
Conversion Tracking /wp-admin/admin.php?page=conversion-tracking | 3.74 | 36.40 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 169 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
wcct_version |
theysaidso_admin_options |
widget_recent-posts |
wcct_installed |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Conversion Tracking
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲112 | 13.36 ▼1.02 | 1.86 ▲0.08 | 51.14 ▲5.96 |
Dashboard /wp-admin | 2,254 ▲63 | 4.98 ▼0.91 | 113.91 ▲9.66 | 45.83 ▲4.61 |
Posts /wp-admin/edit.php | 2,150 ▲58 | 2.61 ▲0.60 | 41.59 ▲0.84 | 39.65 ▲3.99 |
Add New Post /wp-admin/post-new.php | 1,563 ▲49 | 23.54 ▲5.90 | 627.75 ▼72.08 | 53.20 ▲2.71 |
Media Library /wp-admin/upload.php | 1,445 ▲60 | 4.45 ▲0.21 | 101.02 ▼10.29 | 46.61 ▼1.03 |
Conversion Tracking /wp-admin/admin.php?page=conversion-tracking | 1,418 | 2.07 | 30.96 | 31.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- db_upgraded
- widget_recent-comments
- wcct_installed
- theysaidso_admin_options
- widget_recent-posts
- wcct_version
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 112× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php:11
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php:26
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/woocommerce-conversion-tracking/includes/integration.php:8
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/woocommerce-conversion-tracking/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: tracking, ecommerce, commerce, google, adwords...
woocommerce-conversion-tracking/conversion-tracking.php 85% from 13 tests
"WooCommerce Conversion Tracking" version 2.0.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woocommerce-conversion-tracking.php" instead of "conversion-tracking.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.4" instead of "5.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin7,341 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 136 | 1,330 | 2,228 | 5,979 |
JSON | 3 | 0 | 0 | 387 |
CSS | 1 | 0 | 10 | 371 |
Markdown | 1 | 82 | 0 | 255 |
YAML | 4 | 37 | 3 | 155 |
JavaScript | 3 | 19 | 7 | 99 |
XML | 1 | 6 | 11 | 95 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 5.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 124 | |
▷ Abstract classes | 2 | 1.61% |
▷ Concrete classes | 122 | 98.39% |
▷ Final classes | 0 | 0.00% |
Methods | 330 | |
▷ Static methods | 20 | 6.06% |
▷ Public methods | 251 | 76.06% |
▷ Protected methods | 41 | 12.42% |
▷ Private methods | 38 | 11.52% |
Functions | 13 | |
▷ Named functions | 5 | 38.46% |
▷ Anonymous functions | 8 | 61.54% |
Constants | 10 | |
▷ Global constants | 6 | 60.00% |
▷ Class constants | 4 | 40.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 7.23KB | 3.86KB | ▼ 46.68% |
assets/images/getting_started.png | 1.54KB | 1.13KB | ▼ 26.65% |
assets/images/twitter.png | 1.72KB | 0.90KB | ▼ 47.41% |
assets/images/adwords.png | 1.74KB | 1.09KB | ▼ 37.39% |
assets/images/bing_ads.png | 2.68KB | 1.81KB | ▼ 32.40% |