Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶ added in v1.2.0
type Factory struct {
// contains filtered or unexported fields
}
func NewMetadataFactory ¶
func NewMetadataFactory( astQueryIDProvider interfaces.ASTQueryIDProvider, similarityIDProvider similarity.IDProvider, sourceProvider interfaces.SourceFileRepo, methodLineProvider interfaces.MethodLineRepo, tmpDir string, ) *Factory
type Query ¶
func GetQueriesFromReport ¶
func GetQueriesFromReport(reportReader *report.CxXMLResults) []*Query
type Record ¶
type Record struct {
Queries []*RecordQuery `json:"queries"`
}
type RecordPath ¶
type RecordQuery ¶
type RecordQuery struct { QueryID string `json:"queryId"` Results []*RecordResult `json:"results"` }
type RecordResult ¶
type RecordResult struct { ResultID string `json:"resultId"` Paths []*RecordPath `json:"paths"` }
type SimilarityCalculationJob ¶
type SimilarityCalculationJob struct {
ResultID, PathID,
Filename1, Name1, Line1, Column1, MethodLine1,
Filename2, Name2, Line2, Column2, MethodLine2,
QueryID string
}
Click to show internal directories.
Click to hide internal directories.