sonarqube

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	Type        string `json:"type"`
	RuleID      string `json:"ruleId"`
	EngineID    string `json:"engineId"`
	Severity    string `json:"severity"`
	EffortToFix int    `json:"effortMinutes"`

	PrimaryLocation    Location   `json:"primaryLocation"`
	SecondaryLocations []Location `json:"secondaryLocations"`
}

type Location

type Location struct {
	Message  string    `json:"message"`
	Filepath string    `json:"filepath"`
	Range    TextRange `json:"textRange"`
}

type Report

type Report struct {
	Issues []Issue `json:"issues"`
}

type TextRange

type TextRange struct {
	StartLine   int `json:"startLine"`
	EndLine     int `json:"endLine"`
	StartColumn int `json:"startColumn"`
	EndColumn   int `json:"endColumn"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL