Description / Features
The Quality Index plugin combines a global measure (quality index) of quality with a measure of the method complexity (complexity factor).
The Quality Index measures 4 weighted axes of quality and combines them to give a global note between 0 and 10 to the project, 10 being the best.
1. Coding violations : a PMD compliance index
(Blocker * 10 + Critical * 5 + Major * 3 + Minor + Info) / validLines
2. Complexity
(Complexity>30 *10 + Complexity>20 * 5 + Complexity>10 * 3 + Complexity>1) / validLines
3. Test Coverage
Code coverage
4. Style violations : a Checkstyle compliance index
Style = (Errors*10 + Warnings) / ValidLines * 10
QI = 10 - 4.5 * coding - 2 * complexity - 2 * coverage -1.5 * style
The complexity factor measures the complexity density
CF = (5 * Complexity>30) * 100 / (Complexity>1 + Complexity>10 + Complexity>20 + Complexity>30)
'컴퓨터활용 > eclipse,svn' 카테고리의 다른 글
Ctrl-Space를 눌렀을 때 proposal 이 제대로 나오지 않는 경우 (0) | 2012.07.03 |
---|---|
svn 사용자 추가 (0) | 2012.05.30 |
locked; try performing 'cleanup' (0) | 2011.12.22 |
이클립스 속도 향상 (eclipse.ini 수정) (0) | 2011.12.13 |