NDepend.API Documentation
DebtDiff(IIssue) Method
NDepend.Reserved.CQLinq Namespace > ExtensionMethodsCQLinqIssuesSetDiff Class > DebtDiff Method : DebtDiff(IIssue) Method
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
Gets NewerVersion(IIssue).Debt of issue, minus OlderVersion(IIssue).Debt of issue,
Syntax
[Extension()]
public static Debt DebtDiff( 
   IIssue issue
)

Parameters

issue
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
Exceptions
ExceptionDescription
This extension method cannot be called from a program consuming NDepend.API. In such context, the method NDepend.Issue.IIssuesSetDiff.DebtDiff(IIssue) must be called instead.
Remarks
If NewerVersion(IIssue) or OlderVersion(IIssue) of issue is null, NDepend.TechnicalDebt.Debt.NDepend.TechnicalDebt.Debt.Zero value is taken instead.
The returned NDepend.TechnicalDebt.Debt value can be 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

ExtensionMethodsCQLinqIssuesSetDiff Class
ExtensionMethodsCQLinqIssuesSetDiff Members
Overload List