Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼135.88ms] Passed 4 tests
Server-side resources used by KP Fastest Tawk.to Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 46.25 ▲22.45 |
Dashboard /wp-admin | 3.09 ▲0.04 | 57.47 ▲5.50 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 57.72 ▲2.97 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 107.11 ▼544.76 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 39.53 ▼7.24 |
KP Tawk.to Chat /wp-admin/options-general.php?page=kpfttc | 3.01 | 34.22 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
kpfttc_chat_link |
kpfttc_delay_time |
KPFTTC_VERSION |
kpfttc_excluded_pages |
kpfttc_admin_disabled |
kpfttc_chat_enabled |
Browser metrics Passed 4 tests
This is an overview of browser requirements for KP Fastest Tawk.to Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,766 ▲194 | 16.35 ▲1.02 | 9.12 ▼3.23 | 52.30 ▲3.63 |
Dashboard /wp-admin | 3,015 ▲81 | 5.97 ▼0.00 | 166.74 ▲3.41 | 122.11 ▲2.06 |
Posts /wp-admin/edit.php | 2,793 ▲54 | 2.73 ▲0.02 | 81.51 ▲6.55 | 101.09 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,612 ▼3 | 18.20 ▼3.29 | 470.29 ▲146.11 | 117.73 ▼0.32 |
Media Library /wp-admin/upload.php | 1,859 ▲52 | 5.05 ▼0.00 | 179.40 ▲10.23 | 124.35 ▼6.55 |
KP Tawk.to Chat /wp-admin/options-general.php?page=kpfttc | 1,254 | 2.47 | 78.53 | 108.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: Too many tags (24 tag instead of maximum 10); only the first 5 tags are used in your directory listing
kp-fastest-tawk-to-chat/kp-fastest-tawkto-chat.php 77% from 13 tests
The primary PHP file in "KP Fastest Tawk.to Chat" version 1.1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("kp-fastest-tawk-to-chat.php" instead of "kp-fastest-tawkto-chat.php")
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 detected306 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 70 | 37 | 245 |
CSS | 1 | 7 | 0 | 35 |
JavaScript | 1 | 3 | 0 | 26 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 PNG file occupies 0.27MB with 0.18MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/kreativo-pro.png | 280.94KB | 96.60KB | ▼ 65.61% |