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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.40ms] Passed 4 tests
An overview of server-side resources used by Track The Click
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.54 ▼8.17 |
Dashboard /wp-admin | 3.37 ▲0.03 | 45.77 ▼13.05 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 46.47 ▲1.81 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 86.33 ▲1.87 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 31.31 ▼2.19 |
Clicks /wp-admin/admin.php?page=track-the-click | 3.29 | 29.27 |
Settings /wp-admin/admin.php?page=track-the-click-settings | 3.30 | 33.71 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 39 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_track_the_click_link_group |
wp_track_the_click_hit |
wp_track_the_click_group |
wp_track_the_click_link |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
track_the_click_local |
track_the_click_version |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Track The Click: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲174 | 13.93 ▼0.40 | 7.91 ▲5.88 | 38.59 ▼4.14 |
Dashboard /wp-admin | 2,267 ▲90 | 5.30 ▼0.34 | 100.36 ▲13.44 | 76.91 ▲36.67 |
Posts /wp-admin/edit.php | 2,148 ▲51 | 2.32 ▲0.35 | 43.35 ▲8.38 | 35.83 ▲2.64 |
Add New Post /wp-admin/post-new.php | 1,566 ▲37 | 23.49 ▲0.33 | 609.59 ▲2.62 | 34.34 ▼18.01 |
Media Library /wp-admin/upload.php | 1,436 ▲39 | 4.92 ▲0.77 | 99.62 ▼4.22 | 63.63 ▲23.22 |
Clicks /wp-admin/admin.php?page=track-the-click | 1,694 | 3.45 | 98.63 | 30.57 |
Settings /wp-admin/admin.php?page=track-the-click-settings | 1,096 | 2.28 | 32.18 | 29.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
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
Good news, no errors were detected
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/track-the-click/admin/partials/track-the-click-tools-display.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/track-the-click/admin/partials/track-the-click-settings-display.php:26
- > 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: link, affiliate, seo, click tracking, track outbound link...
track-the-click/track-the-click.php 92% from 13 tests
Analyzing the main PHP file in "Track The Click" version 0.3.13
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
There were no executable files found in this plugin3,259 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 501 | 978 | 1,690 |
CSS | 3 | 70 | 52 | 1,276 |
JavaScript | 4 | 26 | 24 | 290 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 24.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 3 | 3.45% |
▷ Public methods | 70 | 80.46% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 19.54% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/ui-bg_glass_55_fbf9ee_1x400.png | 0.38KB | 0.12KB | ▼ 67.68% |
admin/img/ui-icons_2e83ff_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
admin/img/ui-icons_888888_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
admin/img/ui-bg_glass_95_fef1ec_1x400.png | 0.38KB | 0.15KB | ▼ 61.54% |
admin/img/ui-bg_glass_75_e6e6e6_1x400.png | 0.32KB | 0.15KB | ▼ 53.40% |