NDepend.API Documentation
FullCoveredAttribute Class
Members 
NDepend.Attributes Namespace : FullCoveredAttribute Class
This attribute can be used to declare that a code element is 100% covered by tests.
Syntax
[AttributeUsage(AttributeTargets.Assembly | 
    AttributeTargets.Class | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Struct)]
public sealed class FullCoveredAttribute : System.Attribute 
Remarks
The code metric ICodeContainer.NDepend.CodeModel.ICodeContainer.PercentageCoverage can be used to determine whether a code element is 100% covered by tests or not.
Having types 100% covered by tests is a good idea because the small portion of code hard to cover, is also the portion of code that is the most likely to contain bugs.
Usage of this attributes is checked with the two default code rules: If you don't want to link NDepend.API.dll, you can use your own FullCoveredAttribute and adapt the rules.
Inheritance Hierarchy

System.Object
   System.Attribute
      NDepend.Attributes.FullCoveredAttribute

Requirements

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

See Also

Reference

FullCoveredAttribute Members
NDepend.Attributes Namespace
PercentageCoverage Property
HasAttribute Method
HasAttribute Method
AttributeClassesThatTagMe Property