< Summary

Information
Class: Elsa.Expressions.CSharp.Activities.RunCSharpOptionsProvider
Assembly: Elsa.Expressions.CSharp
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.CSharp/Activities/RunCSharp/RunCSharpOptionsProvider.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 10
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
GetLanguage(...)100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Expressions.CSharp/Activities/RunCSharp/RunCSharpOptionsProvider.cs

#LineLine coverage
 1using System.Reflection;
 2using Elsa.Workflows.UIHints.CodeEditor;
 3
 4// ReSharper disable once CheckNamespace
 5namespace Elsa.Expressions.CSharp.Activities;
 6
 7internal class RunCSharpOptionsProvider : CodeEditorOptionsProviderBase
 8{
 29    protected override string GetLanguage(PropertyInfo propertyInfo, object? context) => "csharp";
 10}