< Summary

Information
Class: LGDXRobotCloud.Data.Entities.RobotSystemInfo
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/RobotSystemInfo.cs
Line coverage
100%
Covered lines: 12
Uncovered lines: 0
Coverable lines: 12
Total lines: 41
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_Cpu()100%11100%
get_IsLittleEndian()100%11100%
get_Motherboard()100%11100%
get_MotherboardSerialNumber()100%11100%
get_RamMiB()100%11100%
get_Gpu()100%11100%
get_Os()100%11100%
get_Is32Bit()100%11100%
get_McuSerialNumber()100%11100%
get_Robot()100%11100%
get_RobotId()100%11100%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace LGDXRobotCloud.Data.Entities;
 5
 6[Table("Navigation.RobotSystemInfos")]
 7public class RobotSystemInfo
 8{
 9  [Key]
 10  [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 2211  public int Id { get; set; }
 12
 13  [MaxLength(100)]
 4414  public string Cpu { get; set; } = null!;
 15
 2316  public bool IsLittleEndian { get; set; }
 17
 18  [MaxLength(100)]
 4419  public string Motherboard { get; set; } = null!;
 20
 21  [MaxLength(100)]
 4422  public string MotherboardSerialNumber { get; set; } = null!;
 23
 2324  public int RamMiB { get; set; }
 25
 26  [MaxLength(100)]
 2327  public string? Gpu { get; set; }
 28
 29  [MaxLength(100)]
 4430  public string Os { get; set; } = null!;
 31
 2332  public bool Is32Bit { get; set; }
 33
 34  [MaxLength(100)]
 4435  public string? McuSerialNumber { get; set; } = null!;
 36
 37  [ForeignKey("RobotId")]
 2138  public Robot Robot { get; set; } = null!;
 39
 2340  public Guid RobotId { get; set; }
 41}