| Class: | cCoder.AI.Models.Configurations.AIConfigurationExtensions |
|---|---|
| Assembly: | cCoder.AI |
| File(s): | C:/actions-runner/_work/cCoder.AI/cCoder.AI/src/cCoder.AI/Extensions/AIConfigurationExtensions.cs |
| Covered lines: | 145 |
|---|---|
| Uncovered lines: | 6 |
| Coverable lines: | 151 |
| Total lines: | 243 |
| Line coverage: | 96% |
| Covered branches: | 41 |
|---|---|
| Total branches: | 74 |
| Branch coverage: | 55.4% |
Feature is only available for sponsors
Upgrade to PRO version| Method | Branch coverage | Crap Score | Cyclomatic complexity | Line coverage |
|---|---|---|---|---|
| AddOllama(...) | 100% | 2 | 2 | 100% |
| AddOpenAI(...) | 100% | 2 | 2 | 100% |
| AddPeerLlm(...) | 100% | 2 | 2 | 100% |
| AddFoundry(...) | 100% | 2 | 2 | 100% |
| AddCodex(...) | 54.54% | 22 | 22 | 100% |
| AddProvider(...) | 100% | 1 | 1 | 100% |
| BuildCompletion(...) | 50% | 12 | 12 | 100% |
| BuildModel(...) | 50% | 8 | 8 | 100% |
| ValidateKey(...) | 50% | 2 | 2 | 66.66% |
| Coalesce(...) | 50% | 2 | 2 | 100% |
| AppendPath(...) | 50% | 2 | 2 | 100% |
| TrimKnownSuffix(...) | 50% | 6 | 6 | 100% |
| BuildFoundryCompletionEndpoint(...) | 41.66% | 37 | 12 | 44.44% |
File 'C:/actions-runner/_work/cCoder.AI/cCoder.AI/src/cCoder.AI/Extensions/AIConfigurationExtensions.cs' does not exist (any more).