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.62MB] [CPU: ▲5.20ms] Passed 4 tests
Analyzing server-side resources used by Pixel Tag Manager for WooCommerce (PTM) - All-in-One Tracking Solution for Google Analytics 4, Google Ads, Facebook and More
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.10 ▲0.63 | 38.67 ▲5.89 |
Dashboard /wp-admin | 3.92 ▲0.62 | 48.16 ▲4.17 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 55.83 ▲9.38 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.62 | 92.77 ▲1.34 |
Media Library /wp-admin/upload.php | 3.85 ▲0.62 | 39.82 ▲9.38 |
Support /wp-admin/admin.php?page=pixel-manager-support | 3.75 | 34.08 |
Pixel Settings /wp-admin/admin.php?page=pixel-manager | 4.06 | 38.97 |
Free Vs Pro /wp-admin/admin.php?page=pixel-manager-freevspro | 4.02 | 35.94 |
Upgrade to Pro /wp-admin/admin.php?page=pixel-manager-upgrade-pro | 3.75 | 35.10 |
Account /wp-admin/admin.php?page=pixel-manager-account | 3.79 | 33.09 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
pmw_admin_notices |
can_compress_scripts |
pmw_migration |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Pixel Tag Manager for WooCommerce (PTM) - All-in-One Tracking Solution for Google Analytics 4, Google Ads, Facebook and More
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲240 | 14.38 ▼0.32 | 28.06 ▲26.49 | 26.68 ▼13.08 |
Dashboard /wp-admin | 2,258 ▲80 | 5.61 ▼0.03 | 96.31 ▼17.68 | 83.08 ▲38.07 |
Posts /wp-admin/edit.php | 2,170 ▲67 | 1.99 ▲0.04 | 41.20 ▼1.21 | 42.13 ▲6.74 |
Add New Post /wp-admin/post-new.php | 1,748 ▲219 | 24.55 ▲1.68 | 622.16 ▼17.71 | 62.81 ▲0.16 |
Media Library /wp-admin/upload.php | 1,469 ▲69 | 4.30 ▲0.06 | 99.50 ▲0.34 | 91.91 ▲46.89 |
Support /wp-admin/admin.php?page=pixel-manager-support | 1,499 | 5.20 | 106.87 | 80.43 |
Pixel Settings /wp-admin/admin.php?page=pixel-manager | 2,458 | 1.75 | 28.02 | 73.55 |
Free Vs Pro /wp-admin/admin.php?page=pixel-manager-freevspro | 2,170 | 1.73 | 27.03 | 71.06 |
Upgrade to Pro /wp-admin/admin.php?page=pixel-manager-upgrade-pro | 2,664 | 4.92 | 93.07 | 71.49 |
Account /wp-admin/admin.php?page=pixel-manager-account | 1,181 | 1.73 | 27.88 | 46.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- pmw_migration
- widget_theysaidso_widget
- theysaidso_admin_options
- pmw_admin_notices
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PMW_Helper' not found in wp-content/plugins/pixel-manager-for-woocommerce/admin/partials/common/class-pmw-global.php:7
- > PHP Fatal error
Uncaught Error: Class 'PMW_AdminHelper' not found in wp-content/plugins/pixel-manager-for-woocommerce/admin/class-pixel-manager-for-woocommerce-admin.php:24
- > PHP Fatal error
Uncaught Error: Class 'PMW_AdminHelper' not found in wp-content/plugins/pixel-manager-for-woocommerce/admin/partials/common/class-pmw-header.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pixel-manager-for-woocommerce/admin/partials/common/class-pmw-footer.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (30 tag instead of maximum 10)
pixel-manager-for-woocommerce/pixel-manager-for-woocommerce.php 77% from 13 tests
The main file in "Pixel Tag Manager for WooCommerce (PTM) - All-in-One Tracking Solution for Google Analytics 4, Google Ads, Facebook and More" v. 1.4.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 641 characters long)
- Plugin Name: Please shorten the plugin name (currently 102 characters long instead of max. 70)
- Requires at least: Required version does not match the one declared in readme.txt ("3.5.0" instead of "3.7.0")
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
No dangerous file extensions were detected5,892 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 181 | 904 | 4,002 |
CSS | 1 | 47 | 16 | 1,459 |
JavaScript | 2 | 3 | 65 | 382 |
SVG | 7 | 0 | 0 | 49 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 23.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 194 | |
▷ Static methods | 2 | 1.03% |
▷ Public methods | 164 | 84.54% |
▷ Protected methods | 26 | 13.40% |
▷ Private methods | 4 | 2.06% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
24 compressed PNG files occupy 0.10MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/facebook_pixel.png | 0.34KB | 0.38KB | 0.00% |
admin/images/main-icon.png | 1.34KB | 1.00KB | ▼ 25.29% |
admin/images/google_ads.png | 1.25KB | 1.44KB | 0.00% |
admin/images/Icon-notice.png | 0.75KB | 0.46KB | ▼ 38.48% |
admin/images/tiktok_pixel.png | 0.94KB | 1.20KB | 0.00% |