??????????????У??????????????????????????????????????????????????????????????????????????к????????????????????????????????????????????

?????????г???????????????5??????????

????1??SLOC??Source Lines of Code????????У?

????????????????????????????????????????????????????????????滮???????????????磬???????????δ???????????????????????????????????????????????????????????ε??????????????????????????????????????????????

????????????????????У?Source Logical Line of Code??SLLOC?????????????????????????????????в????????С??????????к?????С???????? Metrics ??????????

????????????????????????????????Ч?????????????????????????????????????

????2??????????/???/?????е? bug ??

????????????????????????????????bug ?????????????????????Ρ????????Σ???????μ????? bug ?????????????????????????? Mantis????????????????緢???????????

????Bug ???????????????????Ч???????????????????????????????????????????????????????????????????????????????У???????????????????????

???????????????????????????????????????? bug ?????????С???????????

????3??????????

?????????????Σ?????????????????????????????????????????????????????????????????????????к???? Cobertura ???

??????????????????????????????????????????????Щ????????????????????????????Щ??????????????á?

??????????????????????????????????????????????????????

????4?????/???????

??????????????к????????????????а?????

?????? ??/?????????

?????? ??????з???/????????

?????? ????/???????????????

?????? ???????????????????????????????????????д??????е??????????????????????????????壩

?????? ????б?????

????????????????????????????????????????????????Щ????е?????????????????Щ???????????? maven pmd ????????????Щ?????????????????????????

????5?????????Cyclomatic Complexity??

???????????????????????????ж??????????????????????????????????????????????????????????????????????飬???????????????????????????????????? pmd ???????????????

????????????????????????·??????????????????????????????????·?????????????????????????????????????????????????

????????????Cyclomatic Complexity = E - N + 2P

????E????????????????????

????N??????????д????С???

????P????????

????????й? 8 ?????7??????????????? 8 - 7 + 2*1??3??????????????????????????? 3 ???????·??????????????У????????????????????????????????6??8?? 10 ?????

?????????????? 5 ?????????????????????????????????????????????????????????????