< Summary - pva.SuperV

Information
Class: pva.SuperV.Engine.Exceptions.ScriptSyntaxErrorException
Assembly: pva.SuperV.Engine
File(s): /home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Engine/Exceptions/ScriptSyntaxErrorException.cs
Tag: dotnet-ubuntu_22190969454
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 28
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%

File(s)

/home/runner/work/pva.SuperV/pva.SuperV/pva.SuperV.Engine/Exceptions/ScriptSyntaxErrorException.cs

#LineLine coverage
 1using System.Diagnostics.CodeAnalysis;
 2
 3namespace pva.SuperV.Engine.Exceptions
 4{
 5    public class ScriptSyntaxErrorException : SuperVException
 6    {
 7        public ScriptSyntaxErrorException(string message, string line, int errorPosition)
 28            : base($"Syntax error ({message}) at position {errorPosition} in {line}.")
 29        {
 210        }
 11
 12        [ExcludeFromCodeCoverage]
 13        public ScriptSyntaxErrorException(string? message) : base(message)
 14        {
 15        }
 16
 17        [ExcludeFromCodeCoverage]
 18        public ScriptSyntaxErrorException()
 19        {
 20        }
 21
 22        [ExcludeFromCodeCoverage]
 23        public ScriptSyntaxErrorException(string? message, Exception? innerException) : base(message, innerException)
 24        {
 25        }
 26
 27    }
 28}