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
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.19ms] Passed 4 tests
Server-side resources used by KiwiChat NextClient
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.47 ▲3.00 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.29 ▼4.11 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.46 ▼7.65 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.38 ▼19.34 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.45 ▲2.36 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 13 new options
New WordPress options |
---|
kiwichat_style |
kiwichat_server |
kiwichat_chan |
db_upgraded |
kiwichat_coding |
kiwichat_nick |
kiwichat_height |
theysaidso_admin_options |
kiwichat_width |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
KiwiChat NextClient: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 13.63 ▼0.77 | 2.10 ▲0.33 | 43.59 ▲0.80 |
Dashboard /wp-admin | 2,235 ▲41 | 5.91 ▲0.10 | 95.46 ▼5.44 | 75.65 ▲28.97 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.00 ▼0.05 | 39.18 ▼1.29 | 34.50 ▼1.05 |
Add New Post /wp-admin/post-new.php | 1,536 ▼4 | 17.49 ▼6.02 | 705.55 ▲73.47 | 58.83 ▲8.69 |
Media Library /wp-admin/upload.php | 1,402 ▲2 | 4.18 ▼0.11 | 99.60 ▼3.49 | 78.81 ▲26.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 13 options in the database
- widget_recent-posts
- kiwichat_style
- can_compress_scripts
- widget_recent-comments
- kiwichat_height
- kiwichat_coding
- kiwichat_chan
- db_upgraded
- widget_theysaidso_widget
- kiwichat_nick
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/kiwichat/public/index.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/kiwichat/kiwichat.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
kiwichat/kiwichat.php Passed 13 tests
The primary PHP file in "KiwiChat NextClient" version 6.2 is used by WordPress to initiate all plugin functionality
106 characters long description:
KiwiChat is an online chat client, your IRC client based on kiwiirc Add your networks. Join your channels.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin242 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 54 | 43 | 242 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of 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.27 |
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 | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/kiwichat.png | 0.55KB | 0.58KB | 0.00% |
admin/images/github.png | 2.56KB | 1.51KB | ▼ 41.07% |
admin/images/help.png | 1.07KB | 1.17KB | 0.00% |
admin/images/kiwiirc.png | 2.51KB | 2.33KB | ▼ 7.42% |
admin/images/kiwichat-logo.png | 10.91KB | 4.59KB | ▼ 57.97% |