Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼4.87ms] Passed 4 tests
Analyzing server-side resources used by BLOGCHAT Chat System
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 38.22 ▼6.42 |
Dashboard /wp-admin | 3.53 ▲0.22 | 46.49 ▼6.36 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 45.79 ▼1.47 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 83.32 ▼5.21 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 35.42 ▼0.52 |
BLOGCHAT Settings /wp-admin/options-general.php?page=blogchatsettings | 3.39 | 33.55 |
Server storage [IO: ▲5.63MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 894 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
blogchat_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BLOGCHAT Chat System
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲139 | 14.09 ▼0.35 | 21.96 ▲19.86 | 36.46 ▼9.31 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.02 | 104.15 ▼1.16 | 39.44 ▼4.15 |
Posts /wp-admin/edit.php | 2,093 ▲22 | 2.05 ▼0.08 | 34.08 ▼4.50 | 33.11 ▼0.48 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.18 ▲5.66 | 647.87 ▼63.08 | 56.55 ▼4.70 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.16 ▼0.17 | 100.19 ▼12.29 | 45.79 ▼2.49 |
BLOGCHAT Settings /wp-admin/options-general.php?page=blogchatsettings | 2,410 | 1.69 | 31.52 | 54.14 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- blogchat_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=blogchatsettings
- > Notice in wp-content/plugins/blogchat-chat-system/wp-blogchat-widget.php+232
Undefined index: blogchat-settings-submit
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 9× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/blogchat-chat-system/proxies/getloc.php
- > /wp-content/plugins/blogchat-chat-system/html/Upload.php
- > /wp-content/plugins/blogchat-chat-system/html/Avatars.php
- > /wp-content/plugins/blogchat-chat-system/proxies/fcchat_wordpress_proxy.php
- > /wp-content/plugins/blogchat-chat-system/proxies/fcchat_wordpress_proxy2.php
- > /wp-content/plugins/blogchat-chat-system/proxies/wordpress_config_proxy.php
- > /wp-content/plugins/blogchat-chat-system/js/import.config.alt.php
- > /wp-content/plugins/blogchat-chat-system/html/chat/blogchat.php
- > /wp-content/plugins/blogchat-chat-system/html/chat/index.php
- 32× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant SESSIONS_TABLE - assumed 'SESSIONS_TABLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/blogchat-chat-system/proxies/fcchat_phpbb3_proxy.php on line 52
- > PHP Warning
include(./../../common.php): failed to open stream: No such file or directory in wp-content/plugins/blogchat-chat-system/proxies/fcchat_phpbb3_proxy.php on line 21
- > PHP Warning
require_once(wp-content/plugins/blogchat-chat-system/proxies/../../../../includes/defines.php): failed to open stream: No such file or directory in wp-content/plugins/blogchat-chat-system/proxies/joomla_config_proxy.php on line 18
- > PHP Warning
require_once(wp-content/plugins/blogchat-chat-system/proxies/../../../../../includes/bootstrap.inc): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/blogchat-chat-system/proxies/drupal.php on line 17
- > PHP Notice
Undefined variable: config in wp-content/plugins/blogchat-chat-system/proxies/fcchat_phpbb3_proxy.php on line 40
- > PHP Warning
require_once(wp-content/plugins/blogchat-chat-system/proxies/../../SSI.php): failed to open stream: No such file or directory in wp-content/plugins/blogchat-chat-system/proxies/fcchat_smf_proxy.php on line 12
- > PHP Notice
Undefined variable: session_id in wp-content/plugins/blogchat-chat-system/proxies/fcchat_phpbb3_proxy.php on line 52
- > PHP Warning
include(): Failed opening './../../common.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/blogchat-chat-system/proxies/phpbb3_config_proxy.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/blogchat-chat-system/proxies/../../../../../includes/bootstrap.inc' (include_path='.:/usr/share/php') in /var/www/wordpress/wp-content/plugins/blogchat-chat-system/proxies/drupal.php on line 17
- > PHP Warning
Use of undefined constant USERS_TABLE - assumed 'USERS_TABLE' (this will throw an Error in a future version of PHP) in wp-content/plugins/blogchat-chat-system/proxies/fcchat_phpbb3_proxy.php on line 52
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== blogchat-chat-system ===
) - Screenshots: Screenshot #1 (Here, in screenshot-1.png shows BLOGCHAT in action on your page.) image required
blogchat-chat-system/wp-blogchat-widget.php 92% from 13 tests
"BLOGCHAT Chat System" version 1.3.6.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("blogchat-chat-system.php" instead of "wp-blogchat-widget.php")
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
No dangerous file extensions were detected15,315 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 75 | 1,582 | 1,720 | 9,828 |
PHP | 25 | 441 | 422 | 2,651 |
HTML | 17 | 189 | 240 | 1,849 |
ASP | 4 | 138 | 85 | 821 |
CSS | 2 | 26 | 1 | 148 |
SVG | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 25.33 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 5.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 53 | |
▷ Named functions | 53 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 47 | |
▷ Global constants | 47 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
569 compressed PNG files occupy 0.39MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
current_skin/flags/sk.png | 0.55KB | 0.70KB | 0.00% |
current_skin/twitter.png | 0.79KB | 0.99KB | 0.00% |
skins/default/flags/bj.png | 0.47KB | 0.66KB | 0.00% |
skins/default/google_transliteration.png | 0.68KB | 0.33KB | ▼ 51.00% |
skins/default/flags/bo.png | 0.49KB | 0.71KB | 0.00% |