Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.30ms] Passed 4 tests
Server-side resources used by Live Chat (+ Chatbots) with Slack for Wordpress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.31 ▼3.90 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.24 ▼18.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 55.69 ▲10.21 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 96.64 ▼2.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.24 ▼4.13 |
Hybrid.Chat /wp-admin/options-general.php?page=aFhfc_options | 3.22 | 32.84 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Live Chat (+ Chatbots) with Slack for Wordpress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 14.42 ▲0.12 | 2.69 ▲0.54 | 50.21 ▲1.97 |
Dashboard /wp-admin | 2,207 ▲19 | 5.85 ▲0.85 | 121.05 ▲2.40 | 47.94 ▲2.56 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.98 ▼0.06 | 49.30 ▲7.49 | 52.57 ▲14.62 |
Add New Post /wp-admin/post-new.php | 1,414 ▼119 | 17.91 ▼3.28 | 697.45 ▼62.81 | 59.40 ▼14.73 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.12 ▼0.08 | 110.57 ▼27.03 | 46.15 ▼7.48 |
Hybrid.Chat /wp-admin/options-general.php?page=aFhfc_options | 840 | 2.17 | 34.52 | 41.31 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/hybrid-chat/Hybrid_Chat.php:59
- > PHP Notice
Undefined variable: plugin_id in wp-content/plugins/hybrid-chat/options.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/hybrid-chat/options.php:7
- > PHP Notice
Undefined variable: plugin_id in wp-content/plugins/hybrid-chat/options.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
hybrid-chat/Hybrid_Chat.php 92% from 13 tests
Analyzing the main PHP file in "Live Chat (+ Chatbots) with Slack for Wordpress" version 1.0
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("hybrid-chat.php" instead of "Hybrid_Chat.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected89 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 8 | 16 | 89 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.68 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 5 | 100.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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