# Functions
AggregateScores adds up all scores and normalizes the result.
AggregateScoresWithWeight adds up all scores and normalizes the result.
CreateInconclusiveResult is used when the check runs without runtime errors, but we don't have enough evidence to set a score.
CreateMaxScoreResult is used when the check runs without runtime errors and we can assign a maximum score to the result.
CreateMinScoreResult is used when the check runs without runtime errors and we can assign a minimum score to the result.
CreateProportionalScore creates a proportional score.
CreateProportionalScoreResult is used when the check runs without runtime errors and we assign a proportional score.
CreateResultWithScore is used when the check runs without runtime errors and we want to assign a specific score.
CreateRuntimeErrorResult is used when the check fails to run because of a runtime error.
NormalizeReason - placeholder function if we want to update range of scores.
# Constants
DetailDebug is debug log.
DetailInfo is info-level log.
DetailWarn is warn log.
FileTypeBinary is for binary files.
FileTypeNone is a default, not defined.
FileTypeSource is for source code files.
FileTypeText is for text files.
FileTypeURL for URLs.
UPGRADEv2: to remove.
nolint.
UPGRADEv2: to remove.
nolint.
UPGRADEv2: to remove.
nolint.
# Structs
CheckDetail contains information for each detail.
CheckRequest struct encapsulates all data to be passed into a CheckFn.
CheckResult captures result from a check run.
LogMessage is a structure that encapsulates detail's information.
Runner runs a check with retries.
# Interfaces
DetailLogger logs a CheckDetail struct.
# Type aliases
CheckFn defined for convenience.
CheckNameToFnMap defined here for convenience.
DetailType is the type of details.
FileType is the type of a file.