NDepend.API Documentation
DebtDiff(IRule) Method
NDepend.Issue Namespace > IIssuesSetDiff Interface > DebtDiff Method : DebtDiff(IRule) Method
The rule object can be the NewerVersion(IRule) or OlderVersion(IRule) of the same rule.
Gets NewerIssuesSet.Debt(IRule) of NewerVersion(IRule) of rule, minus OlderIssuesSet.Debt(IRule) of OlderVersion(IRule) of rule.
Syntax
Debt DebtDiff( 
   IRule rule
)

Parameters

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