NDepend.API Documentation
CoverageDataAvailable Property (ICodeContainer)
NDepend.CodeModel Namespace > ICodeContainer Interface : CoverageDataAvailable Property
Gets a boolean value that indicates if coverage data is available for this code element.
Syntax
bool CoverageDataAvailable {get;}

Property Value

  • false if no code coverage data are imported through the NDepend project settings NDepend.Project.IProjectCoverage.
  • false if this code element is defined in a third-party assembly.
  • false if the PDB file of this assembly or code element parent's assembly, hasen't been found.
  • false if the code element is tagged with an attribute that excludes elements from coverage statistics.
  • false if the code element does not contain any PDB sequence point. else returns true.
    This property returned boolean flag is the inverse value of IsExcludedFromCoverage.
  • Requirements

    Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

    See Also

    Reference

    ICodeContainer Interface
    ICodeContainer Members
    RelyOnCodeCoverageData Property
    NbLinesOfCodeCovered Property
    NbLinesOfCodeNotCovered Property
    PercentageBranchCoverage Property
    IProjectCoverage Interface
    IsExcludedFromCoverage Property
    ExcludedFromCoverageStatistics Property