< Summary

Information
Class: Backend.DTOs.CategoryDto
Assembly: Backend
File(s): D:\a\smart-meal-planner\smart-meal-planner\backend\Backend\DTOs\CategoryDto.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 8
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_Name()100%1100%

File(s)

D:\a\smart-meal-planner\smart-meal-planner\backend\Backend\DTOs\CategoryDto.cs

#LineLine coverage
 1namespace Backend.DTOs
 2{
 3    public class CategoryDto
 4    {
 25        public int Id { get; set; }
 26        public string Name { get; set; } = null!;
 7    }
 8}

Methods/Properties

get_Id()
get_Name()