< Summary

Class:MUNity.Database.Models.Conference.ConferenceApplicationFormula
Assembly:MUNity.Database
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Conference\ConferenceApplicationFormula.cs
Covered lines:8
Uncovered lines:3
Coverable lines:11
Total lines:42
Line coverage:72.7% (8 of 11)
Covered branches:0
Total branches:0
Covered methods:8
Total methods:11
Method coverage:72.7% (8 of 11)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_ConferenceApplicationFormulaId()100%10%
get_Options()100%1100%
get_FormulaType()100%10%
get_PreContent()100%1100%
get_PostContent()100%1100%
get_Title()100%1100%
get_RequiresName()100%1100%
get_RequiresAddress()100%1100%
get_RequiresSchool()100%10%
get_MaxWishes()100%1100%
get_Fields()100%1100%

File(s)

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

#LineLine coverage
 1using System.Collections.Generic;
 2using System.Linq;
 3using System.Text;
 4using System.Threading.Tasks;
 5using MUNity.Base;
 6using MUNity.Database.Models.Conference;
 7
 8namespace MUNity.Database.Models.Conference;
 9
 10public class ConferenceApplicationFormula
 11{
 012    public int ConferenceApplicationFormulaId { get; set; }
 13
 114    public ConferenceApplicationOptions Options { get; set; }
 15
 016    public ConferenceApplicationFormulaTypes FormulaType { get; set; }
 17
 118    public string PreContent { get; set; }
 19
 120    public string PostContent { get; set; }
 21
 122    public string Title { get; set; }
 23
 24    /// <summary>
 25    /// Should the user that applies for this role have a Fore and Lastname set
 26    /// </summary>
 127    public bool RequiresName { get; set; }
 28
 29    /// <summary>
 30    /// Should the user that applies have an address set in their profile
 31    /// </summary>
 132    public bool RequiresAddress { get; set; }
 33
 34    /// <summary>
 35    /// Is the user required to input a school into their profile.
 36    /// </summary>
 037    public bool RequiresSchool { get; set; }
 38
 139    public int? MaxWishes { get; set; }
 40
 541    public ICollection<ConferenceApplicationField> Fields { get; set; }
 42}