Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.70MB] [CPU: ▼304.81ms] Passed 4 tests
This is a short check of server-side resources used by ClickerVolt - Affiliate Links & Click Tracking for Performance Marketers
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.62 | 60.14 ▲9.05 |
Dashboard /wp-admin | 4.19 ▲0.79 | 41.79 ▲2.11 |
Posts /wp-admin/edit.php | 4.42 ▲0.78 | 71.87 ▼17.05 |
Add New Post /wp-admin/post-new.php | 7.67 ▲0.70 | 107.31 ▼1,211.96 |
Media Library /wp-admin/upload.php | 3.99 ▲0.69 | 34.42 ▲7.65 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 4.31 | 33.13 |
Server storage [IO: ▲11.32MB] [DB: ▲0.04MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
These are issues you should consider
- Illegal file modification detected: 27 files (125,394.71KB) outside of "wp-content/plugins/clickervolt/" and "wp-content/uploads/"
- (new file) wp-content/plugins/clickervolt-data/links/fake/blocks
- (new file) wp-content/plugins/clickervolt-data/links/fake/templates
- (new file) wp-content/plugins/clickervolt-data/links/fake/me
- (new file) wp-content/plugins/clickervolt-data/links/fake/themes
- (new file) wp-content/plugins/clickervolt-data/links/fake/users
- (new file) wp-content/plugins/clickervolt-data/links/fake/index
- (new file) wp-content/plugins/clickervolt-data/links/fake/single
- (new file) wp-content/plugins/clickervolt-data/links/aliases/.empty
- (new file) wp-content/plugins/clickervolt-data/links/fake/pages
- (new file) wp-content/plugins/clickervolt-data/links/fake/7
- ...
Filesystem: 1,119 new files
Database: 30 new tables, 5 new options
New tables |
---|
wp_clickervolt_stats_whole_path_geos |
wp_clickervolt_funnel_links |
wp_clickervolt_stats_whole_path_var10 |
wp_clickervolt_stats_whole_path_var5 |
wp_clickervolt_source_templates |
wp_clickervolt_stats_whole_path_var4 |
wp_clickervolt_stats_whole_path_var6 |
wp_clickervolt_geos |
wp_clickervolt_devices |
wp_clickervolt_custom_reports |
... |
New WordPress options |
---|
fs_accounts |
fs_gdpr |
fs_debug_mode |
clickervolt-version |
fs_active_plugins |
Browser metrics Passed 4 tests
ClickerVolt - Affiliate Links & Click Tracking for Performance Marketers: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲83 | 15.63 ▲0.03 | 5.55 ▲0.10 | 2.09 ▼0.37 |
Dashboard /wp-admin | 2,923 ▲62 | 6.23 ▲0.13 | 120.96 ▼10.42 | 200.59 ▲41.27 |
Posts /wp-admin/edit.php | 2,734 ▲40 | 3.12 ▼0.12 | 66.81 ▲3.79 | 174.29 ▲26.54 |
Add New Post /wp-admin/post-new.php | 1,679 ▼32 | 15.68 ▼5.56 | 501.24 ▲14.92 | 210.52 ▲51.79 |
Media Library /wp-admin/upload.php | 1,740 ▲42 | 5.55 ▲0.05 | 130.12 ▼12.71 | 240.83 ▲53.71 |
Freemius Debug [v.2.4.2] /wp-admin/admin.php?page=freemius | 1,443 | 2.41 | 57.17 | 114.71 |
Uninstaller [IO: ▲123.10MB] [DB: ▲0.04MB] 50% 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
- This plugin does not fully uninstall, leaving 30 tables in the database
- wp_clickervolt_referrers
- wp_clickervolt_stats_base
- wp_clickervolt_parallel_ids
- wp_clickervolt_custom_reports
- wp_clickervolt_stats_whole_path_geos
- wp_clickervolt_urls_paths
- wp_clickervolt_source_templates
- wp_clickervolt_stats_whole_path_var6
- wp_clickervolt_stats_whole_path_var5
- wp_clickervolt_stats_whole_path_referrers
- ...
- This plugin does not fully uninstall, leaving 5 options in the database
- fs_debug_mode
- fs_active_plugins
- fs_accounts
- fs_gdpr
- clickervolt-version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/clickervolt/admin/views/dashboardTabLinks.php
- > /wp-content/plugins/clickervolt/others/spyc/php4/5to4.php
- > /wp-content/plugins/clickervolt/admin/views/dashboardTabClickLog.php
- > /wp-content/plugins/clickervolt/freemius/templates/ajax-loader.php
- > /wp-content/plugins/clickervolt/admin/views/dashboardTabLatestNews.php
- > /wp-content/plugins/clickervolt/others/spyc/examples/yaml-load.php
- > /wp-content/plugins/clickervolt/admin/views/dashboardTabReports.php
- 83× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/clickervolt/others/spyc/tests/IndentTest.php:5
- > PHP Fatal error
Uncaught Error: Class 'ClickerVolt\\Reporting\\HandlerWholePath' not found in wp-content/plugins/clickervolt/admin/reporting/handlers/handlerWholePathGeos.php:11
- > PHP Fatal error
Uncaught Error: Class 'DeviceDetector\\Parser\\Client\\AbstractClientParser' not found in wp-content/plugins/clickervolt/others/device-detector/Parser/Client/Library.php:18
- > PHP Fatal error
Uncaught Error: Interface 'DeviceDetector\\Yaml\\ParserInterface' not found in wp-content/plugins/clickervolt/others/device-detector/Yaml/Spyc.php:15
- > PHP Fatal error
Uncaught Error: Class 'DeviceDetector\\Parser\\ParserAbstract' not found in wp-content/plugins/clickervolt/others/device-detector/Parser/BotParserAbstract.php:17
- > PHP Fatal error
Uncaught Error: Class 'ClickerVolt\\TableStatsWholePath' not found in wp-content/plugins/clickervolt/db/tableStatsWholePathVarX.php:8
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in wp-content/plugins/clickervolt/others/spyc/tests/ParseTest.php:5
- > PHP Fatal error
Uncaught Error: Interface 'IPLib\\Range\\RangeInterface' not found in wp-content/plugins/clickervolt/others/ip-lib/src/Range/Pattern.php:17
- > PHP Fatal error
Uncaught Error: Class 'DeviceDetector\\Parser\\Client\\AbstractClientParser' not found in wp-content/plugins/clickervolt/others/device-detector/Parser/Client/MediaPlayer.php:18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/clickervolt/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
clickervolt/clickervolt.php Passed 13 tests
The main PHP file in "ClickerVolt - Affiliate Links & Click Tracking for Performance Marketers" ver. 1.169 adds more information about the plugin and also serves as the entry point for this plugin
84 characters long description:
Advanced click tracking, link cloaking and affiliate campaigns management made easy.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected123,998 lines of code in 467 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 317 | 12,110 | 22,509 | 67,449 |
YAML | 22 | 2,353 | 1,705 | 25,103 |
PO File | 13 | 7,531 | 9,161 | 16,474 |
JavaScript | 32 | 446 | 2,809 | 8,775 |
Sass | 48 | 691 | 84 | 3,891 |
CSS | 19 | 157 | 9 | 884 |
Markdown | 7 | 291 | 0 | 674 |
C | 1 | 73 | 15 | 476 |
JSON | 5 | 0 | 0 | 180 |
XML | 1 | 18 | 13 | 70 |
m4 | 1 | 5 | 0 | 14 |
C/C++ Header | 1 | 4 | 12 | 8 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,907)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 27.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,907.00 |
Average method complexity | 3.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 9 | |
Traits | 1 | |
Classes | 236 | |
▷ Abstract classes | 19 | 8.05% |
▷ Concrete classes | 217 | 91.95% |
▷ Final classes | 0 | 0.00% |
Methods | 2,332 | |
▷ Static methods | 420 | 18.01% |
▷ Public methods | 1,763 | 75.60% |
▷ Protected methods | 122 | 5.23% |
▷ Private methods | 447 | 19.17% |
Functions | 208 | |
▷ Named functions | 117 | 56.25% |
▷ Anonymous functions | 91 | 43.75% |
Constants | 500 | |
▷ Global constants | 102 | 20.40% |
▷ Class constants | 398 | 79.60% |
▷ Public constants | 398 | 100.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
593 compressed PNG files occupy 0.78MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/icons/os/DEB.png | 0.90KB | 0.90KB | 0.00% |
admin/images/icons/browsers/AL.png | 1.95KB | 1.94KB | ▼ 0.75% |
admin/images/icons/flags/su.png | 0.40KB | 0.34KB | ▼ 14.18% |
admin/images/icons/flags/tr.png | 0.46KB | 0.41KB | ▼ 12.24% |
admin/images/icons/browsers/S3.png | 0.31KB | 0.29KB | ▼ 6.58% |