< Summary

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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_PetitionTypeSimulationId()100%10%
get_Simulation()100%10%
get_PetitionType()100%10%
get_OrderIndex()100%10%
get_AllowChairs()100%10%
get_AllowDelegates()100%10%
get_AllowNgo()100%10%
get_AllowSpectator()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNityDatabase\Models\Simulation\PetitionTypeSimulation.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Threading.Tasks;
 5
 6namespace MUNity.Database.Models.Simulation;
 7
 8public class PetitionTypeSimulation
 9{
 010    public long PetitionTypeSimulationId { get; set; }
 11
 012    public Simulation Simulation { get; set; }
 13
 014    public PetitionType PetitionType { get; set; }
 15
 016    public int OrderIndex { get; set; }
 17
 018    public bool AllowChairs { get; set; } = false;
 19
 020    public bool AllowDelegates { get; set; } = true;
 21
 022    public bool AllowNgo { get; set; } = false;
 23
 024    public bool AllowSpectator { get; set; } = false;
 25}