Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼138.24ms] Passed 4 tests
This is a short check of server-side resources used by Czater.pl - live chat i telefon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 37.65 ▲14.72 |
Dashboard /wp-admin | 3.09 ▲0.03 | 45.76 ▲2.61 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 51.83 ▲6.51 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 107.80 ▼566.97 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 38.63 ▲4.91 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 5 new options
New WordPress options |
---|
czaterAutoCompliteLogin |
CzaterId |
czaterCode |
czaterAutoCompliteEmail |
css_template |
Browser metrics Passed 4 tests
A check of browser resources used by Czater.pl - live chat i telefon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,698 ▲102 | 15.89 ▲0.39 | 6.62 ▼4.49 | 50.95 ▲0.24 |
Dashboard /wp-admin | 2,979 ▲48 | 5.89 ▼0.25 | 150.12 ▼9.91 | 146.70 ▲24.07 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.57 ▼0.10 | 98.07 ▲32.04 | 189.11 ▲94.82 |
Add New Post /wp-admin/post-new.php | 1,696 ▲115 | 18.37 ▼2.30 | 463.27 ▲66.61 | 114.06 ▼8.05 |
Media Library /wp-admin/upload.php | 1,770 ▼37 | 4.98 ▼0.02 | 131.44 ▼24.80 | 141.42 ▲9.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 5 options
- czaterCode
- CzaterId
- czaterAutoCompliteLogin
- czaterAutoCompliteEmail
- css_template
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/czater/czater.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Czat), #2 (Konfiguracja w wordpressie)
czater/czater.php Passed 13 tests
The main PHP file in "Czater.pl - live chat i telefon" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
27 characters long description:
Live chat na Twoją stronę
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
There were no executable files found in this plugin126 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 13 | 117 |
HTML | 1 | 1 | 0 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 4 | 80.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-128x128.png | 0.69KB | 0.39KB | ▼ 43.60% |
screenshot-2.png | 62.38KB | 23.66KB | ▼ 62.08% |
assets/iconC.png | 0.69KB | 0.39KB | ▼ 43.60% |
screenshot-1.png | 165.21KB | 52.80KB | ▼ 68.04% |