< Summary - Kestrun — Combined Coverage

Information
Class: Kestrun.Languages.FSharpDelegateBuilder
Assembly: Kestrun
File(s): /home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Languages/FSharpDelegateBuilder.cs
Tag: Kestrun/Kestrun@2d87023b37eb91155071c91dd3d6a2eeb3004705
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 20
Line coverage: 100%
Branch coverage
75%
Covered branches: 3
Total branches: 4
Branch coverage: 75%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100 08/26/2025 - 01:25:22 Line coverage: 66.6% (2/3) Branch coverage: 25% (1/4) Total lines: 20 Tag: Kestrun/Kestrun@07f821172e5dc3657f1be7e6818f18d6721cf38a09/06/2025 - 18:30:33 Line coverage: 100% (3/3) Branch coverage: 75% (3/4) Total lines: 20 Tag: Kestrun/Kestrun@aeddbedb8a96e9137aac94c2d5edd011b57ac871 08/26/2025 - 01:25:22 Line coverage: 66.6% (2/3) Branch coverage: 25% (1/4) Total lines: 20 Tag: Kestrun/Kestrun@07f821172e5dc3657f1be7e6818f18d6721cf38a09/06/2025 - 18:30:33 Line coverage: 100% (3/3) Branch coverage: 75% (3/4) Total lines: 20 Tag: Kestrun/Kestrun@aeddbedb8a96e9137aac94c2d5edd011b57ac871

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
Build(...)75%44100%

File(s)

/home/runner/work/Kestrun/Kestrun/src/CSharp/Kestrun/Languages/FSharpDelegateBuilder.cs

#LineLine coverage
 1using Serilog.Events;
 2
 3namespace Kestrun.Languages;
 4// ---------------------------------------------------------------------------
 5//  Python delegate builder  –  now takes optional imports / references
 6// ---------------------------------------------------------------------------
 7
 8internal static class FSharpDelegateBuilder
 9{
 10    internal static RequestDelegate Build(string code, Serilog.ILogger logger)
 11    {
 12        // F# scripting not implemented yet
 113        if (logger.IsEnabled(LogEventLevel.Debug))
 14        {
 115            logger.Debug("Building F# delegate, script length={Length}", code?.Length);
 16        }
 17
 118        throw new NotImplementedException("F# scripting is not yet supported in Kestrun.");
 19    }
 20}