Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.53ms] Passed 4 tests
A check of server-side resources used by Conversion Tracking for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.30 ▼0.02 |
Dashboard /wp-admin | 3.35 ▼0.00 | 47.32 ▼14.34 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.85 ▲0.45 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.38 ▼10.51 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.31 ▼1.23 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Conversion Tracking for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.20 ▼1.20 | 4.54 ▲2.83 | 38.88 ▲0.09 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.10 | 106.10 ▲9.36 | 44.17 ▲3.94 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▲0.03 | 38.84 ▲1.52 | 35.20 ▲1.59 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.36 ▲0.89 | 614.31 ▼47.53 | 52.48 ▼14.71 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.16 ▼0.06 | 96.16 ▲0.97 | 42.51 ▼0.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/conversion-tracking-for-woocommerce/output-samples.php
- > /wp-content/plugins/conversion-tracking-for-woocommerce/conversion-tracking-for-woocommerce.php
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 96% from 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
10 plugin tags: analytics, tracking, custom, woocommerce, wcpayload...
conversion-tracking-for-woocommerce/conversion-tracking-for-woocommerce.php 92% from 13 tests
The main file in "Conversion Tracking for WooCommerce" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "2.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected861 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 1 | 121 | 0 | 553 |
PHP | 2 | 20 | 106 | 308 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 5 | 33.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 66.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 are no PNG files in this plugin