< Summary

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

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)]
 011  public int Id { get; set; }
 12
 013  public int RobotTypeId { get; set; }
 14
 015  public double ChassisLengthX { get; set; }
 16
 017  public double ChassisLengthY { get; set; }
 18
 019  public int ChassisWheelCount { get; set; }
 20
 021  public double ChassisWheelRadius { get; set; }
 22
 023  public int BatteryCount { get; set; }
 24
 025  public double BatteryMaxVoltage { get; set; }
 26
 027  public double BatteryMinVoltage { get; set; }
 28
 29  [ForeignKey("RobotId")]
 030  public Robot Robot { get; set; } = null!;
 31
 032  public Guid RobotId { get; set; }
 33}