NDepend.API Documentation
DebtDiff(IIssue) Method
NDepend.Issue Namespace > IIssuesSetDiff Interface > 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
Debt DebtDiff( 
   IIssue issue
)

Parameters

issue
The issue object can be the NewerVersion(IIssue) or OlderVersion(IIssue) of the same issue.
Exceptions
ExceptionDescription
issue is not present in NewerIssuesSet nor OlderIssuesSet.
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

IIssuesSetDiff Interface
IIssuesSetDiff Members
Overload List