Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.33MB] [CPU: ▲3.04ms] Passed 4 tests
This is a short check of server-side resources used by ClickWhale - Link Shortener, Click Tracker & Link Pages
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.78 ▲1.31 | 45.38 ▲6.24 |
Dashboard /wp-admin | 4.64 ▲1.34 | 53.85 ▲2.63 |
Posts /wp-admin/edit.php | 4.69 ▲1.33 | 64.30 ▲17.05 |
Add New Post /wp-admin/post-new.php | 7.22 ▲1.33 | 93.25 ▼6.00 |
Media Library /wp-admin/upload.php | 4.57 ▲1.33 | 44.90 ▲9.29 |
Add New Tracking Code /wp-admin/admin.php?page=clickwhale-edit-tracking-code | 4.59 | 45.71 |
Add New /wp-admin/admin.php?page=clickwhale-edit-link | 4.54 | 43.77 |
Tracking Codes /wp-admin/admin.php?page=clickwhale-tracking-codes | 4.48 | 38.79 |
Add New Link Page /wp-admin/admin.php?page=clickwhale-edit-linkpage | 4.80 | 49.33 |
Upgrade to PRO /wp-admin/admin.php?page=clickwhale-pro | 4.47 | 45.53 |
Tools /wp-admin/admin.php?page=clickwhale-tools | 4.52 | 39.06 |
Links /wp-admin/admin.php?page=clickwhale | 4.48 | 42.69 |
Add New Category /wp-admin/admin.php?page=clickwhale-edit-category | 4.51 | 41.87 |
Settings /wp-admin/admin.php?page=clickwhale-settings | 4.47 | 39.97 |
Categories /wp-admin/admin.php?page=clickwhale-categories | 4.48 | 40.94 |
Server storage [IO: ▲3.44MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 1,471 new files
Database: 7 new tables, 15 new options
New tables |
---|
wp_clickwhale_categories |
wp_clickwhale_track |
wp_clickwhale_meta |
wp_clickwhale_tracking_codes |
wp_clickwhale_visitors |
wp_clickwhale_links |
wp_clickwhale_linkpages |
New WordPress options |
---|
clickwhale_hide_notice_deactive |
theysaidso_admin_options |
clickwhale_other_options |
clickwhale_version |
can_compress_scripts |
clickwhale_hide_notice_migrate |
widget_recent-comments |
db_upgraded |
clickwhale_linkpages_options |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
ClickWhale - Link Shortener, Click Tracker & Link Pages: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲169 | 14.35 ▼0.00 | 1.80 ▲0.08 | 31.90 ▼13.61 |
Dashboard /wp-admin | 2,287 ▲110 | 5.63 ▼0.04 | 93.98 ▲4.37 | 72.92 ▲31.95 |
Posts /wp-admin/edit.php | 2,207 ▲107 | 2.03 ▲0.02 | 38.85 ▲4.12 | 35.32 ▲3.96 |
Add New Post /wp-admin/post-new.php | 1,625 ▲97 | 23.21 ▲0.30 | 723.68 ▲12.16 | 53.07 ▲2.44 |
Media Library /wp-admin/upload.php | 1,501 ▲101 | 4.22 ▲0.07 | 107.81 ▲4.45 | 74.84 ▲31.77 |
Add New Tracking Code /wp-admin/admin.php?page=clickwhale-edit-tracking-code | 1,882 | 5.19 | 112.28 | 48.99 |
Add New /wp-admin/admin.php?page=clickwhale-edit-link | 2,318 | 2.08 | 29.55 | 37.87 |
Tracking Codes /wp-admin/admin.php?page=clickwhale-tracking-codes | 1,189 | 2.03 | 27.80 | 32.17 |
Add New Link Page /wp-admin/admin.php?page=clickwhale-edit-linkpage | 17,489 | 7.33 | 232.94 | 91.89 |
Upgrade to PRO /wp-admin/admin.php?page=clickwhale-pro | 1,296 | 1.99 | 24.28 | 68.13 |
Tools /wp-admin/admin.php?page=clickwhale-tools | 985 | 2.06 | 26.96 | 29.05 |
Links /wp-admin/admin.php?page=clickwhale | 1,202 | 2.04 | 26.93 | 34.38 |
Add New Category /wp-admin/admin.php?page=clickwhale-edit-category | 1,068 | 2.07 | 28.18 | 33.76 |
Settings /wp-admin/admin.php?page=clickwhale-settings | 1,081 | 2.05 | 29.13 | 38.16 |
Categories /wp-admin/admin.php?page=clickwhale-categories | 1,105 | 2.03 | 28.03 | 31.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie tables were found after uninstall: 7 tables
- wp_clickwhale_meta
- wp_clickwhale_linkpages
- wp_clickwhale_track
- wp_clickwhale_visitors
- wp_clickwhale_tracking_codes
- wp_clickwhale_categories
- wp_clickwhale_links
- Zombie WordPress options were found after uninstall: 14 options
- clickwhale_hide_notice_deactive
- widget_recent-posts
- clickwhale_hide_notice_migrate
- clickwhale_tracking_codes_options
- db_upgraded
- clickwhale_tools_migration_options
- can_compress_scripts
- theysaidso_admin_options
- clickwhale_general_options
- widget_recent-comments
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=clickwhale-edit-category
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/clickwhale/public/partials/clickwhale-public-display.php
- 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/clickwhale/admin/views/categories/category-edit.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/clickwhale/admin/views/settings/pro.php:2
- > PHP Fatal error
Uncaught Error: Class 'Clickwhale_Link_Edit' not found in wp-content/plugins/clickwhale/admin/views/links/link-edit.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/clickwhale/admin/controllers/linkpages/class-clickwhale-linkpages-list-table.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/clickwhale/admin/views/categories/categories-list-table.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/clickwhale/admin/controllers/categories/class-clickwhale-categories-list-table.php:7
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/clickwhale/admin/views/categories/categories-list-table.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Clickwhale_Migration' not found in wp-content/plugins/clickwhale/admin/views/tools/tools.php:2
- > PHP Fatal error
Uncaught Error: Interface 'ClickwhaleLinkPageInterface' not found in wp-content/plugins/clickwhale/public/linkpages/ClickwhaleLinkPage.php:3
- > PHP Fatal error
Uncaught Error: Class 'Clickwhale_links_List_Table' not found in wp-content/plugins/clickwhale/admin/views/links/links-list-table.php:5
- > PHP Notice
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: links, link tracker, link shortener, link pages, affiliate links
clickwhale/clickwhale.php Passed 13 tests
The primary PHP file in "ClickWhale - Link Shortener, Click Tracker & Link Pages" version 1.5.3 is used by WordPress to initiate all plugin functionality
69 characters long description:
Best Link Shortener, Click Tracker & Link Pages Plugin for WordPress.
Code Analysis Passed 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
There were no executable files found in this plugin22,489 lines of code in 1,396 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 75 | 2,304 | 1,885 | 11,277 |
JSON | 1 | 0 | 0 | 4,823 |
SVG | 1,302 | 1 | 2 | 3,804 |
CSS | 3 | 390 | 20 | 2,084 |
JavaScript | 14 | 43 | 177 | 485 |
YAML | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 19.73 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 311.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 56 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 483 | |
▷ Static methods | 74 | 15.32% |
▷ Public methods | 391 | 80.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 92 | 19.05% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
12 PNG files occupy 1.25MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
.wordpress-org/banner-772x250.png | 33.19KB | 18.61KB | ▼ 43.93% |
.wordpress-org/screenshot-1.png | 35.79KB | 18.26KB | ▼ 48.99% |
.wordpress-org/icon-256x256.png | 8.29KB | 5.49KB | ▼ 33.81% |
.wordpress-org/screenshot-4.png | 17.23KB | 19.52KB | 0.00% |
.wordpress-org/screenshot-2.png | 122.12KB | 54.87KB | ▼ 55.07% |