Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.94ms] Passed 4 tests
A check of server-side resources used by WP User Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.72 ▼1.90 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.99 ▼1.28 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.19 ▲0.64 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 80.87 ▼21.23 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 34.43 ▲1.94 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 22 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_WPCHT_chat |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP User Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 13.98 ▼0.41 | 11.49 ▲9.69 | 49.03 ▲5.71 |
Dashboard /wp-admin | 2,221 ▲50 | 5.04 ▲0.12 | 110.32 ▲6.19 | 40.26 ▼11.27 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.29 ▲0.29 | 44.66 ▲6.89 | 31.76 ▼4.22 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 18.70 ▲0.56 | 607.58 ▼10.05 | 53.19 ▼23.37 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.35 ▲0.10 | 101.56 ▼2.98 | 41.56 ▼2.42 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% 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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-user-chat/wp-user-chat.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-user-chat/functions.php:83
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: internal chat system, live chat, chat, wp users chat, wp chat...
wp-user-chat/wp-user-chat.php Passed 13 tests
The entry point to "WP User Chat" version 1.0.7 is a PHP file that has certain tags in its header comment area
99 characters long description:
This plugin gives you freedom to chat with users each other. It supported many to many interaction.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,041 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 135 | 9 | 472 |
JavaScript | 2 | 86 | 0 | 378 |
CSS | 2 | 31 | 0 | 191 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 27 | |
▷ Named functions | 27 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.27MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-6.png | 32.14KB | 15.39KB | ▼ 52.12% |
images/right.png | 15.29KB | 7.37KB | ▼ 51.77% |
images/default.png | 26.42KB | 8.33KB | ▼ 68.47% |
assets/screenshot-3.png | 68.59KB | 27.77KB | ▼ 59.52% |
assets/screenshot-4.png | 35.00KB | 15.82KB | ▼ 54.79% |