Keywords: continuous integration continuous check contineous integration contineous inspection sonar Software Quality
Lanfeng blog: http://bluesfeng.javaeye.com
System TranslationArticleFor more information, see:
Http://www.sonarsource.org/continuous-inspection-practice-emerges-with-sonar/
It has been nearly ten years since Kent Beck and Martin Fowler proposed the concept of continuous integration. At that time it was hard to imagine that this concept would have such a huge impact on the daily work of developers, nor would it have imagined that this concept would be so widely accepted by the software community. Today, it is hard to imagine what software development would be like without continuous integration.
The ultimate goal of continuous integration is to release different software versions at any stage of software development, including milestone, RC, and GA. Let's summarize what continuous integration can do:
- Anyone can build the entire project anywhere and anytime.
- Each unit test must be executed during the continuous integration build process.
- In the continuous integration build process, each unit test must pass.
- Continuous integration build results can be released software packages.
- When none of the above is met, the main task of the entire team is to solve this problem.
This is indeed a very good starting point, but it is not enough for the quality of the entire software. Which otherSource codeWhat are the quality requirements?
- Any newCodeYou must enter the system with the unit test code.
- The complexity of the new method cannot exceed the defined limit.
- Circular dependency between packages is not allowed.
- No repetitive code is allowed.
- Conflicts with defined encoding specifications are not allowed.
- You cannot call a declared method.
- ...
All in all, the purpose of these needs is to control the entire "technical debt" and realize its existence. This is "continuous check ". This concept appeared five years ago (IBM article ). However, it has been further described and defined recently. However, just like the concept of continuous integration 10 years ago, continuous inspection is still a very new concept.
Sonar is one of the best architectures that support continuous checks. For more information about how to use sonar, see my blog.
Keywords: continuous integration continuous check contineous integration contineous inspection sonar Software Quality
Lanfeng blog: http://bluesfeng.javaeye.com