< Summary

Information
Class: Backend.Model.User
Assembly: Backend
File(s): D:\a\smart-meal-planner\smart-meal-planner\backend\Backend\Model\User.cs
Line coverage
100%
Covered lines: 6
Uncovered lines: 0
Coverable lines: 6
Total lines: 13
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 Cyclomatic complexity Line coverage
get_Id()100%1100%
get_Email()100%1100%
get_PasswordHash()100%1100%
get_PantryItems()100%1100%
get_Recipes()100%1100%
get_MealPlans()100%1100%

File(s)

D:\a\smart-meal-planner\smart-meal-planner\backend\Backend\Model\User.cs

#LineLine coverage
 1namespace Backend.Model
 2{
 3    public class User
 4    {
 425        public int Id { get; set; }
 556        public string Email { get; set; } = null!;
 417        public string PasswordHash { get; set; } = null!;
 8
 449        public ICollection<PantryItem> PantryItems { get; set; } = new List<PantryItem>();
 4410        public ICollection<Recipe> Recipes { get; set; } = new List<Recipe>();
 4411        public ICollection<MealPlan> MealPlans { get; set; } = new List<MealPlan>();
 12    }
 13}