< Summary

Class:MUNity.Database.Models.Conference.CommitteeTopic
Assembly:MUNity.Database
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Conference\CommitteeTopic.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:31
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0
Covered methods:6
Total methods:6
Method coverage:100% (6 of 6)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_CommitteeTopicId()100%1100%
get_TopicName()100%1100%
get_TopicFullName()100%1100%
get_TopicDescription()100%1100%
get_TopicCode()100%1100%
get_Committee()100%1100%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Conference\CommitteeTopic.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.ComponentModel.DataAnnotations.Schema;
 5using System.Linq;
 6using System.Text.Json.Serialization;
 7using System.Threading.Tasks;
 8
 9namespace MUNity.Database.Models.Conference;
 10
 11/// <summary>
 12/// A topic that this committee is discussing on the conference.
 13/// Every committee can discuss different topics.
 14/// </summary>
 15public class CommitteeTopic
 16{
 117    public int CommitteeTopicId { get; set; }
 18
 19    [MaxLength(150)]
 2420    public string TopicName { get; set; }
 21
 22    [MaxLength(250)]
 4623    public string TopicFullName { get; set; }
 24
 225    public string TopicDescription { get; set; }
 26
 27    [MaxLength(32)]
 228    public string TopicCode { get; set; }
 29
 330    public Committee Committee { get; set; }
 31}