NDepend.API Documentation
DebtSettings Class Members
Fields  Properties  Methods 


NDepend.TechnicalDebt Namespace : DebtSettings Class

The following tables list the members exposed by DebtSettings.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)The default value for Critical2Blocker_SeverityThreshold.  
Public Fieldstatic (Shared in Visual Basic)The default value for DebtDefault and AnnualInterestDefault.  
Public Fieldstatic (Shared in Visual Basic)The maximum value for DebtDefault and AnnualInterestDefault.  
Public Fieldstatic (Shared in Visual Basic)The minimum value for DebtDefault and AnnualInterestDefault.  
Public Fieldstatic (Shared in Visual Basic)The default value for High2CriticalSeverityThreshold.  
Public Fieldstatic (Shared in Visual Basic) Use INFO2MINOR_SEVERITY_THRESHOLD_DEFAULT instead  
Public Fieldstatic (Shared in Visual Basic)The default value for Low2MediumSeverityThreshold.  
Public Fieldstatic (Shared in Visual Basic) Use HIGH2CRITICAL_SEVERITY_THRESHOLD_DEFAULT instead  
Public Fieldstatic (Shared in Visual Basic)The default value for Medium2HighSeverityThreshold.  
Public Fieldstatic (Shared in Visual Basic) Use MEDIUM2HIGH_SEVERITY_THRESHOLD_DEFAULT instead  
Public Fieldstatic (Shared in Visual Basic) The maximum value for a severity threshold.  
Public Fieldstatic (Shared in Visual Basic) The minimum value for a severity threshold.  
Top
Public Properties
 NameDescription
Public Property Returns the percentage of technical debt under which, a code element gets the A rating.  
Public PropertyThe default AnnualInterest.AnnualInterest.Value for issues for which AnnualInterest is not defined.  
Public PropertyA factor that multiplies AnnualInterest.AnnualInterest.Value of all issues.  
Public Property Returns the percentage of technical debt under which, a code element gets the B rating.  
Public Property Returns the percentage of technical debt under which, a code element gets the C rating.  
Public PropertyA AnnualInterest value below (or equals) the returned threshold has a Severity.Critical severity, and above the returned threshold, a Severity.Blocker severity.  
Public PropertyGets or sets the currency in which, MoneyPerManHour is expressed.  
Public Property Gets or sets the currency location, before or after, the figure.  
Public Property Returns the percentage of technical debt under which, a code element gets the D rating. Any percentage of technical debt value higher than this value will get the E rating.  
Public PropertyThe default Debt.Debt.Value for issues for which Debt is not defined.  
Public PropertyA factor that multiplies Debt.Debt.Value of all issues.  
Public PropertyThe debt string format used by IDebtFormatter.IDebtFormatter.ToString method.  
Public Property Gets the estimated time to develop one logical line of code.  
Public PropertyGets or sets the estimated number of man-days to develop 1.000 logical lines of code, as defined by NbLinesOfCode.  
Public PropertyA AnnualInterest value below (or equals) the returned threshold has a Severity.High severity, and above the returned threshold, a Severity.Critical severity.  
Public Property Use Low2MediumSeverityThreshold instead  
Public PropertyA AnnualInterest value below (or equals) the returned threshold has a Severity.Low severity, and above the returned threshold, a Severity.Medium severity.  
Public Property Use High2CriticalSeverityThreshold instead  
Public PropertyA AnnualInterest value below (or equals) the returned threshold has a Severity.Medium severity, and above the returned threshold, a Severity.High severity.  
Public Property Use Medium2HighSeverityThreshold instead  
Public PropertyGets or sets the average cost of a man-hour of developement, expressed in Currency.  
Public PropertyGets or sets the number of worked day per developer per year. This value is used to format Debt and AnnualInterest values in terms of man-years and man-months.  
Public PropertyGets or sets the number of worked hour per developer work day. This value is used to format Debt and AnnualInterest values in terms of man-days.  
Top
Public Methods
 NameDescription
Public MethodCreate a new DebtSettings objects, with all settings values cloned from this.  
Public MethodOverloaded. Returns true if all settings of other debt settings, are equals to this settings.  
Public MethodSet the various thresholds used to infer the IDebtFormatter.IDebtFormatter.ToDebtRating character value in the range of 'A' 'B' 'C' 'D' 'E', from the Debt Ratio of a code element.
 
Public MethodSet the various thresholds used to infer the Severity of the AnnualInterest an issue expressed in man-time per year.  
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded. Gets an enumerable object that contains first element and then elements of elements, in this order.
Public Extension MethodCreate a IDebtFormatter object from this debt settings object.
Public Extension MethodOverloaded. Returns true if this item equals item1 or item2.
Public Extension MethodReturns the newer version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.NewerVersion<T> must be called instead.
Public Extension MethodReturns the older version of this codeElement object. This method can only be called in a ICQLinqExecutionContext, otherwise the method NDepend.CodeModel.ICompareContext.NDepend.CodeModel.ICompareContext.OlderVersion<T> must be called instead.
Public Extension MethodGets an enumerable object that contains only the single element element.
Public Extension MethodIf obj is a numeric primitive type, returns its value converted as double. else returns null.
Top
See Also

Reference

DebtSettings Class
NDepend.TechnicalDebt Namespace