< Summary

Information
Class: OzonDomains.Models.EtProducer
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/EtProducer.cs
Line coverage
100%
Covered lines: 12
Uncovered lines: 0
Coverable lines: 12
Total lines: 37
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_RealId()100%11100%
get_Prefix()100%11100%
get_Name()100%11100%
get_Address()100%11100%
get_Www()100%11100%
get_Rating()100%11100%
get_ExistName()100%11100%
get_ExistId()100%11100%
get_Domain()100%11100%
get_TecdocSupplierId()100%11100%
get_MarketPrefix()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/EtProducer.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models;
 5
 6[Table("et_producers")]
 7public class EtProducer
 8{
 9    [Key]
 10    [Column("id")]
 11    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 14712    public int Id { get; set; }
 13
 12414    [Column("realid")] public int RealId { get; set; }
 15
 46116    [Column("prefix")] [MaxLength(20)] public string Prefix { get; set; } = string.Empty;
 17
 73918    [Column("name")] [MaxLength(100)] public string Name { get; set; } = string.Empty;
 19
 42920    [Column("address")] [MaxLength(100)] public string Address { get; set; } = string.Empty;
 21
 42722    [Column("www")] [MaxLength(100)] public string Www { get; set; } = string.Empty;
 23
 12824    [Column("rating")] public int Rating { get; set; }
 25
 42826    [Column("existName")] [MaxLength(100)] public string ExistName { get; set; } = string.Empty;
 27
 11228    [Column("existId")] public int ExistId { get; set; }
 29
 43230    [Column("domain")] [MaxLength(100)] public string Domain { get; set; } = string.Empty;
 31
 13632    [Column("tecdocSupplierId")] public int TecdocSupplierId { get; set; }
 33
 34    [Column("marketPrefix")]
 35    [MaxLength(3)]
 44436    public string MarketPrefix { get; set; } = string.Empty;
 37}