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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼8.04ms] Passed 4 tests
Server-side resources used by WooCommerce Google Ads Dynamic Remarketing
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 46.64 ▼4.09 |
Dashboard /wp-admin | 3.43 ▲0.08 | 51.47 ▼17.74 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 54.71 ▲1.19 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.13 | 90.01 ▼11.51 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 45.76 ▲6.25 |
Google Ads Dynamic Retargeting /wp-admin/admin.php?page=wgdr | 3.31 | 36.15 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
wgdr_plugin_options |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Google Ads Dynamic Remarketing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.72 ▲0.37 | 1.79 ▲0.05 | 42.12 ▲2.13 |
Dashboard /wp-admin | 2,228 ▲48 | 5.56 ▼0.09 | 87.79 ▼7.85 | 41.98 ▼1.32 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.12 ▲0.13 | 38.12 ▼2.86 | 37.73 ▼1.41 |
Add New Post /wp-admin/post-new.php | 1,557 ▲29 | 23.39 ▲0.34 | 674.97 ▼46.71 | 52.69 ▼11.78 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.21 ▲0.05 | 106.18 ▼2.13 | 46.02 ▲0.44 |
Google Ads Dynamic Retargeting /wp-admin/admin.php?page=wgdr | 927 | 2.06 | 35.35 | 32.41 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- wgdr_plugin_options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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
4 plugin tags: google ads, dynamic retargeting, woocommerce, dynamic remarketing
woocommerce-google-dynamic-retargeting-tag/wgdr.php 85% from 13 tests
This is the main PHP file of "WooCommerce Google Ads Dynamic Remarketing" version 1.8.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("woocommerce-google-dynamic-retargeting-tag.php" instead of "wgdr.php")
- Requires at least: Required version does not match the one declared in readme.txt ("3.1" instead of "3.2.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin849 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 253 | 185 | 674 |
PO File | 2 | 40 | 40 | 157 |
JavaScript | 1 | 4 | 0 | 10 |
CSS | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 42 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.19MB with 0.12MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wgact-icon-256x256.png | 123.23KB | 45.05KB | ▼ 63.44% |
images/wgdr-icon-256x256.png | 70.44KB | 24.03KB | ▼ 65.89% |