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
1471c807
ROOT
/
checks
/
evaluation
/
branch_protection.go
Search
History
415 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
minReviews
adminNonAdminBasicLevel
adminNonAdminReviewLevel
nonAdminContextLevel
nonAdminThoroughReviewLevel
adminThoroughReviewLevel
scoresInfo
basic
:
int
adminBasic
:
int
review
:
int
adminReview
:
int
context
:
int
thoroughReview
:
int
adminThoroughReview
:
int
levelScore
scores
:
scoresInfo
maxes
:
scoresInfo
BranchProtection
(name string, dl checker.DetailLogger, r *checker.BranchProtectionsData, )
:
checker.CheckResult
computeNonAdminBasicScore
(scores []levelScore)
:
int
computeAdminBasicScore
(scores []levelScore)
:
int
computeNonAdminReviewScore
(scores []levelScore)
:
int
computeAdminReviewScore
(scores []levelScore)
:
int
computeNonAdminThoroughReviewScore
(scores []levelScore)
:
int
computeAdminThoroughReviewScore
(scores []levelScore)
:
int
computeNonAdminContextScore
(scores []levelScore)
:
int
noarmalizeScore
(score, max, level int)
:
float64
computeScore
(scores []levelScore)
:
(int, error)
info
(dl checker.DetailLogger, doLogging bool, desc string, args ...interface{})
debug
(dl checker.DetailLogger, doLogging bool, desc string, args ...interface{})
warn
(dl checker.DetailLogger, doLogging bool, desc string, args ...interface{})
basicNonAdminProtection
(branch *clients.BranchRef, dl checker.DetailLogger)
:
(int, int)
basicAdminProtection
(branch *clients.BranchRef, dl checker.DetailLogger)
:
(int, int)
nonAdminContextProtection
(branch *clients.BranchRef, dl checker.DetailLogger)
:
(int, int)
nonAdminReviewProtection
(branch *clients.BranchRef)
:
(int, int)
adminReviewProtection
(branch *clients.BranchRef, dl checker.DetailLogger)
:
(int, int)
adminThoroughReviewProtection
(branch *clients.BranchRef, dl checker.DetailLogger)
:
(int, int)
nonAdminThoroughReviewProtection
(branch *clients.BranchRef, dl checker.DetailLogger)
:
(int, int)
All occurrences
Please wait...
Page is in error, reload to recover