< Summary

Information
Class: LGDXRobotCloud.Data.Models.Redis.SlamData
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Models/Redis/SlamDataContract.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 20
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_RobotId()100%210%
get_RealmId()100%210%
get_SlamStatus()100%210%
get_MapData()100%210%

File(s)

/builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Models/Redis/SlamDataContract.cs

#LineLine coverage
 1using LGDXRobotCloud.Utilities.Enums;
 2
 3namespace LGDXRobotCloud.Data.Models.Redis;
 4
 5public record MapData
 6{
 7  public float Resolution { get; set; }
 8  public uint Width { get; set; }
 9  public uint Height { get; set; }
 10  public RobotDof Origin { get; set; } = new();
 11  public List<short> Data { get; set; } = [];
 12}
 13
 14public record SlamData
 15{
 016  public Guid RobotId { get; set; }
 017  public int RealmId { get; set; }
 018  public SlamStatus SlamStatus { get; set; }
 019  public MapData? MapData { get; set; }
 20}