Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateCharDeltaAndLocation ¶
func CalculateCharDeltaAndLocation(log *logger.Logger, filepath string, version1, version2 logger.LogEntry) (charDelta int, location string, err error)
Function to calculate CharDelta by comparing two versions of the same file
func ErrorTypeConversion ¶
ErrorTypeConversion would convert the ErrorCode to the ErrType used in the EQ calculation. For the purpose of this example, assume that any ErrorCode != 0 is an error.
Types ¶
type Analyzer ¶
type Analyzer struct { LoggerLoaders []analyzer.LoggerLoader ErrorsByParticipant map[string]ErrorQuotientAnalysisResult // ResultsByParticipant is a map of participantId to the error quotient // map[participantId]map[filePath]errorQuotient ResultsByParticipant map[string]map[string]float64 }
type CompilationEvent ¶
type ErrorQuotientAnalysisResult ¶
type ErrorQuotientAnalysisResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.