Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/index.php+190
Methods with the same name as their class will not be constructors in a future version of PHP; Click4Assistance_Widget has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼192.61ms] Passed 4 tests
A check of server-side resources used by Click4Assistance Live Web Chat Software UK Provider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.80 ▼0.93 | 5.68 ▼12.61 |
Dashboard /wp-admin | 1.82 ▼1.24 | 5.63 ▼43.56 |
Posts /wp-admin/edit.php | 1.82 ▼1.30 | 6.71 ▼37.99 |
Add New Post /wp-admin/post-new.php | 1.82 ▼3.62 | 5.19 ▼655.03 |
Media Library /wp-admin/upload.php | 1.82 ▼1.20 | 4.80 ▼33.86 |
Click4Assistance /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel | 1.82 | 6.19 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 2 new options
New WordPress options |
---|
Click4Assistance_plugin_Account_GUID |
widget_click4assistance-widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Click4Assistance Live Web Chat Software UK Provider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,753 ▲157 | 15.84 ▲0.21 | 12.13 ▲2.23 | 66.90 ▲18.63 |
Dashboard /wp-admin | 2,972 ▲35 | 5.92 ▼0.20 | 136.44 ▼10.91 | 104.57 ▼8.46 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 61.70 ▼0.94 | 93.78 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,618 ▼54 | 21.96 ▲3.26 | 265.72 ▼95.19 | 102.54 ▼7.73 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.01 ▼0.05 | 140.21 ▼23.44 | 109.11 ▼7.63 |
Click4Assistance /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel | 1,072 | 2.09 | 55.82 | 62.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/index.php+190
Methods with the same name as their class will not be constructors in a future version of PHP; Click4Assistance_Widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 1 option
- widget_click4assistance-widget
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel
- > Deprecated in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/index.php+190
Methods with the same name as their class will not be constructors in a future version of PHP; Click4Assistance_Widget has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel
- > Notice in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/Click4Assistance_import_admin.php+26
Undefined index: Click4Assistance_plugin_hidden
- > GET request to /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=Click4Assistance_Settings_Panel
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: Click4Assistance_plugin_hidden in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/Click4Assistance_import_admin.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/Click4Assistance_import_admin.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/click4assistance-live-chat-real-time-visitor-monitoring/index.php:15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Donate link: Please fix this invalid URI: ""
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== click4assistance-live-chat-real-time-visitor-monitoring ===
)
click4assistance-live-chat-real-time-visitor-monitoring/index.php 85% from 13 tests
The main file in "Click4Assistance Live Web Chat Software UK Provider" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 633 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("click4assistance-live-chat-real-time-visitor-monitoring.php" instead of "index.php")
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 plugin154 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 251 | 26 | 154 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin