< Summary

Information
Class: GistBackend.Handlers.ChromaDbHandler.ChromaDbHandlerOptions
Assembly: GistBackend
File(s): /home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Handlers/ChromaDbHandler/ChromaDbHandlerOptions.cs
Line coverage
100%
Covered lines: 7
Uncovered lines: 0
Coverable lines: 7
Total lines: 12
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Server()100%11100%
get_ServerAuthnCredentials()100%11100%
get_Port()100%11100%
get_GistsTenantName()100%11100%
get_GistsDatabaseName()100%11100%
get_GistsCollectionName()100%11100%
get_CredentialsHeaderName()100%11100%

File(s)

/home/runner/work/the-gist-of-it-sec/the-gist-of-it-sec/backend/GistBackend/Handlers/ChromaDbHandler/ChromaDbHandlerOptions.cs

#LineLine coverage
 1namespace GistBackend.Handlers.ChromaDbHandler;
 2
 3public record ChromaDbHandlerOptions
 4{
 1185    public string Server { get; init; } = "";
 1246    public string ServerAuthnCredentials { get; init; } = "";
 907    public uint Port { get; init; } = 8000;
 688    public string GistsTenantName { get; init; } = "the_gist_of_it_sec";
 689    public string GistsDatabaseName { get; init; } = "the_gist_of_it_sec";
 6610    public string GistsCollectionName { get; init; } = "gist_text_contents";
 6811    public string CredentialsHeaderName { get; init; } = "X-Chroma-Token";
 12}