Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼49.95ms] Passed 4 tests
Server-side resources used by Chative Live chat and Chatbot
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 54.05 ▼38.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 62.42 ▼40.41 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 60.72 ▼44.36 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 102.45 ▼76.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 50.59 ▼10.39 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Chative Live chat and Chatbot: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲44 | 13.35 ▼1.16 | 4.58 ▲0.70 | 46.95 ▼28.01 |
Dashboard /wp-admin | 2,242 ▲42 | 5.88 ▲0.03 | 103.31 ▼75.24 | 43.08 ▼45.29 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.02 ▲0.01 | 46.32 ▼19.38 | 35.25 ▼32.18 |
Add New Post /wp-admin/post-new.php | 1,537 ▲176 | 18.37 ▲1.59 | 826.92 ▼690.75 | 71.95 ▼74.16 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.24 ▲0.01 | 106.41 ▼12.19 | 47.57 ▼5.65 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/chative-live-chat-and-chatbot/chative-plugin.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/chative-live-chat-and-chatbot/templates/widget.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
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 (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
chative-live-chat-and-chatbot/chative-plugin.php 85% from 13 tests
Analyzing the main PHP file in "Chative Live chat and Chatbot" version 1.0.3
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("chative-live-chat-and-chatbot.php" instead of "chative-plugin.php")
- Description: The description should be shorter than 140 characters (currently 189 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected108 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 28 | 82 |
JavaScript | 1 | 1 | 1 | 19 |
CSS | 1 | 1 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin