5????????????????????????????
???????????? ???????[ 2013/5/6 10:27:49 ] ????????
????1??Sourc Lines of Code??SLOC??
????????????????????????????????????????????????????????????Щ???????????磬??????????????δ???????????????????????????????????????????????????????????????????????????????
????SLOC ??????? Source Logical Line of Code ??SLLOC?? ??????????????Logical code lines ?????????У??????????????????С????????? Metrics ?????????????????? SLLOC??
??????????????????????????????Ч??????????????????????????????????????
????2??Bugs per code_section/module/time_period
????????????????????????????????衣???????е?????bug???????и???????????????????????????????????day?? week?? month...?????????????????????? Mantis ???????????????????Щ??????????????????????緢????????
???????????????????????????????????????????????????С????????????? bug ???????????????????????????????????Ч??????????е??????????????????
?????????????????????????????Bug ?????? low?? medium?? high ?????????????????????????????????????
????3??Code Coverage
????Code coverage ??????????????????к????????????????????????? Cobertura ??
????Code coverage ???????????????????????????????????????????檔????????????Щ????????????????????????????????????????????????????????????????????
????4??Design/Development Contraints
??????????????к???????????磺
????- ??/?????????
????- ????/?????????
????- ?????????????
????- ??????????????????????
????- ???????
??????Щ????????????????????????????????????????????Щ?????????????????????? maven pmd plugin ???????????????????????????
????5??Cyclomatic Complexity????·??????
???????·?????????г??????????????????????????????????·???????????????????С?????????????????????????? pmd ??
???????????????????????·???????????磺
????Cyclomatic Complexity = E(edges) - N(nodes) + 2P (exit nodes)
????So?? Cyc.Cmp. = 8 - 7 + 2*1 = 3
???????????????????????????????????·??????????????????????????????????????????????????趨???????????????6??8??????10??
?????????????????????????????????????????????????????????и????????
????????????http://www.oschina.net/translate/five-common-automized-software-quality
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11