Features

The Cake.Issues.DupFinder addin provides the following features:

Basic features

  • Reads code duplicates from JetBrains dupFinder log files.
  • For every duplicate fragment a separate issue is created.

Supported IIssue properties

Property Remarks
IIssue.ProviderType
IIssue.ProviderName
IIssue.Run Can be set while reading issues
IIssue.Identifier
IIssue.ProjectName
IIssue.ProjectFileRelativePath
IIssue.AffectedFileRelativePath
IIssue.Line
IIssue.EndLine
IIssue.Column
IIssue.EndColumn
IIssue.MessageText
IIssue.MessageHtml
IIssue.MessageMarkdown
IIssue.Priority Always [IssuePriority.Warning]
IIssue.PriorityName Always Warning
IIssue.Rule Always dupFinder
IIssue.RuleUrl

Additional information

The following values are provided in the IIssue.AdditionalInformation property:

Key Description
cost Cost of the duplicate. The bigger the duplicated code block the higher the cost.
GitHub