Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.86MB] [CPU: ▼192.44ms] Passed 4 tests
A check of server-side resources used by UNMETERED.Chat for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.77 ▼0.95 | 5.25 ▼20.96 |
Dashboard /wp-admin | 1.79 ▼1.27 | 5.29 ▼58.75 |
Posts /wp-admin/edit.php | 1.79 ▼1.32 | 6.23 ▼37.41 |
Add New Post /wp-admin/post-new.php | 1.79 ▼3.64 | 5.46 ▼638.58 |
Media Library /wp-admin/upload.php | 1.79 ▼1.22 | 5.87 ▼35.02 |
Chat Config /wp-admin/admin.php?page=nubirdz_chat_config | 1.79 | 5.23 |
Chat Help /wp-admin/admin.php?page=nubirdz_chat_help_page | 1.79 | 5.36 |
Chat Dashboard /wp-admin/admin.php?page=nubirdz_chat_dashboard | 1.79 | 5.87 |
Compare Chat Plans /wp-admin/admin.php?page=nubirdz_chat_compare | 1.79 | 5.10 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
UNMETERED.Chat for WordPress: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,747 ▲151 | 15.95 ▼0.03 | 9.56 ▼0.40 | 47.59 ▲0.50 |
Dashboard /wp-admin | 3,006 ▲75 | 5.93 ▼0.09 | 163.53 ▼4.46 | 108.09 ▼1.27 |
Posts /wp-admin/edit.php | 2,780 ▲41 | 2.71 ▼0.01 | 58.50 ▼5.81 | 82.01 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,528 ▼144 | 18.64 ▼0.19 | 415.01 ▲8.76 | 106.51 ▼7.83 |
Media Library /wp-admin/upload.php | 1,851 ▲44 | 5.02 ▼0.01 | 156.27 ▲4.88 | 118.91 ▼4.78 |
Chat Config /wp-admin/admin.php?page=nubirdz_chat_config | 1,198 | 2.09 | 55.33 | 71.94 |
Chat Help /wp-admin/admin.php?page=nubirdz_chat_help_page | 1,160 | 2.21 | 56.54 | 73.05 |
Chat Dashboard /wp-admin/admin.php?page=nubirdz_chat_dashboard | 1,063 | 2.34 | 52.12 | 61.70 |
Compare Chat Plans /wp-admin/admin.php?page=nubirdz_chat_compare | 2,198 | 2.09 | 56.56 | 73.85 |
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
These items require your attention
- The plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jQuery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=nubirdz_chat_compare
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jQuery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=nubirdz_chat_compare
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'nubirdz_chat_admin_enqueue' not found or invalid function name
- > GET request to /wp-admin/admin.php?page=nubirdz_chat_config
- > Notice in wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_admin.php+37
Undefined index: nubirdz_chat_hidden
- > GET request to /wp-admin/admin.php?page=nubirdz_chat_config
- > Notice in wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_admin.php+106
Undefined variable: enCheck
- > GET request to /wp-admin/admin.php?page=nubirdz_chat_config
- > Notice in wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_admin.php+110
Undefined variable: paidCheck
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_admin.php
- > /wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_dashboard.php
- > /wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_compare.php
- > /wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat_help.php
- > /wp-content/plugins/unmeteredchat-chat-widget-integration/nubirdz_chat.php
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: calling, chat, call, engine, video...
unmeteredchat-chat-widget-integration/nubirdz_chat.php 92% from 13 tests
This is the main PHP file of "UNMETERED.Chat for WordPress" version 1.2, 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: It is recommended to name the main PHP file as the plugin slug ("unmeteredchat-chat-widget-integration.php" instead of "nubirdz_chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected532 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 56 | 11 | 532 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 11 | |
▷ Named functions | 11 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.21MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/embed.png | 73.09KB | 4.83KB | ▼ 93.40% |
images/unique key.png | 54.66KB | 2.46KB | ▼ 95.51% |
images/chat_buttons.png | 68.68KB | 5.05KB | ▼ 92.65% |
images/checkmark.png | 3.00KB | 0.26KB | ▼ 91.48% |
images/settings.png | 11.87KB | 6.34KB | ▼ 46.56% |