< Summary - Combined Code Coverage

Information
Class: NLightning.Infrastructure.Bitcoin.Options.FeeEstimationOptions
Assembly: NLightning.Infrastructure.Bitcoin
File(s): /home/runner/work/NLightning/NLightning/src/NLightning.Infrastructure.Bitcoin/Options/FeeEstimationOptions.cs
Tag: 57_24045730253
Line coverage
0%
Covered lines: 0
Uncovered lines: 8
Coverable lines: 8
Total lines: 13
Line coverage: 0%
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_Url()100%210%
get_Method()100%210%
get_Body()100%210%
get_ContentType()100%210%
get_PreferredFeeRate()100%210%
get_CacheFile()100%210%
get_CacheExpiration()100%210%
get_RateMultiplier()100%210%

File(s)

/home/runner/work/NLightning/NLightning/src/NLightning.Infrastructure.Bitcoin/Options/FeeEstimationOptions.cs

#LineLine coverage
 1namespace NLightning.Infrastructure.Bitcoin.Options;
 2
 3public class FeeEstimationOptions
 4{
 05    public string Url { get; set; } = "https://mempool.space/api/v1/fees/recommended";
 06    public string Method { get; set; } = "GET";
 07    public string Body { get; set; } = string.Empty;
 08    public string ContentType { get; set; } = "application/json";
 09    public string PreferredFeeRate { get; set; } = "fastestFee";
 010    public string CacheFile { get; set; } = "fee_estimation_cache.bin";
 011    public string CacheExpiration { get; set; } = "5m"; // 5 minutes
 012    public string RateMultiplier { get; set; } = "1000";
 13}