Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.80ms] Passed 4 tests
A check of server-side resources used by UTM tags + Landing page + "gclid" tracking for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 43.80 ▼4.56 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.66 ▼1.26 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 50.13 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 91.01 ▼6.85 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 39.51 ▲3.40 |
CF7 UTM tracking /wp-admin/admin.php?page=cf7-utm-tracking | 3.24 | 35.63 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by UTM tags + Landing page + "gclid" tracking for Contact Form 7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.76 ▲0.38 | 5.01 ▲3.18 | 38.45 ▼8.95 |
Dashboard /wp-admin | 2,226 ▲26 | 4.85 ▼1.03 | 115.20 ▼6.34 | 48.28 ▲1.14 |
Posts /wp-admin/edit.php | 2,114 ▲14 | 2.06 ▲0.08 | 37.73 ▼4.01 | 39.15 ▲5.81 |
Add New Post /wp-admin/post-new.php | 1,565 ▲34 | 18.57 ▼4.64 | 616.74 ▲9.62 | 77.72 ▲17.95 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.26 ▲0.13 | 99.86 ▼18.76 | 52.26 ▲3.44 |
CF7 UTM tracking /wp-admin/admin.php?page=cf7-utm-tracking | 867 | 2.02 | 25.66 | 28.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'CF7_UTM_Tracking' not found in wp-content/plugins/cf7-utm-tracking/templates/admin.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
4 plugin tags: utm-tracking, contact-form-7, cf7, utm
cf7-utm-tracking/cf7-utm-tracking.php 92% from 13 tests
"UTM tags + Landing page + "gclid" tracking for Contact Form 7" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin470 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 71 | 63 | 254 |
JavaScript | 3 | 39 | 78 | 216 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 11 | 64.71% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cf7utm-logo.png | 8.42KB | 4.15KB | ▼ 50.75% |