cra integration with bitbucket

12
Inesh Hettiarachchi Using CRA Code Review Bug Detection Code Clarity

Upload: inesh-hettiarachchi

Post on 22-Jan-2018

170 views

Category:

Engineering


5 download

TRANSCRIPT

Page 1: CRA Integration with Bitbucket

Inesh Hettiarachchi

Using CRACode Review

Bug Detection

Code Clarity

Page 2: CRA Integration with Bitbucket

Goals

❖ Start CRA actively on All

Services

❖ Better awareness of the Code

Review Process

Page 3: CRA Integration with Bitbucket

Today's menu

❖ Explain the current approach on how to implement the automated code review

❖ Review and discussion by all dev's on CRA and the current approach to

implement automated code review

❖ Setting a cap for accepted number of Checkstyle issues for a single class

when merging a pull request

❖ Setting a cap for accepted number of PMD issues for a single class when

merging a pull request

❖ Setting a time line for other services to be fully adopt the CRA Checkstyle and

PMD. Each module lead can discuss on a time line for their product in

BitBucket.

❖ Issues in current standards file.

Page 4: CRA Integration with Bitbucket

Theres Always a Time for a Question

In-between

Page 5: CRA Integration with Bitbucket

CRA -1Reports violations as pull request comments

Page 6: CRA Integration with Bitbucket

CRA -2Enforces quality with merge checks

Page 7: CRA Integration with Bitbucket

https://marketplace.atlassian.com/plugins/ch.mibex.stash.cra/server/overview

https://pmd.github.io/

http://checkstyle.sourceforge.net/

Page 8: CRA Integration with Bitbucket
Page 9: CRA Integration with Bitbucket

❖ Checkstyle , PMD Code Cap

Page 10: CRA Integration with Bitbucket

❖ Setting a time line

Page 11: CRA Integration with Bitbucket
Page 12: CRA Integration with Bitbucket

END.