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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.81ms] Passed 4 tests
Analyzing server-side resources used by Chat Everywhere
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 42.74 ▲0.54 |
Dashboard /wp-admin | 3.37 ▲0.06 | 48.32 ▼2.92 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.90 ▲5.00 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 86.04 ▼11.43 |
Media Library /wp-admin/upload.php | 3.30 ▲0.06 | 35.76 ▲2.58 |
Chat Everywhere Options /wp-admin/options-general.php?page=chat-everywhere-settings | 3.27 | 31.36 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
cfxchat_options |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Chat Everywhere: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲148 | 13.60 ▼0.70 | 8.61 ▲6.78 | 42.10 ▼1.24 |
Dashboard /wp-admin | 2,211 ▲23 | 5.80 ▲0.69 | 98.76 ▼16.68 | 40.66 ▼1.91 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.02 ▲0.04 | 35.85 ▼0.12 | 34.06 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.36 ▲0.06 | 670.90 ▼23.92 | 49.58 ▼14.01 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.20 ▲0.01 | 93.17 ▼5.97 | 40.85 ▼2.64 |
Chat Everywhere Options /wp-admin/options-general.php?page=chat-everywhere-settings | 914 | 2.17 | 22.46 | 26.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=chat-everywhere-settings
- > Notice in wp-content/plugins/chat-everywhere/admin/partials/chat-everywhere-admin-display.php+32
Undefined variable: hidden
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/chat-everywhere/public/partials/chat-everywhere-public-display.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: hidden in wp-content/plugins/chat-everywhere/admin/partials/chat-everywhere-admin-display.php on line 32
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/chat-everywhere/admin/partials/chat-everywhere-admin-display.php:35
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (/assets/cpev.jpg) image missing
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
chat-everywhere/chat-everywhere.php Passed 13 tests
The entry point to "Chat Everywhere" version 1.0.1 is a PHP file that has certain tags in its header comment area
136 characters long description:
Open a new chat using every html element you wish: standard buttons, textual links, images, divs and so on just adding them a css class.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin390 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 131 | 561 | 314 |
JavaScript | 2 | 6 | 60 | 72 |
CSS | 2 | 0 | 8 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 2.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 23 | 82.14% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.86% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 37.46KB | 11.79KB | ▼ 68.53% |