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
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼5.12ms] Passed 4 tests
Server-side resources used by FCChat Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 35.12 ▼11.73 |
Dashboard /wp-admin | 3.53 ▲0.23 | 46.33 ▼3.87 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 49.68 ▲2.24 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 84.14 ▼4.34 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 35.45 ▼0.55 |
FCChat Settings /wp-admin/options-general.php?page=fcchatsettings | 3.39 | 30.01 |
Server storage [IO: ▲3.72MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 902 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
fcchat_widget |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
FCChat Widget: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,962 ▲216 | 14.34 ▼0.33 | 35.03 ▲33.39 | 36.70 ▼6.24 |
Dashboard /wp-admin | 2,210 ▲21 | 5.86 ▲0.98 | 111.18 ▼8.90 | 42.80 ▼5.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▼0.01 | 41.72 ▲1.56 | 36.12 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,517 ▼17 | 17.67 ▼5.44 | 689.11 ▲87.69 | 53.61 ▲3.73 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.19 ▲0.03 | 98.31 ▼8.61 | 41.66 ▼3.46 |
FCChat Settings /wp-admin/options-general.php?page=fcchatsettings | 2,428 | 1.70 | 29.69 | 52.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- fcchat_widget
- widget_recent-comments
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)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=fcchatsettings
- > Notice in wp-content/plugins/fcchat/wp-fcchat-widget.php+231
Undefined index: fcchat-settings-submit
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
Please fix the following
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/fcchat/proxies/wordpress_config_proxy.php
- > /wp-content/plugins/fcchat/proxies/getloc.php
- > /wp-content/plugins/fcchat/proxies/fcchat_wordpress_proxy.php
- > /wp-content/plugins/fcchat/html/Avatars.php
- > /wp-content/plugins/fcchat/js/import.config.alt.php
- > /wp-content/plugins/fcchat/html/chat/index.php
- > /wp-content/plugins/fcchat/proxies/fcchat_wordpress_proxy2.php
- > /wp-content/plugins/fcchat/html/Upload.php
- 32× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include(./../config/fcchat-config.php): failed to open stream: No such file or directory in wp-content/plugins/fcchat/proxies/phpbb3_config_proxy.php on line 18
- > PHP Warning
require_once(wp-content/plugins/fcchat/proxies/../../../../../includes/bootstrap.inc): failed to open stream: No such file or directory in /var/www/wordpress/wp-content/plugins/fcchat/proxies/drupal_config_proxy.php on line 15
- > 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/fcchat/proxies/fcchat_phpbb3_proxy.php on line 52
- > PHP Warning
require_once(wp-content/plugins/fcchat/proxies/../../SSI.php): failed to open stream: No such file or directory in wp-content/plugins/fcchat/proxies/fcchat_smf_proxy.php on line 12
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/fcchat/proxies/../../../../../includes/bootstrap.inc' (include_path='.:/usr/share/php') in /var/www/wordpress/wp-content/plugins/fcchat/proxies/drupal.php on line 17
- > PHP Warning
include(./../../common.php): failed to open stream: No such file or directory in wp-content/plugins/fcchat/proxies/phpbb3_config_proxy.php on line 12
- > PHP Notice
Undefined variable: config in wp-content/plugins/fcchat/proxies/fcchat_phpbb3_proxy.php on line 40
- > PHP Notice
Undefined index: path in wp-content/plugins/fcchat/js/import.config.alt.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/fcchat/proxies/../../SSI.php' (include_path='.:/usr/share/php') in wp-content/plugins/fcchat/proxies/fcchat_smf_proxy.php on line 12
- > PHP Warning
include(): Failed opening './../../common.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/fcchat/proxies/fcchat_phpbb3_proxy.php on line 21
- > PHP Warning
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Here, in screenshot-1.png an expansive view of the available `FCChat Widget` control panel hs been provided for your viewing pleasure.), #2 (screenshot-2.png catches the `FCChat Widget` in some hot on-page action. Take care, number 7, your scene is next.), #3 (blue_silver.png The new blue silver style.)
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== fcchat ===
)
fcchat/wp-fcchat-widget.php 92% from 13 tests
The entry point to "FCChat Widget" version 3.8.6.6 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("fcchat.php" instead of "wp-fcchat-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin18,128 lines of code in 133 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 86 | 1,590 | 1,961 | 12,863 |
PHP | 24 | 410 | 412 | 2,498 |
HTML | 16 | 168 | 195 | 1,782 |
ASP | 4 | 138 | 85 | 821 |
CSS | 2 | 26 | 1 | 146 |
SVG | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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 | 49 | |
▷ Global constants | 49 | 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
565 compressed PNG files occupy 0.74MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
current_skin/flags/sj.png | 0.50KB | 0.62KB | 0.00% |
skins/default/flags/mk.png | 0.65KB | 0.74KB | 0.00% |
current_skin/flags/mp.png | 0.58KB | 0.70KB | 0.00% |
current_skin/flags/mc.png | 0.37KB | 0.54KB | 0.00% |
skins/default/flags/cy.png | 0.42KB | 0.45KB | 0.00% |