using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace OpenCover.Framework.Model
{
///
/// A summary of results
///
public class Summary
{
///
/// The number of sequence points
///
[XmlAttribute("numSequencePoints")]
public int NumSequencePoints { get; set; }
///
/// The number of sequence points visited
///
[XmlAttribute("visitedSequencePoints")]
public int VisitedSequencePoints { get; set; }
///
/// The number of branch points
///
[XmlAttribute("numBranchPoints")]
public int NumBranchPoints { get; set; }
///
/// The number of branch points visited
///
[XmlAttribute("visitedBranchPoints")]
public int VisitedBranchPoints { get; set; }
///
/// What is the sequence coverage?
///
/// Rounded for ease
[XmlAttribute("sequenceCoverage")]
public decimal SequenceCoverage { get; set; }
///
/// What is the branch coverage?
///
/// Rounded for ease
[XmlAttribute("branchCoverage")]
public decimal BranchCoverage { get; set; }
///
/// What is the maximum cyclomatic complexity.
///
/// Calculated using the Gendarme rules library
[XmlAttribute("maxCyclomaticComplexity")]
public int MaxCyclomaticComplexity { get; set; }
///
/// What is the minimum cyclomatic complexity.
///
/// Calculated using the Gendarme rules library
[XmlAttribute("minCyclomaticComplexity")]
public int MinCyclomaticComplexity { get; set; }
///
/// What is the maximum crap score
///
[XmlAttribute("maxCrapScore")]
public decimal MaxCrapScore { get; set; }
///
/// What is the minimum crap score.
///
[XmlAttribute("minCrapScore")]
public decimal MinCrapScore { get; set; }
///
/// What is the number of visited classes
///
[XmlAttribute("visitedClasses")]
public int VisitedClasses { get; set; }
///
/// What is the total number of classes
///
[XmlAttribute("numClasses")]
public int NumClasses { get; set; }
///
/// What is the number of visited methods
///
[XmlAttribute("visitedMethods")]
public int VisitedMethods { get; set; }
///
/// What is the total number of methods
///
[XmlAttribute("numMethods")]
public int NumMethods { get; set; }
}
}