Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼312.58ms] Passed 4 tests
This is a short check of server-side resources used by Kliken - Google Advertising and Stats
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 56.07 ▲5.11 |
Dashboard /wp-admin | 3.44 ▲0.03 | 34.58 ▼54.68 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 39.22 ▼0.58 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 91.25 ▼1,196.49 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 26.24 ▲1.45 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 1 new option
New WordPress options |
---|
kk_schema_version |
Browser metrics Passed 4 tests
A check of browser resources used by Kliken - Google Advertising and Stats
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,836 ▲114 | 15.98 ▲0.20 | 6.17 ▼0.92 | 2.55 ▲0.17 |
Dashboard /wp-admin | 2,965 ▲107 | 6.11 ▼0.05 | 121.71 ▼11.26 | 155.11 ▼6.68 |
Posts /wp-admin/edit.php | 2,759 ▲68 | 3.27 ▲0.03 | 63.57 ▲0.46 | 142.18 ▼16.32 |
Add New Post /wp-admin/post-new.php | 1,640 ▼21 | 19.59 ▲3.44 | 414.46 ▲8.53 | 156.35 ▲2.91 |
Media Library /wp-admin/upload.php | 1,771 ▲76 | 5.56 ▲0.06 | 146.49 ▲6.96 | 194.29 ▲8.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/kliken-all-in-one-marketing/class/class-messages.php
- > /wp-content/plugins/kliken-all-in-one-marketing/views/config.php
- > /wp-content/plugins/kliken-all-in-one-marketing/class/class-plugin.php
- > /wp-content/plugins/kliken-all-in-one-marketing/kliken.php
- > /wp-content/plugins/kliken-all-in-one-marketing/class/class-updater.php
- > /wp-content/plugins/kliken-all-in-one-marketing/class/class-helper.php
- > /wp-content/plugins/kliken-all-in-one-marketing/class/class-logger.php
- > /wp-content/plugins/kliken-all-in-one-marketing/class/class-api.php
- > /wp-content/plugins/kliken-all-in-one-marketing/init.php
- > /wp-content/plugins/kliken-all-in-one-marketing/views/settings.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/kliken-all-in-one-marketing/vendor/nategood/httpful/src/Httpful/Handlers/XHtmlHandler.php:11
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/kliken-all-in-one-marketing/vendor/nategood/httpful/src/Httpful/Handlers/CsvHandler.php:9
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/kliken-all-in-one-marketing/vendor/nategood/httpful/src/Httpful/Handlers/XmlHandler.php:11
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/kliken-all-in-one-marketing/vendor/nategood/httpful/src/Httpful/Handlers/JsonHandler.php:9
- > PHP Fatal error
Uncaught Error: Class 'Httpful\\Handlers\\MimeHandlerAdapter' not found in wp-content/plugins/kliken-all-in-one-marketing/vendor/nategood/httpful/src/Httpful/Handlers/FormHandler.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 37 tag instead of maximum 10
- Donate link: Invalid URI found ("")
kliken-all-in-one-marketing/kliken.php 92% from 13 tests
"Kliken - Google Advertising and Stats" version 1.6.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("kliken-all-in-one-marketing.php" instead of "kliken.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected2,523 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 502 | 1,305 | 2,162 |
Markdown | 2 | 91 | 0 | 181 |
CSS | 1 | 18 | 2 | 85 |
JSON | 2 | 0 | 0 | 81 |
YAML | 1 | 3 | 0 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 10.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 1 | 4.00% |
Methods | 187 | |
▷ Static methods | 55 | 29.41% |
▷ Public methods | 174 | 93.05% |
▷ Protected methods | 1 | 0.53% |
▷ Private methods | 12 | 6.42% |
Functions | 10 | |
▷ Named functions | 6 | 60.00% |
▷ Anonymous functions | 4 | 40.00% |
Constants | 46 | |
▷ Global constants | 18 | 39.13% |
▷ Class constants | 28 | 60.87% |
▷ Public constants | 28 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner.png | 13.03KB | 14.18KB | 0.00% |