Share via


CoverageStatistics Structure

Represents the code coverage statistics for a method. This class and its members are reserved for internal use and are not intended to be used in your code.

Namespace:  Microsoft.VisualStudio.Coverage.Analysis
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Structure CoverageStatistics _
    Implements IEquatable(Of CoverageStatistics)
public struct CoverageStatistics : IEquatable<CoverageStatistics>
public value class CoverageStatistics : IEquatable<CoverageStatistics>
[<SealedAttribute>]
type CoverageStatistics =  
    struct
        interface IEquatable<CoverageStatistics>
    end
JScript supports the use of structures, but not the declaration of new ones.

The CoverageStatistics type exposes the following members.

Properties

  Name Description
Public property BlocksCovered Gets or sets the number of code blocks that are covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property BlocksNotCovered Gets or sets the number of code blocks that are not covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property LinesCovered Gets or sets the number of lines that are covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property LinesNotCovered Gets or sets the number of lines that are not covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.
Public property LinesPartiallyCovered Gets or sets the number of lines that are partially covered for the method. This class and its members are reserved for internal use and are not intended to be used in your code.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current coverage statistics object. This class and its members are reserved for internal use and are not intended to be used in your code. (Overrides ValueType.Equals(Object).)
Public method Equals(CoverageStatistics) Determines whether the provided coverage statistics object is equal to the current object. This class and its members are reserved for internal use and are not intended to be used in your code.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode This class and its members are reserved for internal use and are not intended to be used in your code. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two coverage statistics objects are equal when code uses the equality operator (==). This class and its members are reserved for internal use and are not intended to be used in your code.
Public operatorStatic member Inequality Determines whether two coverage statistics objects are not equal when using the inequality operator (!=). This class and its members are reserved for internal use and are not intended to be used in your code.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Coverage.Analysis Namespace