Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function '' not found or invalid function name
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.03ms] Passed 4 tests
This is a short check of server-side resources used by SaleSmartly – Live Chat & Chat Bot Integrate
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.85 ▲3.72 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.82 ▼1.97 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 51.80 ▲1.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 87.12 ▼6.74 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.50 ▼1.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for SaleSmartly – Live Chat & Chat Bot Integrate
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.57 ▼0.72 | 1.82 ▲0.13 | 43.03 ▼0.98 |
Dashboard /wp-admin | 2,221 ▲15 | 4.86 ▲0.01 | 110.29 ▲0.17 | 39.26 ▼4.49 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.06 | 39.88 ▲6.53 | 33.20 ▼5.62 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 18.30 ▲0.50 | 649.28 ▼57.49 | 50.90 ▼5.50 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.21 ▼0.02 | 108.45 ▼3.08 | 46.85 ▼1.72 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 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/salesmartly-chat/salesmartly.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
salesmartly-chat/salesmartly.php 85% from 13 tests
"SaleSmartly – Live Chat & Chat Bot Integrate" version 1.2.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 198 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("salesmartly-chat.php" instead of "salesmartly.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin364 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 100 | 111 | 364 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 8 | 25.00% |
▷ Public methods | 24 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 25.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin