Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.90ms] Passed 4 tests
An overview of server-side resources used by JustAsq - Chatbot Powered Live Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.43 ▼5.12 |
Dashboard /wp-admin | 3.36 ▲0.06 | 43.87 ▼2.50 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.07 ▼4.00 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 91.22 ▲5.78 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.30 ▲4.04 |
JustAsq /wp-admin/options-general.php?page=justasq | 3.26 | 35.17 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for JustAsq - Chatbot Powered Live Chat
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 13.58 ▼0.78 | 8.16 ▲5.67 | 42.89 ▲1.91 |
Dashboard /wp-admin | 2,214 ▲23 | 5.84 ▼0.06 | 99.43 ▼13.53 | 38.44 ▼4.61 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.01 | 40.05 ▲5.02 | 36.41 ▲2.30 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.40 ▲0.36 | 604.62 ▼65.81 | 61.40 ▲11.45 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.20 ▼0.00 | 94.26 ▼3.99 | 40.16 ▼4.24 |
JustAsq /wp-admin/options-general.php?page=justasq | 849 | 2.03 | 27.51 | 26.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=justasq
- > Notice in wp-content/plugins/justasq/admin/partials/justasq-admin-display.php+24
Trying to access array offset on value of type bool
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/justasq/public/partials/justasq-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/justasq/admin/partials/justasq-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
justasq/justasq.php Passed 13 tests
The entry point to "JustAsq - Chatbot Powered Live Chat" version 1.0.1 is a PHP file that has certain tags in its header comment area
91 characters long description:
This plugin for WordPress helps users intergrate JustAsq into their WordPress powered site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin259 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 120 | 518 | 237 |
JavaScript | 2 | 6 | 54 | 20 |
Markdown | 1 | 1 | 0 | 2 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 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
There were not PNG files found in your plugin