Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.93ms] Passed 4 tests
An overview of server-side resources used by QNA Chat - All-in-One Solution for Live Chat, Tag-Based FAQs, and Customer Support
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 43.13 ▲5.46 |
Dashboard /wp-admin | 3.50 ▲0.16 | 48.52 ▼12.08 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.63 ▼1.02 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 92.97 ▼4.08 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.33 ▲5.86 |
FAQs Settings /wp-admin/admin.php?page=qnac_faqs | 3.46 | 33.40 |
Advanced Settings /wp-admin/admin.php?page=qnac_advanced_settings | 3.47 | 38.94 |
QnAChat /wp-admin/admin.php?page=qnac | 3.41 | 32.07 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 65 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_qnac_chats |
New WordPress options |
---|
widget_recent-comments |
qnac_cu |
theysaidso_admin_options |
qnac_advanced_settings |
db_upgraded |
qnac_settings |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for QNA Chat - All-in-One Solution for Live Chat, Tag-Based FAQs, and Customer Support
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,016 ▲254 | 13.43 ▼1.05 | 9.40 ▲7.83 | 51.84 ▲8.99 |
Dashboard /wp-admin | 2,251 ▲73 | 5.62 ▼0.25 | 92.95 ▼13.84 | 41.96 ▲0.15 |
Posts /wp-admin/edit.php | 2,156 ▲53 | 1.98 ▼0.04 | 41.35 ▲0.23 | 35.98 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.38 ▲0.50 | 605.98 ▲17.35 | 58.06 ▲6.31 |
Media Library /wp-admin/upload.php | 1,463 ▲60 | 4.23 ▼0.07 | 98.11 ▼3.48 | 40.97 ▲0.04 |
FAQs Settings /wp-admin/admin.php?page=qnac_faqs | 1,103 | 1.69 | 27.36 | 26.03 |
Advanced Settings /wp-admin/admin.php?page=qnac_advanced_settings | 1,355 | 3.36 | 43.41 | 64.57 |
QnAChat /wp-admin/admin.php?page=qnac | 1,349 | 2.76 | 50.30 | 36.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_qnac_chats
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- qnac_advanced_settings
- qnac_cu
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- qnac_settings
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=qnac_faqs
- > Warning in wp-content/plugins/qnachat/includes/faqs_settings.php+13
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=qnac
- > Notice in wp-content/plugins/qnachat/includes/chats_manager.php+12
Undefined index: mute
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Requires at least: Invalid plugin version format
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in qnachat/assets to your readme.txt
qnachat/index.php 85% from 13 tests
"QNA Chat - All-in-One Solution for Live Chat, Tag-Based FAQs, and Customer Support" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("qnachat.php" instead of "index.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 176 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin5,033 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 171 | 86 | 2,071 |
CSS | 4 | 34 | 0 | 1,732 |
JavaScript | 5 | 88 | 0 | 1,098 |
SVG | 10 | 5 | 3 | 132 |
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.28 |
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 | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
11 compressed PNG files occupy 0.13MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/user-info.png | 2.19KB | 2.17KB | ▼ 1.34% |
assets/images/no-wifi.png | 1.24KB | 1.45KB | 0.00% |
assets/images/name.png | 1.36KB | 1.67KB | 0.00% |
assets/images/request.png | 1.75KB | 2.05KB | 0.00% |
assets/images/bot.png | 14.94KB | 5.87KB | ▼ 60.69% |