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.03MB] [CPU: ▼3.05ms] Passed 4 tests
A check of server-side resources used by Slack and Microsoft Teams Live Chat widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.32 ▼1.01 |
Dashboard /wp-admin | 3.34 ▲0.03 | 44.53 ▼0.32 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.65 ▲2.46 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.96 ▼13.34 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.33 ▲2.83 |
SignalZen /wp-admin/options-general.php?page=signalzen_fields | 3.22 | 31.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
name_form_subject |
name_form_to |
Browser metrics Passed 4 tests
Slack and Microsoft Teams Live Chat widget: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.27 ▼1.04 | 1.78 ▼0.38 | 39.60 ▼3.18 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼1.01 | 111.44 ▲9.45 | 39.09 ▼6.60 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.06 ▲0.09 | 41.54 ▲0.20 | 38.48 ▲2.60 |
Add New Post /wp-admin/post-new.php | 1,517 ▼19 | 17.55 ▼5.55 | 659.68 ▼0.82 | 50.06 ▼14.89 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.39 ▲0.23 | 95.00 ▲2.53 | 44.27 ▲2.05 |
SignalZen /wp-admin/options-general.php?page=signalzen_fields | 830 | 2.03 | 22.85 | 28.93 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- name_form_subject
- name_form_to
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/signalzen/signalzen.php:29
- > 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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: microsoft teams, slack chat, live chat widget, teams live chat, slack live chat...
signalzen/signalzen.php Passed 13 tests
"Slack and Microsoft Teams Live Chat widget" version 3.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
62 characters long description:
Integration plugin with live chat solution from signalzen.com.
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
Success! There were no dangerous files found in this plugin103 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 22 | 103 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin