代码覆盖率工具Cobertura
http://cobertura.github.io/cobertura/
http://www.ibm.com/developerworks/cn/java/j-cobertura/
Cobertura的三个指标:line coverage,Branch coverage,complexity。
line coverage: 执行的代码行数占总行数的百分比。
Branch coverage: 如果你的代码中有if等分支时,覆盖分支的情况。
complexity: 复杂度。
http://cobertura.github.io/cobertura/
http://www.ibm.com/developerworks/cn/java/j-cobertura/
Cobertura的三个指标:line coverage,Branch coverage,complexity。
line coverage: 执行的代码行数占总行数的百分比。
Branch coverage: 如果你的代码中有if等分支时,覆盖分支的情况。
complexity: 复杂度。