< Summary

Information
Class: LGDXRobotCloud.Data.Entities.RobotChassisInfo
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/RobotChassisInfo.cs
Line coverage
100%
Covered lines: 11
Uncovered lines: 0
Coverable lines: 11
Total lines: 33
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_RobotTypeId()100%11100%
get_ChassisLengthX()100%11100%
get_ChassisLengthY()100%11100%
get_ChassisWheelCount()100%11100%
get_ChassisWheelRadius()100%11100%
get_BatteryCount()100%11100%
get_BatteryMaxVoltage()100%11100%
get_BatteryMinVoltage()100%11100%
get_Robot()100%11100%
get_RobotId()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace LGDXRobotCloud.Data.Entities;
 5
 6[Table("Navigation.RobotChassisInfos")]
 7public class RobotChassisInfo
 8{
 9  [Key]
 10  [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 2111  public int Id { get; set; }
 12
 2213  public int RobotTypeId { get; set; }
 14
 2215  public double ChassisLengthX { get; set; }
 16
 2217  public double ChassisLengthY { get; set; }
 18
 2219  public int ChassisWheelCount { get; set; }
 20
 2221  public double ChassisWheelRadius { get; set; }
 22
 2223  public int BatteryCount { get; set; }
 24
 2225  public double BatteryMaxVoltage { get; set; }
 26
 2227  public double BatteryMinVoltage { get; set; }
 28
 29  [ForeignKey("RobotId")]
 2130  public Robot Robot { get; set; } = null!;
 31
 2132  public Guid RobotId { get; set; }
 33}