??????????????????5
???????????? ???????[ 2013/8/8 15:08:32 ] ????????
????3. links???
?????????eclemma???????????μ?eclemmaEclipse???????http??//sourceforge.net/projects/eclemma/files/??source=navbar
??????eclipse???????????????links????У??????????(????eclemma-2.2.0)????????links??????£?????links????????eclemma.link???????????????д??path=/usr/lib/eclipse/links/eclemma-2.2.0 ?????path=xxx??eclemma?????е?·???? ??????????Linux??????windows???????D??xxxeclipselinkseclemma-2.2.0??
??????????????eclipse???????eclemma??????????????????Eclemma?????
????????? ??????????windows???????????????????????Ubuntu?o?????У????????????????????????????Ubuntu???????????????
????????eclemma-2.2.0??????У??????н??????eclipse????в???eclemma???????????????? eclipse????
????????eclipse?????????н?????????.eclipseextension?????????(???"."??????)??????????????????????????????????£?
cd /usr/lib/eclipse/links/eclemma-2.2.0/
sudo mkdir eclipse
sudo mv * eclipse/
cd eclipse/
vi .eclipseextension
chmod +x .eclipseextension
??????????????????????sudo?????????????????? ??????????? /usr/lib?????????root???????????????????????????sudo??
????2.2.3 EclEmma?????
????????Eclemma???????????????????????????????£?
???????Eclemma???и???????http??//www.ibm.com/developerworks/cn/java/j-lo-eclemma/
????2.3C++???????????gcov
????gcov??GNU/GCC??????????????C/C++???????????????????????????????????????棬????CLI?????н???.????????????棬???Ggcov??
????2.3.1gcov????
????gcov??gcc??????????????????gcc??????????д???????
????2.3.2gcov???????????????
????grov??????????????????????????е????????????????????????串????????????????????????????????????????е????????ù????????????????????????е???????????????????????
????Gcc???????????gcov??gcov?????gcc?????????????(?????????в?????ο????????????????)????ò??裺
??????????????”-ftest-coverage-fprofile-arcs”??a.out(??????-o???????????????)??.gcda?????
???????./a.out??????????????????????·???????????????????????????????????? ????е???????浽.gcno??.gcda?????-->gcov-b xxx.c-->xxx.c.gcov(?????????????????е???????????е???????“####”???)
??????????gcov?????????±??????????????????????????????????????汾????С?
????gcov???????????????????gcov?????????(man gcov)
/*Program: testgcov.c -- interpert the workflow of gcov */
#include<stdio.h>
int main(){
printf("Hello??World
");
}
??????
???·???
??????????????????
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