/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.testtools.codecoverage@1.2.6/Editor/CoverageFormats/OpenCover/Model/Summary.cs
103 строки
3 KB
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; namespace OpenCover.Framework.Model { /// <summary> /// A summary of results /// </summary> public class Summary { /// <summary> /// The number of sequence points /// </summary> [XmlAttribute("numSequencePoints")] public int NumSequencePoints { get; set; } /// <summary> /// The number of sequence points visited /// </summary> [XmlAttribute("visitedSequencePoints")] public int VisitedSequencePoints { get; set; } /// <summary> /// The number of branch points /// </summary> [XmlAttribute("numBranchPoints")] public int NumBranchPoints { get; set; } /// <summary> /// The number of branch points visited /// </summary> [XmlAttribute("visitedBranchPoints")] public int VisitedBranchPoints { get; set; } /// <summary> /// What is the sequence coverage? /// </summary> /// <remarks>Rounded for ease</remarks> [XmlAttribute("sequenceCoverage")] public decimal SequenceCoverage { get; set; } /// <summary> /// What is the branch coverage? /// </summary> /// <remarks>Rounded for ease</remarks> [XmlAttribute("branchCoverage")] public decimal BranchCoverage { get; set; } /// <summary> /// What is the maximum cyclomatic complexity. /// </summary> /// <remarks>Calculated using the Gendarme rules library</remarks> [XmlAttribute("maxCyclomaticComplexity")] public int MaxCyclomaticComplexity { get; set; } /// <summary> /// What is the minimum cyclomatic complexity. /// </summary> /// <remarks>Calculated using the Gendarme rules library</remarks> [XmlAttribute("minCyclomaticComplexity")] public int MinCyclomaticComplexity { get; set; } /// <summary> /// What is the maximum crap score /// </summary> [XmlAttribute("maxCrapScore")] public decimal MaxCrapScore { get; set; } /// <summary> /// What is the minimum crap score. /// </summary> [XmlAttribute("minCrapScore")] public decimal MinCrapScore { get; set; } /// <summary> /// What is the number of visited classes /// </summary> [XmlAttribute("visitedClasses")] public int VisitedClasses { get; set; } /// <summary> /// What is the total number of classes /// </summary> [XmlAttribute("numClasses")] public int NumClasses { get; set; } /// <summary> /// What is the number of visited methods /// </summary> [XmlAttribute("visitedMethods")] public int VisitedMethods { get; set; } /// <summary> /// What is the total number of methods /// </summary> [XmlAttribute("numMethods")] public int NumMethods { get; set; } } }