Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.81ms] Passed 4 tests
An overview of server-side resources used by Tracking URL Builder for Analytics
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.79 ▼1.26 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.90 ▲0.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.64 ▼1.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.32 ▼12.74 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.89 ▲1.16 |
Tracking URL Builder for Analytics /wp-admin/tools.php?page=tracking-url-builder-for-analytics | 3.20 | 31.46 |
Server storage [IO: ▲0.12MB] [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 |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Tracking URL Builder for Analytics: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.31 ▼1.37 | 4.13 ▲1.45 | 42.68 ▼7.44 |
Dashboard /wp-admin | 2,207 ▲25 | 5.81 ▼0.06 | 94.11 ▼24.19 | 36.85 ▼8.62 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.03 | 33.00 ▼1.48 | 35.37 ▼2.00 |
Add New Post /wp-admin/post-new.php | 1,523 ▲3 | 23.14 ▲0.04 | 642.56 ▲19.85 | 51.50 ▼1.28 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.03 | 95.13 ▼4.00 | 41.95 ▼5.38 |
Tracking URL Builder for Analytics /wp-admin/tools.php?page=tracking-url-builder-for-analytics | 934 | 2.06 | 22.06 | 32.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tracking-url-builder-for-analytics/admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tracking-url-builder-for-analytics/tracking-url-builder-for-analytics.php:20
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Tracking URL Builder for Analytics - Form for generate a url with Google Analytics parameters) image not found
tracking-url-builder-for-analytics/tracking-url-builder-for-analytics.php Passed 13 tests
The entry point to "Tracking URL Builder for Analytics" version 1.0.1 is a PHP file that has certain tags in its header comment area
80 characters long description:
A simple form to create url for tracking of custom campaigns on Google Analytics
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected105 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 22 | 16 | 105 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 108.78KB | 38.45KB | ▼ 64.66% |