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.61MB] [CPU: ▼16.63ms] Passed 4 tests
This is a short check of server-side resources used by Chatbot & Live Chat for WordPress - REVE Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.95 ▼7.23 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.48 ▼4.71 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 49.12 ▲1.81 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.64 | 39.48 ▼56.25 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.40 ▲1.68 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Chatbot & Live Chat for WordPress - REVE Chat
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.33 ▼0.98 | 1.73 ▼0.45 | 39.40 ▼8.85 |
Dashboard /wp-admin | 2,219 ▲31 | 5.06 ▼0.84 | 104.80 ▼2.36 | 73.76 ▲27.34 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.32 ▲0.31 | 40.09 ▲3.42 | 37.66 ▲3.44 |
Add New Post /wp-admin/post-new.php | 1,537 ▲18 | 23.31 ▲0.05 | 680.47 ▲0.21 | 38.39 ▼13.61 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.45 ▲0.23 | 100.19 ▼3.60 | 73.61 ▲31.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revechat/revechat.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (90 tag instead of maximum 10)
revechat/revechat.php 92% from 13 tests
The primary PHP file in "Chatbot & Live Chat for WordPress - REVE Chat" version 6.2.2 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 456 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,101 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 91 | 41 | 419 |
CSS | 2 | 1 | 1 | 375 |
PHP | 1 | 130 | 97 | 290 |
SVG | 1 | 0 | 0 | 16 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.24MB with 0.14MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 6.28KB | 3.10KB | ▼ 50.57% |
assets/images/favicon.png | 1.24KB | 0.47KB | ▼ 62.20% |
assets/images/flags.png | 67.55KB | 23.95KB | ▼ 64.54% |
assets/images/flags@2x.png | 169.18KB | 65.55KB | ▼ 61.26% |