Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
pb.proto
It has these top-level messages:
Metadata BurndownSparseMatrixRow BurndownSparseMatrix FilesOwnership BurndownAnalysisResults CompressedSparseRowMatrix Couples TouchedFiles CouplesAnalysisResults UASTChange UASTChangesSaverResults ShotnessRecord ShotnessAnalysisResults FileHistory FileHistoryResultMessage LineStats DevTick TickDevs DevsAnalysisResults Sentiment CommentSentimentResults CommitFile Commit CommitsAnalysisResults Typo TyposDataset AnalysisResults
Index ¶
- type AnalysisResults
- type BurndownAnalysisResults
- func (*BurndownAnalysisResults) Descriptor() ([]byte, []int)
- func (m *BurndownAnalysisResults) GetFiles() []*BurndownSparseMatrix
- func (m *BurndownAnalysisResults) GetFilesOwnership() []*FilesOwnership
- func (m *BurndownAnalysisResults) GetGranularity() int32
- func (m *BurndownAnalysisResults) GetPeople() []*BurndownSparseMatrix
- func (m *BurndownAnalysisResults) GetPeopleInteraction() *CompressedSparseRowMatrix
- func (m *BurndownAnalysisResults) GetProject() *BurndownSparseMatrix
- func (m *BurndownAnalysisResults) GetSampling() int32
- func (m *BurndownAnalysisResults) GetTickSize() int64
- func (*BurndownAnalysisResults) ProtoMessage()
- func (m *BurndownAnalysisResults) Reset()
- func (m *BurndownAnalysisResults) String() string
- type BurndownSparseMatrix
- func (*BurndownSparseMatrix) Descriptor() ([]byte, []int)
- func (m *BurndownSparseMatrix) GetName() string
- func (m *BurndownSparseMatrix) GetNumberOfColumns() int32
- func (m *BurndownSparseMatrix) GetNumberOfRows() int32
- func (m *BurndownSparseMatrix) GetRows() []*BurndownSparseMatrixRow
- func (*BurndownSparseMatrix) ProtoMessage()
- func (m *BurndownSparseMatrix) Reset()
- func (m *BurndownSparseMatrix) String() string
- type BurndownSparseMatrixRow
- type CommentSentimentResults
- type Commit
- type CommitFile
- type CommitsAnalysisResults
- func (*CommitsAnalysisResults) Descriptor() ([]byte, []int)
- func (m *CommitsAnalysisResults) GetAuthorIndex() []string
- func (m *CommitsAnalysisResults) GetCommits() []*Commit
- func (*CommitsAnalysisResults) ProtoMessage()
- func (m *CommitsAnalysisResults) Reset()
- func (m *CommitsAnalysisResults) String() string
- type CompressedSparseRowMatrix
- func (*CompressedSparseRowMatrix) Descriptor() ([]byte, []int)
- func (m *CompressedSparseRowMatrix) GetData() []int64
- func (m *CompressedSparseRowMatrix) GetIndices() []int32
- func (m *CompressedSparseRowMatrix) GetIndptr() []int64
- func (m *CompressedSparseRowMatrix) GetNumberOfColumns() int32
- func (m *CompressedSparseRowMatrix) GetNumberOfRows() int32
- func (*CompressedSparseRowMatrix) ProtoMessage()
- func (m *CompressedSparseRowMatrix) Reset()
- func (m *CompressedSparseRowMatrix) String() string
- type Couples
- type CouplesAnalysisResults
- func (*CouplesAnalysisResults) Descriptor() ([]byte, []int)
- func (m *CouplesAnalysisResults) GetFileCouples() *Couples
- func (m *CouplesAnalysisResults) GetFilesLines() []int32
- func (m *CouplesAnalysisResults) GetPeopleCouples() *Couples
- func (m *CouplesAnalysisResults) GetPeopleFiles() []*TouchedFiles
- func (*CouplesAnalysisResults) ProtoMessage()
- func (m *CouplesAnalysisResults) Reset()
- func (m *CouplesAnalysisResults) String() string
- type DevTick
- type DevsAnalysisResults
- func (*DevsAnalysisResults) Descriptor() ([]byte, []int)
- func (m *DevsAnalysisResults) GetDevIndex() []string
- func (m *DevsAnalysisResults) GetTickSize() int64
- func (m *DevsAnalysisResults) GetTicks() map[int32]*TickDevs
- func (*DevsAnalysisResults) ProtoMessage()
- func (m *DevsAnalysisResults) Reset()
- func (m *DevsAnalysisResults) String() string
- type FileHistory
- type FileHistoryResultMessage
- type FilesOwnership
- type LineStats
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetBeginUnixTime() int64
- func (m *Metadata) GetCommits() int32
- func (m *Metadata) GetEndUnixTime() int64
- func (m *Metadata) GetHash() string
- func (m *Metadata) GetRepository() string
- func (m *Metadata) GetRunTime() int64
- func (m *Metadata) GetRunTimePerItem() map[string]float64
- func (m *Metadata) GetVersion() int32
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) String() string
- type Sentiment
- type ShotnessAnalysisResults
- type ShotnessRecord
- func (*ShotnessRecord) Descriptor() ([]byte, []int)
- func (m *ShotnessRecord) GetCounters() map[int32]int32
- func (m *ShotnessRecord) GetFile() string
- func (m *ShotnessRecord) GetName() string
- func (m *ShotnessRecord) GetType() string
- func (*ShotnessRecord) ProtoMessage()
- func (m *ShotnessRecord) Reset()
- func (m *ShotnessRecord) String() string
- type TickDevs
- type TouchedFiles
- type Typo
- type TyposDataset
- type UASTChange
- func (*UASTChange) Descriptor() ([]byte, []int)
- func (m *UASTChange) GetFileName() string
- func (m *UASTChange) GetSrcAfter() string
- func (m *UASTChange) GetSrcBefore() string
- func (m *UASTChange) GetUastAfter() string
- func (m *UASTChange) GetUastBefore() string
- func (*UASTChange) ProtoMessage()
- func (m *UASTChange) Reset()
- func (m *UASTChange) String() string
- type UASTChangesSaverResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisResults ¶
type AnalysisResults struct { Header *Metadata `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // the mapped values are dynamic messages which require the second parsing pass. Contents map[string][]byte `` /* 150-byte string literal not displayed */ }
func (*AnalysisResults) Descriptor ¶
func (*AnalysisResults) Descriptor() ([]byte, []int)
func (*AnalysisResults) GetContents ¶
func (m *AnalysisResults) GetContents() map[string][]byte
func (*AnalysisResults) GetHeader ¶
func (m *AnalysisResults) GetHeader() *Metadata
func (*AnalysisResults) ProtoMessage ¶
func (*AnalysisResults) ProtoMessage()
func (*AnalysisResults) Reset ¶
func (m *AnalysisResults) Reset()
func (*AnalysisResults) String ¶
func (m *AnalysisResults) String() string
type BurndownAnalysisResults ¶
type BurndownAnalysisResults struct { // how many ticks are in each band [burndown_project, burndown_file, burndown_developer] Granularity int32 `protobuf:"varint,1,opt,name=granularity,proto3" json:"granularity,omitempty"` // how frequently we measure the state of each band [burndown_project, burndown_file, burndown_developer] Sampling int32 `protobuf:"varint,2,opt,name=sampling,proto3" json:"sampling,omitempty"` // always exists Project *BurndownSparseMatrix `protobuf:"bytes,3,opt,name=project" json:"project,omitempty"` // this is included if `--burndown-files` was specified Files []*BurndownSparseMatrix `protobuf:"bytes,4,rep,name=files" json:"files,omitempty"` // these two are included if `--burndown-people` was specified People []*BurndownSparseMatrix `protobuf:"bytes,5,rep,name=people" json:"people,omitempty"` // rows and cols order correspond to `burndown_developer` PeopleInteraction *CompressedSparseRowMatrix `protobuf:"bytes,6,opt,name=people_interaction,json=peopleInteraction" json:"people_interaction,omitempty"` // How many lines belong to relevant developers for each file. The order is the same as in `files`. FilesOwnership []*FilesOwnership `protobuf:"bytes,7,rep,name=files_ownership,json=filesOwnership" json:"files_ownership,omitempty"` // how long each tick is, as an int64 nanosecond count (Go's time.Duration) TickSize int64 `protobuf:"varint,8,opt,name=tick_size,json=tickSize,proto3" json:"tick_size,omitempty"` }
func (*BurndownAnalysisResults) Descriptor ¶
func (*BurndownAnalysisResults) Descriptor() ([]byte, []int)
func (*BurndownAnalysisResults) GetFiles ¶
func (m *BurndownAnalysisResults) GetFiles() []*BurndownSparseMatrix
func (*BurndownAnalysisResults) GetFilesOwnership ¶
func (m *BurndownAnalysisResults) GetFilesOwnership() []*FilesOwnership
func (*BurndownAnalysisResults) GetGranularity ¶
func (m *BurndownAnalysisResults) GetGranularity() int32
func (*BurndownAnalysisResults) GetPeople ¶
func (m *BurndownAnalysisResults) GetPeople() []*BurndownSparseMatrix
func (*BurndownAnalysisResults) GetPeopleInteraction ¶
func (m *BurndownAnalysisResults) GetPeopleInteraction() *CompressedSparseRowMatrix
func (*BurndownAnalysisResults) GetProject ¶
func (m *BurndownAnalysisResults) GetProject() *BurndownSparseMatrix
func (*BurndownAnalysisResults) GetSampling ¶
func (m *BurndownAnalysisResults) GetSampling() int32
func (*BurndownAnalysisResults) GetTickSize ¶
func (m *BurndownAnalysisResults) GetTickSize() int64
func (*BurndownAnalysisResults) ProtoMessage ¶
func (*BurndownAnalysisResults) ProtoMessage()
func (*BurndownAnalysisResults) Reset ¶
func (m *BurndownAnalysisResults) Reset()
func (*BurndownAnalysisResults) String ¶
func (m *BurndownAnalysisResults) String() string
type BurndownSparseMatrix ¶
type BurndownSparseMatrix struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NumberOfRows int32 `protobuf:"varint,2,opt,name=number_of_rows,json=numberOfRows,proto3" json:"number_of_rows,omitempty"` NumberOfColumns int32 `protobuf:"varint,3,opt,name=number_of_columns,json=numberOfColumns,proto3" json:"number_of_columns,omitempty"` // `len(row)` matches `number_of_rows` Rows []*BurndownSparseMatrixRow `protobuf:"bytes,4,rep,name=rows" json:"rows,omitempty"` }
func ToBurndownSparseMatrix ¶
func ToBurndownSparseMatrix(matrix [][]int64, name string) *BurndownSparseMatrix
ToBurndownSparseMatrix converts a rectangular integer matrix to the corresponding Protobuf object. It is specific to hercules.BurndownAnalysis.
func (*BurndownSparseMatrix) Descriptor ¶
func (*BurndownSparseMatrix) Descriptor() ([]byte, []int)
func (*BurndownSparseMatrix) GetName ¶
func (m *BurndownSparseMatrix) GetName() string
func (*BurndownSparseMatrix) GetNumberOfColumns ¶
func (m *BurndownSparseMatrix) GetNumberOfColumns() int32
func (*BurndownSparseMatrix) GetNumberOfRows ¶
func (m *BurndownSparseMatrix) GetNumberOfRows() int32
func (*BurndownSparseMatrix) GetRows ¶
func (m *BurndownSparseMatrix) GetRows() []*BurndownSparseMatrixRow
func (*BurndownSparseMatrix) ProtoMessage ¶
func (*BurndownSparseMatrix) ProtoMessage()
func (*BurndownSparseMatrix) Reset ¶
func (m *BurndownSparseMatrix) Reset()
func (*BurndownSparseMatrix) String ¶
func (m *BurndownSparseMatrix) String() string
type BurndownSparseMatrixRow ¶
type BurndownSparseMatrixRow struct { // the first `len(column)` elements are stored, // the rest `number_of_columns - len(column)` values are zeros Columns []uint32 `protobuf:"varint,1,rep,packed,name=columns" json:"columns,omitempty"` }
func (*BurndownSparseMatrixRow) Descriptor ¶
func (*BurndownSparseMatrixRow) Descriptor() ([]byte, []int)
func (*BurndownSparseMatrixRow) GetColumns ¶
func (m *BurndownSparseMatrixRow) GetColumns() []uint32
func (*BurndownSparseMatrixRow) ProtoMessage ¶
func (*BurndownSparseMatrixRow) ProtoMessage()
func (*BurndownSparseMatrixRow) Reset ¶
func (m *BurndownSparseMatrixRow) Reset()
func (*BurndownSparseMatrixRow) String ¶
func (m *BurndownSparseMatrixRow) String() string
type CommentSentimentResults ¶
type CommentSentimentResults struct {
SentimentByTick map[int32]*Sentiment `` /* 183-byte string literal not displayed */
}
func (*CommentSentimentResults) Descriptor ¶
func (*CommentSentimentResults) Descriptor() ([]byte, []int)
func (*CommentSentimentResults) GetSentimentByTick ¶
func (m *CommentSentimentResults) GetSentimentByTick() map[int32]*Sentiment
func (*CommentSentimentResults) ProtoMessage ¶
func (*CommentSentimentResults) ProtoMessage()
func (*CommentSentimentResults) Reset ¶
func (m *CommentSentimentResults) Reset()
func (*CommentSentimentResults) String ¶
func (m *CommentSentimentResults) String() string
type Commit ¶
type Commit struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` WhenUnixTime int64 `protobuf:"varint,2,opt,name=when_unix_time,json=whenUnixTime,proto3" json:"when_unix_time,omitempty"` Author int32 `protobuf:"varint,3,opt,name=author,proto3" json:"author,omitempty"` Files []*CommitFile `protobuf:"bytes,4,rep,name=files" json:"files,omitempty"` }
func (*Commit) Descriptor ¶
func (*Commit) GetFiles ¶
func (m *Commit) GetFiles() []*CommitFile
func (*Commit) GetWhenUnixTime ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
type CommitFile ¶
type CommitFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` Stats *LineStats `protobuf:"bytes,4,opt,name=stats" json:"stats,omitempty"` }
func (*CommitFile) Descriptor ¶
func (*CommitFile) Descriptor() ([]byte, []int)
func (*CommitFile) GetLanguage ¶
func (m *CommitFile) GetLanguage() string
func (*CommitFile) GetName ¶
func (m *CommitFile) GetName() string
func (*CommitFile) GetStats ¶
func (m *CommitFile) GetStats() *LineStats
func (*CommitFile) ProtoMessage ¶
func (*CommitFile) ProtoMessage()
func (*CommitFile) Reset ¶
func (m *CommitFile) Reset()
func (*CommitFile) String ¶
func (m *CommitFile) String() string
type CommitsAnalysisResults ¶
type CommitsAnalysisResults struct { Commits []*Commit `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"` AuthorIndex []string `protobuf:"bytes,2,rep,name=author_index,json=authorIndex" json:"author_index,omitempty"` }
func (*CommitsAnalysisResults) Descriptor ¶
func (*CommitsAnalysisResults) Descriptor() ([]byte, []int)
func (*CommitsAnalysisResults) GetAuthorIndex ¶
func (m *CommitsAnalysisResults) GetAuthorIndex() []string
func (*CommitsAnalysisResults) GetCommits ¶
func (m *CommitsAnalysisResults) GetCommits() []*Commit
func (*CommitsAnalysisResults) ProtoMessage ¶
func (*CommitsAnalysisResults) ProtoMessage()
func (*CommitsAnalysisResults) Reset ¶
func (m *CommitsAnalysisResults) Reset()
func (*CommitsAnalysisResults) String ¶
func (m *CommitsAnalysisResults) String() string
type CompressedSparseRowMatrix ¶
type CompressedSparseRowMatrix struct { NumberOfRows int32 `protobuf:"varint,1,opt,name=number_of_rows,json=numberOfRows,proto3" json:"number_of_rows,omitempty"` NumberOfColumns int32 `protobuf:"varint,2,opt,name=number_of_columns,json=numberOfColumns,proto3" json:"number_of_columns,omitempty"` // https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29 Data []int64 `protobuf:"varint,3,rep,packed,name=data" json:"data,omitempty"` Indices []int32 `protobuf:"varint,4,rep,packed,name=indices" json:"indices,omitempty"` Indptr []int64 `protobuf:"varint,5,rep,packed,name=indptr" json:"indptr,omitempty"` }
func DenseToCompressedSparseRowMatrix ¶
func DenseToCompressedSparseRowMatrix(matrix [][]int64) *CompressedSparseRowMatrix
DenseToCompressedSparseRowMatrix takes an integer matrix and converts it to a Protobuf CSR. CSR format: https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29
func MapToCompressedSparseRowMatrix ¶
func MapToCompressedSparseRowMatrix(matrix []map[int]int64) *CompressedSparseRowMatrix
MapToCompressedSparseRowMatrix takes an integer matrix and converts it to a Protobuf CSR. In contrast to DenseToCompressedSparseRowMatrix, a matrix here is already in DOK format. CSR format: https://en.wikipedia.org/wiki/Sparse_matrix#Compressed_sparse_row_.28CSR.2C_CRS_or_Yale_format.29
func (*CompressedSparseRowMatrix) Descriptor ¶
func (*CompressedSparseRowMatrix) Descriptor() ([]byte, []int)
func (*CompressedSparseRowMatrix) GetData ¶
func (m *CompressedSparseRowMatrix) GetData() []int64
func (*CompressedSparseRowMatrix) GetIndices ¶
func (m *CompressedSparseRowMatrix) GetIndices() []int32
func (*CompressedSparseRowMatrix) GetIndptr ¶
func (m *CompressedSparseRowMatrix) GetIndptr() []int64
func (*CompressedSparseRowMatrix) GetNumberOfColumns ¶
func (m *CompressedSparseRowMatrix) GetNumberOfColumns() int32
func (*CompressedSparseRowMatrix) GetNumberOfRows ¶
func (m *CompressedSparseRowMatrix) GetNumberOfRows() int32
func (*CompressedSparseRowMatrix) ProtoMessage ¶
func (*CompressedSparseRowMatrix) ProtoMessage()
func (*CompressedSparseRowMatrix) Reset ¶
func (m *CompressedSparseRowMatrix) Reset()
func (*CompressedSparseRowMatrix) String ¶
func (m *CompressedSparseRowMatrix) String() string
type Couples ¶
type Couples struct { // name of each `matrix`'s row and column Index []string `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"` // is always square Matrix *CompressedSparseRowMatrix `protobuf:"bytes,2,opt,name=matrix" json:"matrix,omitempty"` }
func (*Couples) Descriptor ¶
func (*Couples) GetMatrix ¶
func (m *Couples) GetMatrix() *CompressedSparseRowMatrix
func (*Couples) ProtoMessage ¶
func (*Couples) ProtoMessage()
type CouplesAnalysisResults ¶
type CouplesAnalysisResults struct { FileCouples *Couples `protobuf:"bytes,6,opt,name=file_couples,json=fileCouples" json:"file_couples,omitempty"` PeopleCouples *Couples `protobuf:"bytes,7,opt,name=people_couples,json=peopleCouples" json:"people_couples,omitempty"` // order corresponds to `people_couples::index` PeopleFiles []*TouchedFiles `protobuf:"bytes,8,rep,name=people_files,json=peopleFiles" json:"people_files,omitempty"` // order corresponds to `file_couples::index` FilesLines []int32 `protobuf:"varint,9,rep,packed,name=files_lines,json=filesLines" json:"files_lines,omitempty"` }
func (*CouplesAnalysisResults) Descriptor ¶
func (*CouplesAnalysisResults) Descriptor() ([]byte, []int)
func (*CouplesAnalysisResults) GetFileCouples ¶
func (m *CouplesAnalysisResults) GetFileCouples() *Couples
func (*CouplesAnalysisResults) GetFilesLines ¶
func (m *CouplesAnalysisResults) GetFilesLines() []int32
func (*CouplesAnalysisResults) GetPeopleCouples ¶
func (m *CouplesAnalysisResults) GetPeopleCouples() *Couples
func (*CouplesAnalysisResults) GetPeopleFiles ¶
func (m *CouplesAnalysisResults) GetPeopleFiles() []*TouchedFiles
func (*CouplesAnalysisResults) ProtoMessage ¶
func (*CouplesAnalysisResults) ProtoMessage()
func (*CouplesAnalysisResults) Reset ¶
func (m *CouplesAnalysisResults) Reset()
func (*CouplesAnalysisResults) String ¶
func (m *CouplesAnalysisResults) String() string
type DevTick ¶
type DevTick struct { Commits int32 `protobuf:"varint,1,opt,name=commits,proto3" json:"commits,omitempty"` Stats *LineStats `protobuf:"bytes,2,opt,name=stats" json:"stats,omitempty"` Languages map[string]*LineStats `` /* 145-byte string literal not displayed */ }
func (*DevTick) Descriptor ¶
func (*DevTick) GetCommits ¶
func (*DevTick) GetLanguages ¶
func (*DevTick) ProtoMessage ¶
func (*DevTick) ProtoMessage()
type DevsAnalysisResults ¶
type DevsAnalysisResults struct { Ticks map[int32]*TickDevs `` /* 138-byte string literal not displayed */ // developer identities, the indexes correspond to TickDevs' keys. DevIndex []string `protobuf:"bytes,2,rep,name=dev_index,json=devIndex" json:"dev_index,omitempty"` // how long each tick is, as an int64 nanosecond count (Go's time.Duration) TickSize int64 `protobuf:"varint,8,opt,name=tick_size,json=tickSize,proto3" json:"tick_size,omitempty"` }
func (*DevsAnalysisResults) Descriptor ¶
func (*DevsAnalysisResults) Descriptor() ([]byte, []int)
func (*DevsAnalysisResults) GetDevIndex ¶
func (m *DevsAnalysisResults) GetDevIndex() []string
func (*DevsAnalysisResults) GetTickSize ¶
func (m *DevsAnalysisResults) GetTickSize() int64
func (*DevsAnalysisResults) GetTicks ¶
func (m *DevsAnalysisResults) GetTicks() map[int32]*TickDevs
func (*DevsAnalysisResults) ProtoMessage ¶
func (*DevsAnalysisResults) ProtoMessage()
func (*DevsAnalysisResults) Reset ¶
func (m *DevsAnalysisResults) Reset()
func (*DevsAnalysisResults) String ¶
func (m *DevsAnalysisResults) String() string
type FileHistory ¶
type FileHistory struct { Commits []string `protobuf:"bytes,1,rep,name=commits" json:"commits,omitempty"` ChangesByDeveloper map[int32]*LineStats `` /* 192-byte string literal not displayed */ }
func (*FileHistory) Descriptor ¶
func (*FileHistory) Descriptor() ([]byte, []int)
func (*FileHistory) GetChangesByDeveloper ¶
func (m *FileHistory) GetChangesByDeveloper() map[int32]*LineStats
func (*FileHistory) GetCommits ¶
func (m *FileHistory) GetCommits() []string
func (*FileHistory) ProtoMessage ¶
func (*FileHistory) ProtoMessage()
func (*FileHistory) Reset ¶
func (m *FileHistory) Reset()
func (*FileHistory) String ¶
func (m *FileHistory) String() string
type FileHistoryResultMessage ¶
type FileHistoryResultMessage struct {
Files map[string]*FileHistory `` /* 137-byte string literal not displayed */
}
func (*FileHistoryResultMessage) Descriptor ¶
func (*FileHistoryResultMessage) Descriptor() ([]byte, []int)
func (*FileHistoryResultMessage) GetFiles ¶
func (m *FileHistoryResultMessage) GetFiles() map[string]*FileHistory
func (*FileHistoryResultMessage) ProtoMessage ¶
func (*FileHistoryResultMessage) ProtoMessage()
func (*FileHistoryResultMessage) Reset ¶
func (m *FileHistoryResultMessage) Reset()
func (*FileHistoryResultMessage) String ¶
func (m *FileHistoryResultMessage) String() string
type FilesOwnership ¶
type FilesOwnership struct { // The sum always equals to the total number of lines in the file. Value map[int32]int32 `` /* 146-byte string literal not displayed */ }
func (*FilesOwnership) Descriptor ¶
func (*FilesOwnership) Descriptor() ([]byte, []int)
func (*FilesOwnership) GetValue ¶
func (m *FilesOwnership) GetValue() map[int32]int32
func (*FilesOwnership) ProtoMessage ¶
func (*FilesOwnership) ProtoMessage()
func (*FilesOwnership) Reset ¶
func (m *FilesOwnership) Reset()
func (*FilesOwnership) String ¶
func (m *FilesOwnership) String() string
type LineStats ¶
type LineStats struct { Added int32 `protobuf:"varint,1,opt,name=added,proto3" json:"added,omitempty"` Removed int32 `protobuf:"varint,2,opt,name=removed,proto3" json:"removed,omitempty"` Changed int32 `protobuf:"varint,3,opt,name=changed,proto3" json:"changed,omitempty"` }
func (*LineStats) Descriptor ¶
func (*LineStats) GetChanged ¶
func (*LineStats) GetRemoved ¶
func (*LineStats) ProtoMessage ¶
func (*LineStats) ProtoMessage()
type Metadata ¶
type Metadata struct { // this format is versioned Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // git hash of the revision from which Hercules is built Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // repository's name Repository string `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` // UNIX timestamp of the first analysed commit BeginUnixTime int64 `protobuf:"varint,4,opt,name=begin_unix_time,json=beginUnixTime,proto3" json:"begin_unix_time,omitempty"` // UNIX timestamp of the last analysed commit EndUnixTime int64 `protobuf:"varint,5,opt,name=end_unix_time,json=endUnixTime,proto3" json:"end_unix_time,omitempty"` // number of processed commits Commits int32 `protobuf:"varint,6,opt,name=commits,proto3" json:"commits,omitempty"` // duration of the analysis in milliseconds RunTime int64 `protobuf:"varint,7,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"` // time taken by each pipeline item in seconds RunTimePerItem map[string]float64 `` /* 190-byte string literal not displayed */ }
func (*Metadata) Descriptor ¶
func (*Metadata) GetBeginUnixTime ¶
func (*Metadata) GetCommits ¶
func (*Metadata) GetEndUnixTime ¶
func (*Metadata) GetRepository ¶
func (*Metadata) GetRunTime ¶
func (*Metadata) GetRunTimePerItem ¶
func (*Metadata) GetVersion ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
type Sentiment ¶
type Sentiment struct { Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` Comments []string `protobuf:"bytes,2,rep,name=comments" json:"comments,omitempty"` Commits []string `protobuf:"bytes,3,rep,name=commits" json:"commits,omitempty"` }
func (*Sentiment) Descriptor ¶
func (*Sentiment) GetComments ¶
func (*Sentiment) GetCommits ¶
func (*Sentiment) ProtoMessage ¶
func (*Sentiment) ProtoMessage()
type ShotnessAnalysisResults ¶
type ShotnessAnalysisResults struct {
Records []*ShotnessRecord `protobuf:"bytes,1,rep,name=records" json:"records,omitempty"`
}
func (*ShotnessAnalysisResults) Descriptor ¶
func (*ShotnessAnalysisResults) Descriptor() ([]byte, []int)
func (*ShotnessAnalysisResults) GetRecords ¶
func (m *ShotnessAnalysisResults) GetRecords() []*ShotnessRecord
func (*ShotnessAnalysisResults) ProtoMessage ¶
func (*ShotnessAnalysisResults) ProtoMessage()
func (*ShotnessAnalysisResults) Reset ¶
func (m *ShotnessAnalysisResults) Reset()
func (*ShotnessAnalysisResults) String ¶
func (m *ShotnessAnalysisResults) String() string
type ShotnessRecord ¶
type ShotnessRecord struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` Counters map[int32]int32 `` /* 152-byte string literal not displayed */ }
func (*ShotnessRecord) Descriptor ¶
func (*ShotnessRecord) Descriptor() ([]byte, []int)
func (*ShotnessRecord) GetCounters ¶
func (m *ShotnessRecord) GetCounters() map[int32]int32
func (*ShotnessRecord) GetFile ¶
func (m *ShotnessRecord) GetFile() string
func (*ShotnessRecord) GetName ¶
func (m *ShotnessRecord) GetName() string
func (*ShotnessRecord) GetType ¶
func (m *ShotnessRecord) GetType() string
func (*ShotnessRecord) ProtoMessage ¶
func (*ShotnessRecord) ProtoMessage()
func (*ShotnessRecord) Reset ¶
func (m *ShotnessRecord) Reset()
func (*ShotnessRecord) String ¶
func (m *ShotnessRecord) String() string
type TickDevs ¶
func (*TickDevs) Descriptor ¶
func (*TickDevs) ProtoMessage ¶
func (*TickDevs) ProtoMessage()
type TouchedFiles ¶
type TouchedFiles struct {
Files []int32 `protobuf:"varint,1,rep,packed,name=files" json:"files,omitempty"`
}
func (*TouchedFiles) Descriptor ¶
func (*TouchedFiles) Descriptor() ([]byte, []int)
func (*TouchedFiles) GetFiles ¶
func (m *TouchedFiles) GetFiles() []int32
func (*TouchedFiles) ProtoMessage ¶
func (*TouchedFiles) ProtoMessage()
func (*TouchedFiles) Reset ¶
func (m *TouchedFiles) Reset()
func (*TouchedFiles) String ¶
func (m *TouchedFiles) String() string
type Typo ¶
type Typo struct { Wrong string `protobuf:"bytes,1,opt,name=wrong,proto3" json:"wrong,omitempty"` Correct string `protobuf:"bytes,2,opt,name=correct,proto3" json:"correct,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` File string `protobuf:"bytes,4,opt,name=file,proto3" json:"file,omitempty"` Line int32 `protobuf:"varint,5,opt,name=line,proto3" json:"line,omitempty"` }
func (*Typo) Descriptor ¶
func (*Typo) GetCorrect ¶
func (*Typo) ProtoMessage ¶
func (*Typo) ProtoMessage()
type TyposDataset ¶
type TyposDataset struct {
Typos []*Typo `protobuf:"bytes,1,rep,name=typos" json:"typos,omitempty"`
}
func (*TyposDataset) Descriptor ¶
func (*TyposDataset) Descriptor() ([]byte, []int)
func (*TyposDataset) GetTypos ¶
func (m *TyposDataset) GetTypos() []*Typo
func (*TyposDataset) ProtoMessage ¶
func (*TyposDataset) ProtoMessage()
func (*TyposDataset) Reset ¶
func (m *TyposDataset) Reset()
func (*TyposDataset) String ¶
func (m *TyposDataset) String() string
type UASTChange ¶
type UASTChange struct { FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` SrcBefore string `protobuf:"bytes,2,opt,name=src_before,json=srcBefore,proto3" json:"src_before,omitempty"` SrcAfter string `protobuf:"bytes,3,opt,name=src_after,json=srcAfter,proto3" json:"src_after,omitempty"` UastBefore string `protobuf:"bytes,4,opt,name=uast_before,json=uastBefore,proto3" json:"uast_before,omitempty"` UastAfter string `protobuf:"bytes,5,opt,name=uast_after,json=uastAfter,proto3" json:"uast_after,omitempty"` }
func (*UASTChange) Descriptor ¶
func (*UASTChange) Descriptor() ([]byte, []int)
func (*UASTChange) GetFileName ¶
func (m *UASTChange) GetFileName() string
func (*UASTChange) GetSrcAfter ¶
func (m *UASTChange) GetSrcAfter() string
func (*UASTChange) GetSrcBefore ¶
func (m *UASTChange) GetSrcBefore() string
func (*UASTChange) GetUastAfter ¶
func (m *UASTChange) GetUastAfter() string
func (*UASTChange) GetUastBefore ¶
func (m *UASTChange) GetUastBefore() string
func (*UASTChange) ProtoMessage ¶
func (*UASTChange) ProtoMessage()
func (*UASTChange) Reset ¶
func (m *UASTChange) Reset()
func (*UASTChange) String ¶
func (m *UASTChange) String() string
type UASTChangesSaverResults ¶
type UASTChangesSaverResults struct {
Changes []*UASTChange `protobuf:"bytes,1,rep,name=changes" json:"changes,omitempty"`
}
func (*UASTChangesSaverResults) Descriptor ¶
func (*UASTChangesSaverResults) Descriptor() ([]byte, []int)
func (*UASTChangesSaverResults) GetChanges ¶
func (m *UASTChangesSaverResults) GetChanges() []*UASTChange
func (*UASTChangesSaverResults) ProtoMessage ¶
func (*UASTChangesSaverResults) ProtoMessage()
func (*UASTChangesSaverResults) Reset ¶
func (m *UASTChangesSaverResults) Reset()
func (*UASTChangesSaverResults) String ¶
func (m *UASTChangesSaverResults) String() string