< Summary

Information
Class: LGDXRobotCloud.Data.Entities.Realm
Assembly: LGDXRobotCloud.Data
File(s): /builds/yukaitung/lgdxrobot2-cloud/LGDXRobotCloud.Data/Entities/Realm.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 8
Coverable lines: 8
Total lines: 34
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_Name()100%210%
get_Description()100%210%
get_Image()100%210%
get_Resolution()100%210%
get_OriginX()100%210%
get_OriginY()100%210%
get_OriginRotation()100%210%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace LGDXRobotCloud.Data.Entities;
 5
 6[Table("Navigation.Realms")]
 7public class Realm
 8{
 9  [Key]
 10  [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 011  public int Id { get; set; }
 12
 13  [MaxLength(50)]
 14  [Required]
 015  public string Name { get; set; } = null!;
 16
 17  [MaxLength(200)]
 018  public string? Description { get; set; }
 19
 20  [Required]
 021  public byte[] Image { get; set; } = null!;
 22
 23  [Required]
 024  public double Resolution { get; set; }
 25
 26  [Required]
 027  public double OriginX { get; set; }
 28
 29  [Required]
 030  public double OriginY { get; set; }
 31
 32  [Required]
 033  public double OriginRotation { get; set; }
 34}