< Summary

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

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)]
 011  public int Id { get; set; }
 12
 13  [MaxLength(100)]
 014  public string Cpu { get; set; } = null!;
 15
 016  public bool IsLittleEndian { get; set; }
 17
 18  [MaxLength(100)]
 019  public string Motherboard { get; set; } = null!;
 20
 21  [MaxLength(100)]
 022  public string MotherboardSerialNumber { get; set; } = null!;
 23
 024  public int RamMiB { get; set; }
 25
 26  [MaxLength(100)]
 027  public string? Gpu { get; set; }
 28
 29  [MaxLength(100)]
 030  public string Os { get; set; } = null!;
 31
 032  public bool Is32Bit { get; set; }
 33
 34  [MaxLength(100)]
 035  public string? McuSerialNumber { get; set; } = null!;
 36
 37  [ForeignKey("RobotId")]
 038  public Robot Robot { get; set; } = null!;
 39
 040  public Guid RobotId { get; set; }
 41}