Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.03ms] Passed 4 tests
An overview of server-side resources used by Woocommerce Adwords Conversion Tracking
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.43 ▼3.10 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.64 ▼3.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.91 ▼5.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.32 ▼4.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.37 ▲0.36 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Woocommerce Adwords Conversion Tracking
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.26 ▼1.12 | 1.51 ▼0.48 | 42.62 ▲3.54 |
Dashboard /wp-admin | 2,203 ▲12 | 5.82 ▲0.99 | 93.80 ▼15.17 | 43.94 ▲0.77 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.00 ▼0.02 | 34.89 ▼15.67 | 34.60 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 18.29 ▼4.72 | 613.83 ▲38.37 | 56.65 ▼5.37 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.25 ▲0.10 | 96.57 ▲0.09 | 41.15 ▼3.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/woocommerce-google-adwords-conversion-tracking/includes/wc-adwords-conversion-tracking-code.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woocommerce-google-adwords-conversion-tracking/wc-adwords-conversion-tracking.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== woocommerce-google-adwords-conversion-tracking ===
)
woocommerce-google-adwords-conversion-tracking/wc-adwords-conversion-tracking.php 62% from 13 tests
The main PHP script in "Woocommerce Adwords Conversion Tracking" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("wact")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: Prefix the domain path with a forward slash character ("/wact")
- Main file name: The principal plugin file should be the same as the plugin slug ("woocommerce-google-adwords-conversion-tracking.php" instead of "wc-adwords-conversion-tracking.php")
- Git Repository: A Git repository was detected inside this plugin
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
Everything looks great! No dangerous files found in this plugin67 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 59 | 67 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin