???????????????? HTML ??????? XML ????????????1???2? HTML ???????????????????????????????????????????λ???????1?? Index ??????????????к??????????????δ?????????????????2????? org.numberquiz ?? QuizBran ????????????????忴????????????????91%???????п?????????????????????????????檔


????? 1. Index ???????


? 2. QuizBran ???????

????????????????У???????????????????????????????????????????????????????????
????????????????????????????????????????????????ò?????????????????????????????????????????????Χ????????治??????????????????????????????????????????????????????????????????????????????????????????????????????
????????????????????????????л????????????????????????????????????????á?
???????????????????????????????????????????????????????????????????????????????????в???
???????????????????棬??????????в????????????????е????????????????????????????????????????????????????У????????????????????
?????????????????????????????? JVM ?????????????????????????м??????????????????????? JVM ?????????????鷳??
??????? “coverage.reset” ???????????????????? JVM ??????£????????м??????????顢?е??????????????????????????????????????????????????????????????????????????
?????嵥 9. ???????и????????????
????/opt/WebSphere/PortalServer/java/jre/bin/java -cp emma.jar emma ctl -connect
????auscsdpfvtvm15.bto.ibm.com:47653 -command coverage.reset
????EMMA: processing control command sequence
????EMMA: executing [coverage.reset ()]
????EMMA: coverage.reset: coverage reset for 5 classes {in 0 ms}
????EMMA: coverage.reset: command completed in 31 ms
????EMMA: control command sequence complete
???????????????
?????????????????????????????????????????????????????????????檔?????????????? “merge” ?????? “*.ec” ????????
???????????? EMMA ?в??????????????? “*.em” ??????????????????????????????仯?????????й???????????????????軔????? “*.ec” ?????????μ???? “*.ec” ?????????棩?????????μ? “*.em” ?????????????仯??????????????????? EMMA ???汾?仯?????????????μ????????????????? “*.ec” ????????????? “*.em” ?????
?????嵥 9. ???????????????
????/opt/WebSphere/PortalServer/java/jre/bin/java emma merge
????–input coverage1.ec??coverage2.ec??coverage3.ec –output coverage.ec
?????????????????????????????? “com.vladium.emma.EMMARuntimeException: [CLASS_STAMP_MISMATCH] runtime version of class in the coverage data is not consistent with the version of this class in the metadata?? possibly because stale metadata is being used for report generation” ??????????????μ? “*.em” ???????????????????????????????????????????μ????????б???????????????????????????????????????????????С?
??????????????????????????????
???????????????????????????????????????????????????????涼???????????Щ???????????????????????????????????????????
???????????????У?????????????????е????????????????????е????????????????????????????????????????????????????????????????????????????????????е????Щ??????????????Щ????δ????????????????????????????????????????????????????????????£??????????????Щ????????????????????????????
?????????????????????????????????????????????????????????????????????????????????????????ο??????????????????????????????????????????????????
????????????????????
???????????????????????????????????????£????????????????????????????????????????????????????
????????????????????
????????????????б???????????????δ?????????
?????????е????????
???????磺?????????????У?????????? syslog.messages ????????????????Щ???????????б???????????????й????У?????Щ???????????г????????????????????????????Щ??????????д????????????????3?к?????е????????


????? 3. ????????????

??????????????
???????????????棬???????????????????????????
????????????Χ??????????????
???????????????????????????????в????????????????????????
?????????????δ??????????????????????????????????
????????
?????????????У??????????????????????????????????????????????????????????????????????? EMMA ???????????????????????????е????????????????????????????????????????????????? EMMA ?????????????????????????????????????????????????????????