< Summary

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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_PetitionTypeId()100%10%
get_Name()100%10%
get_Description()100%10%
get_Reference()100%10%
get_Ruling()100%10%
get_Category()100%10%

File(s)

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

#LineLine coverage
 1using MUNity.Base;
 2using System;
 3using System.Collections.Generic;
 4using System.Linq;
 5using System.Threading.Tasks;
 6
 7namespace MUNity.Database.Models.Simulation;
 8
 9public class PetitionType
 10{
 11    /// <summary>
 12    /// The identifier of the Petition type.
 13    /// </summary>
 014    public int PetitionTypeId { get; set; }
 15
 16    /// <summary>
 17    /// A Name to Display this petition. For example: Right of information.
 18    /// </summary>
 019    public string Name { get; set; }
 20
 21    /// <summary>
 22    /// More information to give about this petition type
 23    /// </summary>
 024    public string Description { get; set; }
 25
 26    /// <summary>
 27    /// A Reference to where you get more information about this petition. This could be a link or
 28    /// a name of the paragraph insiide the rules of procedure.
 29    /// </summary>
 030    public string Reference { get; set; }
 31
 32    /// <summary>
 33    /// How do you get to vote on this Petitiontype
 34    /// </summary>
 035    public PetitionRulings Ruling { get; set; }
 36
 37    /// <summary>
 38    /// A category for the petitiontype
 39    /// </summary>
 040    public string Category { get; set; }
 41}