Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼4.64ms] Passed 4 tests
This is a short check of server-side resources used by Kwanko tracking
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 44.51 ▲0.06 |
Dashboard /wp-admin | 3.61 ▲0.31 | 50.96 ▼6.82 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 51.02 ▼0.54 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 91.80 ▼11.26 |
Media Library /wp-admin/upload.php | 3.47 ▲0.25 | 38.21 ▲1.32 |
Kwanko - Tracking Tags for Advertisers /wp-admin/options-general.php?page=kwanko-tracking | 3.45 | 40.41 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Kwanko tracking: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.71 ▲0.28 | 1.58 ▼0.39 | 40.94 ▼6.38 |
Dashboard /wp-admin | 2,199 ▲19 | 5.60 ▼0.03 | 91.68 ▼1.76 | 40.34 ▼5.46 |
Posts /wp-admin/edit.php | 2,083 ▼17 | 2.03 ▼0.00 | 35.29 ▼7.88 | 34.00 ▼5.87 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.25 ▼0.09 | 638.23 ▼30.46 | 57.62 ▼1.00 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.20 ▲0.01 | 101.75 ▼10.63 | 44.07 ▼5.47 |
Kwanko - Tracking Tags for Advertisers /wp-admin/options-general.php?page=kwanko-tracking | 986 | 2.02 | 26.65 | 32.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/kwanko-tracking/admin/partials/kwanko-tracking-admin-display.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: kwanko
kwanko-tracking/kwanko-tracking.php Passed 13 tests
"Kwanko tracking" version 1.3.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
50 characters long description:
Simply install and configure your Kwanko tracking.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,246 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 497 | 1,009 | 1,099 |
PO File | 1 | 45 | 48 | 147 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 19.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 6 | 7.32% |
▷ Public methods | 70 | 85.37% |
▷ Protected methods | 7 | 8.54% |
▷ Private methods | 5 | 6.10% |
Functions | 7 | |
▷ Named functions | 3 | 42.86% |
▷ Anonymous functions | 4 | 57.14% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin