NDepend.API Documentation
DebtRatioDiff Method (IIssuesSetDiff)
NDepend.Issue Namespace > IIssuesSetDiff Interface : DebtRatioDiff Method
The code element object can be the NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of the same code element.
Gets NewerIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, minus OlderIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement.
Syntax

Parameters

codeElement
The code element object can be the NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of the same code element.
Exceptions
ExceptionDescription
codeElement is not present in NewerIssuesSet nor OlderIssuesSet.
Remarks
If NDepend.CodeModel.ICompareContext.NewerVersion<T> or NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement is null, this method returns null.

If NewerIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.NewerVersion<T> of codeElement, or OlderIssuesSet.DebtRatio of NDepend.CodeModel.ICompareContext.OlderVersion<T> of codeElement is null, this method returns null.

The returned value can be null or else, positive, zero or negative.
Requirements

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

See Also

Reference

IIssuesSetDiff Interface
IIssuesSetDiff Members