| Class: | Elsa.Extensions.StringExtensions |
|---|---|
| Assembly: | Elsa.Common |
| File(s): | /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Common/Extensions/StringExtensions.cs |
| Covered lines: | 3 |
|---|---|
| Uncovered lines: | 1 |
| Coverable lines: | 4 |
| Total lines: | 10 |
| Line coverage: | 75% |
| Covered branches: | 5 |
|---|---|
| Total branches: | 8 |
| Branch coverage: | 62.5% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| WithDefault(...) | 0% | 6 | 2 | 0% |
| EmptyIfNull(...) | 100% | 2 | 2 | 100% |
| NullIfEmpty(...) | 50% | 2 | 2 | 100% |
| NullIfWhiteSpace(...) | 100% | 2 | 2 | 100% |