Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MetricName

The metric type: COMMITS - Represents the number of commits. LINES_ADDED - Represents the number of lines of code added. LINES_DELETED - Represents the number of lines of code deleted. PULL_REQUEST_CREATED - Represents the number of pull requests which is in created/ open state. PULL_REQUEST_MERGED - Represents the number of pull requests which is in merging/ merged state. PULL_REQUEST_DECLINED - Represents the number of pull requests which is in declined state. PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS - Represents the time from when a pull request is created to the first comment on the pull request. PULL_REQUEST_REVIEW_DURATION_IN_DAYS - Represents the time from the first comment on the pull request to when the pull request is merged or closed. PULL_REQUEST_APPROVED - Represents the number of pull requests which is approved by the user when the pull request is merged. PULL_REQUEST_REVIEWED - Represents the number of pull requests which has been commented on. PULL_REQUEST_COMMENTS - Represents the total number of comments given across different pull requests.

Enumeration members

Commits

Commits: = "COMMITS"

LinesAdded

LinesAdded: = "LINES_ADDED"

LinesDeleted

LinesDeleted: = "LINES_DELETED"

PullRequestApproved

PullRequestApproved: = "PULL_REQUEST_APPROVED"

PullRequestComments

PullRequestComments: = "PULL_REQUEST_COMMENTS"

PullRequestCreated

PullRequestCreated: = "PULL_REQUEST_CREATED"

PullRequestDeclined

PullRequestDeclined: = "PULL_REQUEST_DECLINED"

PullRequestMerged

PullRequestMerged: = "PULL_REQUEST_MERGED"

PullRequestReviewDurationInDays

PullRequestReviewDurationInDays: = "PULL_REQUEST_REVIEW_DURATION_IN_DAYS"

PullRequestReviewStartDurationInDays

PullRequestReviewStartDurationInDays: = "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS"

PullRequestReviewed

PullRequestReviewed: = "PULL_REQUEST_REVIEWED"

UnknownValue

UnknownValue: = "UNKNOWN_VALUE"

This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.

Functions

getDeserializedJsonObj

getJsonObj