< Summary

Information
Class: NexusLabs.Needlr.Copilot.WebSearchQuery
Assembly: NexusLabs.Needlr.Copilot
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Copilot/WebSearchQuery.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 24
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
.ctor(...)100%11100%
get_Text()100%11100%
get_Url()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.Copilot/WebSearchQuery.cs

#LineLine coverage
 1namespace NexusLabs.Needlr.Copilot;
 2
 3/// <summary>
 4/// Represents a Bing search query that the Copilot web search tool performed
 5/// while answering the user's question.
 6/// </summary>
 7public sealed class WebSearchQuery
 8{
 59    internal WebSearchQuery(string text, string url)
 10    {
 511        Text = text;
 512        Url = url;
 513    }
 14
 15    /// <summary>
 16    /// The search query text that was sent to Bing.
 17    /// </summary>
 318    public string Text { get; }
 19
 20    /// <summary>
 21    /// The Bing search URL for the query.
 22    /// </summary>
 123    public string Url { get; }
 24}