您的位置:首页 > 编程语言 > Java开发

Jacoco是一个Java代码覆盖率统计工具

2015-03-30 09:29 1096 查看
Jacoco是一个Java代码覆盖率统计工具,见:http://www.eclemma.org/jacoco/

JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team based on the lessons learned from using and integration existing libraries for many years.

note:

Jacoco weaves an additional field named $jacocoData
into the inspected classes.

When invoking Class.getDeclaredField(), there
will be an additional $jacocoData field.

Class cl=obj.getClass();

Field[] fields=cl.getDeclaredFields();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: