????EMMA??????????????? JAVA ????????????????????????????????????????????????????????????????????????????????????emma????????????????????????java????
??????????????
??????????????java emma instr -m overwrite -ip fileDericty -Dmetadata.out.file=/home/xxx/emma/coverage.em
??????Jar??????????????????????? java emma instr -m overwrite -cp xxxx.jar -Dmetadata.out.file=/home/xxx/emma/coverage.em
??????War?????в??????????ζ???EMMA: [0 class(es) instrumented?? 0 resource(s) copied]???????Σ???????
??????????????java emma instr -m overwrite -cp xxx.jar -ix +org.wstest.service.* -Dmetadata.out.file=/xxxx/emma/coverage.em???????? “+” ??????????????????????? “-” ?????????????????????
?????????????????java emma merge -input <path1>/coverage1.em??<path2>/coverage.em -out <path>/coverage2.em
?????????????????????????????ec?????
????java emma ctl -connect localhost:port -command coverage.get??/xxxx/emma/coverage.ec
????????????????????????
????java emma report -r html -sp /xxxx/xxxx/javaSources -in /xxx/xxx/coverage.em??/xxx/xxx/coverage.ec -Dreport.html.out.file=/xxxx/xxxx/coverage.html
??????????-sp???????????java?????·????????????潫?????????????