Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼139.92ms] Passed 4 tests
A check of server-side resources used by Zipp.Chat - Live Support Chat
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.07 | 42.95 ▲2.39 |
Dashboard /wp-admin | 3.13 ▲0.08 | 55.34 ▲3.06 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 51.64 ▼3.13 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.06 | 98.66 ▼561.99 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 38.17 ▲3.40 |
Zipp.Chat /wp-admin/options-general.php?page=zipp_chat | 3.07 | 28.89 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 2 new options
New WordPress options |
---|
jakweblc-lc-options |
jakweblc-embed-widget-id |
Browser metrics Passed 4 tests
Checking browser requirements for Zipp.Chat - Live Support Chat
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲137 | 16.39 ▲1.14 | 12.00 ▲1.83 | 47.68 ▼5.52 |
Dashboard /wp-admin | 2,972 ▲35 | 5.94 ▼0.28 | 184.43 ▲16.46 | 117.19 ▲0.68 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▼0.02 | 83.91 ▲12.90 | 91.51 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,503 ▼78 | 18.45 ▲0.33 | 390.19 ▼50.25 | 113.41 ▼4.85 |
Media Library /wp-admin/upload.php | 1,812 ▼10 | 5.06 ▲0.03 | 163.54 ▲2.75 | 118.20 ▼11.43 |
Zipp.Chat /wp-admin/options-general.php?page=zipp_chat | 1,244 | 2.47 | 66.98 | 72.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/zipp-chat/jakweblc.php:363
- > PHP Notice
Undefined variable: lc_embedid in wp-content/plugins/zipp-chat/templates/widget.php on line 1
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
zipp-chat/jakweblc.php 85% from 13 tests
This is the main PHP file of "Zipp.Chat - Live Support Chat" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("zipp-chat.php" instead of "jakweblc.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected581 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 15 | 510 |
CSS | 1 | 5 | 0 | 39 |
JavaScript | 1 | 18 | 9 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 37.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 4.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 3 | 13.64% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 2 | 9.09% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/zippchat-logo.png | 10.39KB | 4.12KB | ▼ 60.30% |