< Summary

Information
Class: cat_cafe.Entities.Cat
Assembly: cat_cafe
File(s): C:\Users\draia\Documents\Dev\N3_CSHARP\cat_cafe\cat_cafe\Entities\Cat.cs
Line coverage
66%
Covered lines: 4
Uncovered lines: 2
Coverable lines: 6
Total lines: 15
Line coverage: 66.6%
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

File(s)

C:\Users\draia\Documents\Dev\N3_CSHARP\cat_cafe\cat_cafe\Entities\Cat.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace cat_cafe.Entities
 4{
 5    public class Cat
 6    {
 327        public long Id { get; set; }
 288        public string? Name { get; set; }
 9        [Required]
 2110        public int Age { get; set; } = 0;
 1811        public long? BarId { get; set; }
 012        public Bar? Bar { get; set; }
 013        public static string Meow { get; set; } = "meow";
 14    }
 15}

Methods/Properties

Id()
Name()
Age()
BarId()
Bar()
Meow()