Skip to content

Features

The Cake.Issues.InspectCode addin provides the following features.

Tip: Running InspectCode

JetBrains InspectCode can be run using the InspectCode alias.

Basic features

  • Reads warnings from JetBrains InspectCode XML log files.
  • Provides URLs for issues containing a Wiki URL.

Note

Starting from version 2024.1, the default output format of JetBrains InspectCode is Static Analysis Results Interchange Format (SARIF). The XML format, which was the default in previous versions, will soon be deprecated. Results in the XML format are still available with the -f="xml" parameter.

This issue provider is only for the deprecated XML format. For the new default SARIF format Cake.Issues.Sarif can be used.

Supported IIssue properties

  • IIssue.ProviderType
  • IIssue.ProviderName
  • IIssue.Run (1)
  • IIssue.Identifier (2)
  • IIssue.ProjectName
  • IIssue.ProjectFileRelativePath
  • IIssue.AffectedFileRelativePath
  • IIssue.Line
  • IIssue.EndLine
  • IIssue.Column
  • IIssue.EndColumn
  • IIssue.FileLink (3)
  • IIssue.MessageText
  • IIssue.MessageHtml
  • IIssue.MessageMarkdown
  • IIssue.Priority
  • IIssue.PriorityName
  • IIssue.RuleId
  • IIssue.RuleUrl
  1. Can be set while reading issues
  2. Set to IIssue.MessageText
  3. Can be set while reading issues