crash.software
Projects
Pull Requests
Issues
Builds
scorecard
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scorecard
Files
🤬
Sign In
82f1dead
ROOT
/
checker
/
check_result.go
Search
History
202 lines
|
ISO-8859-1
|
5 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
DetailType
MaxResultScore
MinResultScore
InconclusiveResultScore
OffsetDefault
DetailInfo
:
DetailType
DetailWarn
DetailDebug
CheckResult
Name
:
string
Version
:
int
Error
:
error
Score
:
int
Reason
:
string
Details
:
[]CheckDetail
Rules
:
[]string
CheckDetail
Msg
:
LogMessage
Type
:
DetailType
LogMessage
Finding
:
*finding.Finding
Text
:
string
Path
:
string
Type
:
finding.FileType
Offset
:
uint
EndOffset
:
uint
Snippet
:
string
Remediation
:
*rule.Remediation
CreateProportionalScore
(success, total int)
:
int
AggregateScores
(scores ...int)
:
int
AggregateScoresWithWeight
(scores map[int]int)
:
int
NormalizeReason
(reason string, score int)
:
string
CreateResultWithScore
(name, reason string, score int)
:
CheckResult
CreateProportionalScoreResult
(name, reason string, b, t int)
:
CheckResult
CreateMaxScoreResult
(name, reason string)
:
CheckResult
CreateMinScoreResult
(name, reason string)
:
CheckResult
CreateInconclusiveResult
(name, reason string)
:
CheckResult
CreateRuntimeErrorResult
(name string, e error)
:
CheckResult
All occurrences
Please wait...
Page is in error, reload to recover