Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.58ms] Passed 4 tests
A check of server-side resources used by Hiver Chat
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 38.89 ▼2.98 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.00 ▼2.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 49.23 ▼4.87 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.01 | 82.39 ▼12.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 35.39 ▲0.26 |
Hiver Chat /wp-admin/options-general.php?page=hiver-chat | 3.21 | 31.95 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Hiver Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▲0.22 | 2.21 ▲0.29 | 42.35 ▼0.63 |
Dashboard /wp-admin | 2,199 ▲22 | 5.58 ▼0.04 | 84.40 ▼1.54 | 38.66 ▼6.08 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 37.82 ▼0.29 | 37.32 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.36 ▲0.05 | 655.83 ▼35.66 | 49.22 ▼9.16 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▼0.06 | 97.51 ▼10.43 | 41.02 ▼3.90 |
Hiver Chat /wp-admin/options-general.php?page=hiver-chat | 842 | 2.05 | 26.51 | 25.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
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
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/hiver-chat/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hiver-chat/hiverchat.php:22
- > 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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: hiver, booking, bot, appointment, support bot...
hiver-chat/hiverchat.php 92% from 13 tests
The entry point to "Hiver Chat" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("hiver-chat.php" instead of "hiverchat.php")
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
No dangerous file extensions were detected152 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 14 | 12 | 120 |
Markdown | 1 | 11 | 0 | 32 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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