The Code Quality Inspection (CQI) module. CQI primarily consists of two kinds of inspection: Cyclomatic Complexity Calculation (CCC) and Coding-Style-Analysis (CSA).
./mvnw install -DskipTestsAll the contributions must follow the rules:
- Every java file must be attached a Apache License header.
- Must follow the java naming conventions.
And commit your contributions in the following steps:
- You must create a new branch for every change request (aka PR).
- The branch name must be
${tag}/${issue-number}- e.g. For a dev ticket of issue number 35, it's
dev/35
- e.g. For a dev ticket of issue number 35, it's
- The branch name must be
- When your changes have been done, run
./mvnw packageto make sure all the tests are passed. - Make sure your branch has a same base as the remote Main branch's.
- If not, run:
git checkout maingit pull origin maingit checkout ${branch's name}git rebase main- If there exists conflicts.
- Solve the conflict then run
git add . git rebase --continue- Repeat until all conflicts solved
git push --force-with-lease origin ${branch's name}to the latest version of themainbranch.
- If not, run:
- Create a Pull Request with a sufficient description, create the PR.
- Link the PR to the issues that it covers.
- Add Reviewer requests.