Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/proprofs-chat/proprofs-chat.php+4
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.90MB] [CPU: ▼55.75ms] Passed 4 tests
Server-side resources used by ProProfs Chat- Live Chat & Chatbot Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.41 ▼35.68 |
Dashboard /wp-admin | 2.11 ▼1.20 | 5.91 ▼43.52 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 5.87 ▼43.57 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 7.00 ▼100.21 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.60 ▼26.25 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for ProProfs Chat- Live Chat & Chatbot Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲58 | 13.67 ▼1.01 | 1.71 ▼0.29 | 37.14 ▼5.10 |
Dashboard /wp-admin | 2,221 ▲36 | 5.82 ▲0.92 | 105.77 ▼1.01 | 76.67 ▲32.67 |
Posts /wp-admin/edit.php | 2,104 ▲12 | 1.98 ▼0.03 | 38.46 ▼5.19 | 35.20 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,546 ▲32 | 18.32 ▲0.69 | 702.89 ▲76.04 | 75.05 ▲11.78 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.16 ▼0.05 | 105.08 ▼1.94 | 44.32 ▼3.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/proprofs-chat/proprofs-chat.php+4
Constant WP_DEBUG already defined
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/proprofs-chat/ajax_plugin_theme.php
- > /wp-content/plugins/proprofs-chat/settings.php
- > /wp-content/plugins/proprofs-chat/ajax_plugin_postchat.php
- 16× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/proprofs-chat/templates/post_chat_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/proprofs-chat/templates/tpl-setting.php:4
- > PHP Notice
Undefined index: action in wp-content/plugins/proprofs-chat/ajax_plugin_postchat.php on line 35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/proprofs-chat/templates/theme_setting.php:2
- > PHP Notice
Undefined index: BubbleType in wp-content/plugins/proprofs-chat/ajax_plugin_theme.php on line 8
- > PHP Notice
Undefined variable: fields_string in wp-content/plugins/proprofs-chat/ajax_plugin_postchat.php on line 151
- > PHP Notice
Undefined index: position in wp-content/plugins/proprofs-chat/ajax_plugin_theme.php on line 10
- > PHP Notice
Undefined variable: fields_string in wp-content/plugins/proprofs-chat/ajax_plugin_prechat.php on line 192
- > PHP Notice
Undefined index: action in wp-content/plugins/proprofs-chat/ajax_plugin_prechat.php on line 35
- > PHP Notice
Undefined index: BubbleStyle in wp-content/plugins/proprofs-chat/ajax_plugin_theme.php on line 7
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: live chat software, live chat, chat plugin, chatbot, free live chat...
proprofs-chat/proprofs-chat.php 92% from 13 tests
This is the main PHP file of "ProProfs Chat- Live Chat & Chatbot Plugin" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 332 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin4,098 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 200 | 21 | 3,111 |
PHP | 11 | 66 | 31 | 728 |
JavaScript | 3 | 5 | 5 | 259 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 18.75% |
Functions | 14 | |
▷ Named functions | 11 | 78.57% |
▷ Anonymous functions | 3 | 21.43% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
23 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/ppct-icon.png | 1.22KB | 0.00KB | ▼ 100.00% |
images/17.png | 0.57KB | 0.58KB | 0.00% |
images/bubble_grey.png | 0.57KB | 0.58KB | 0.00% |
images/6.png | 0.57KB | 0.58KB | 0.00% |
images/medium.png | 0.57KB | 0.43KB | ▼ 24.14% |