Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CqFileMetrics ¶
type CqFileMetrics struct {
domainlayer.DomainEntity
ProjectKey string `gorm:"index;type:varchar(255)"` //domain project key
FileName string `gorm:"type:varchar(255)"`
FilePath string
FileLanguage string `gorm:"type:varchar(20)"`
CodeSmells int
SqaleIndex int
SqaleRating float64
Bugs int
ReliabilityRating string `gorm:"type:varchar(20)"`
Vulnerabilities int
SecurityRating string `gorm:"type:varchar(20)"`
SecurityHotspots int
SecurityHotspotsReviewed float64
SecurityReviewRating string `gorm:"type:varchar(20)"`
Ncloc int
UncoveredLines int
Coverage float64
LinesToCover int
DuplicatedLinesDensity float64
DuplicatedBlocks int
DuplicatedFiles int
DuplicatedLines int
EffortToReachMaintainabilityRatingA int
Complexity int
CognitiveComplexity int
NumOfLines int
}
func (CqFileMetrics) TableName ¶
func (CqFileMetrics) TableName() string
type CqIssue ¶
type CqIssue struct {
domainlayer.DomainEntity
Rule string `gorm:"type:varchar(255)"`
Severity string `gorm:"type:varchar(100)"`
Component string `gorm:"type:varchar(255)"`
ProjectKey string `gorm:"index;type:varchar(100)"` //domain project key
Line int
Status string `gorm:"type:varchar(20)"`
Message string
Debt int
Effort int
CommitAuthorEmail string `json:"author" gorm:"type:varchar(255)"`
Assignee string `json:"assignee" gorm:"type:varchar(255)"`
Hash string `gorm:"type:varchar(100)"`
Tags string
Type string `gorm:"type:varchar(100)"`
Scope string `gorm:"type:varchar(255)"`
StartLine int `json:"startLine"`
EndLine int `json:"endLine"`
StartOffset int `json:"startOffset"`
EndOffset int `json:"endOffset"`
VulnerabilityProbability string `gorm:"type:varchar(100)"`
SecurityCategory string `gorm:"type:varchar(100)"`
CreatedDate *common.Iso8601Time
UpdatedDate *common.Iso8601Time
}
type CqIssueCodeBlock ¶
type CqIssueCodeBlock struct {
domainlayer.DomainEntity
IssueKey string `json:"key" gorm:"index"`
Component string `gorm:"index"`
StartLine int
EndLine int
StartOffset int
EndOffset int
Msg string
}
func (CqIssueCodeBlock) TableName ¶
func (CqIssueCodeBlock) TableName() string
type CqProject ¶
type CqProject struct {
domainlayer.DomainEntity
Name string `gorm:"type:varchar(255)"`
Qualifier string `gorm:"type:varchar(255)"`
Visibility string `gorm:"type:varchar(64)"`
LastAnalysisDate *common.Iso8601Time
CommitSha string `gorm:"type:varchar(128)"`
}
Click to show internal directories.
Click to hide internal directories.