< Summary

Information
Class: LGDXRobotCloud.Data.Contracts.RobotCommandsContract
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Contracts/RobotCommandsContract.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 16
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_RobotId()100%210%
get_RealmId()100%210%
get_Commands()100%210%

File(s)

/builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Contracts/RobotCommandsContract.cs

#LineLine coverage
 1namespace LGDXRobotCloud.Data.Contracts;
 2
 3public record RobotCommands
 4{
 5  public bool AbortTask { get; set; }
 6  public bool RenewCertificate { get; set; }
 7  public bool SoftwareEmergencyStop { get; set; }
 8  public bool PauseTaskAssigement { get; set; }
 9}
 10
 11public record RobotCommandsContract
 12{
 013  public required Guid RobotId { get; set; }
 014  public required int RealmId { get; set; }
 015  public RobotCommands Commands { get; set; } = new();
 16}