Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.40ms] Passed 4 tests
Server-side resources used by AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.84 ▼1.96 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.16 ▼2.04 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 51.61 ▼0.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.65 ▼5.37 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.56 ▲2.92 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation: 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,816 ▲81 | 13.72 ▼0.58 | 1.61 ▼0.32 | 37.64 ▼10.89 |
Dashboard /wp-admin | 2,225 ▲34 | 5.86 ▲0.98 | 110.58 ▲5.49 | 36.83 ▼9.52 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.02 ▼0.00 | 39.44 ▲3.54 | 34.73 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.41 ▲0.36 | 630.36 ▲8.84 | 56.76 ▲12.03 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.28 ▲0.05 | 97.74 ▼3.20 | 41.00 ▼2.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/atonce-live-chat-crm-helpdesk-help-center-customer-service-automation/atonce-live-chat.php:54
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
atonce-live-chat-crm-helpdesk-help-center-customer-service-automation/atonce-live-chat.php 85% from 13 tests
The primary PHP file in "AtOnce - Live Chat, CRM & Helpdesk - Help Center & Customer Service Automation" version 1.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 78 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("atonce-live-chat-crm-helpdesk-help-center-customer-service-automation.php" instead of "atonce-live-chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin172 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 74 | 172 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin