< Summary

Information
Class: LGDXRobotCloud.Data.Entities.AutoTaskDetail
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/AutoTaskDetail.cs
Line coverage
100%
Covered lines: 9
Uncovered lines: 0
Coverable lines: 9
Total lines: 32
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
get_Id()100%11100%
get_Order()100%11100%
get_CustomX()100%11100%
get_CustomY()100%11100%
get_CustomRotation()100%11100%
get_Waypoint()100%11100%
get_WaypointId()100%11100%
get_AutoTask()100%11100%
get_AutoTaskId()100%11100%

File(s)

/builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/AutoTaskDetail.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3using Microsoft.EntityFrameworkCore;
 4
 5namespace LGDXRobotCloud.Data.Entities;
 6
 7[Table("Automation.AutoTaskDetails")]
 8[Index(nameof(Order))]
 9public class AutoTaskDetail
 10{
 11  [Key]
 12  [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 30813  public int Id { get; set; }
 14
 30515  public int Order { get; set; }
 16
 21717  public double? CustomX { get; set; }
 18
 14719  public double? CustomY { get; set; }
 20
 14721  public double? CustomRotation { get; set; }
 22
 23  [ForeignKey("WaypointId")]
 34124  public Waypoint? Waypoint { get; set; } = null!;
 25
 22326  public int? WaypointId { get; set; }
 27
 28  [ForeignKey("AutoTaskId")]
 30329  public AutoTask AutoTask { get; set; } = null!;
 30
 30131  public int AutoTaskId { get; set; }
 32}