最近更改

2010-02-16
2009-10-18
2009-10-17
2008-12-20
2008-12-18
2008-10-15

最新文件发布

ginkgo (0.2.2)2008-08-09 17:19

Wiki Guide

Sidebar

flow

activate

Right click project and select properties
projectproperty.jpg

Select C Coverage category and turn on the Activate nature checkbox
activate.jpg

compiler option settings

Select C/C++ Build Setting and add "-fprofile-arcs -ftest-coverage -std=c99 " compiler option option.jpg

linker option settings

Select C/C++ Build Setting and add "-fprofile-arcs -ftest-coverage -std=c99 " linker option linkoption.jpg

Rebuild your project.

run

Run the binary and executed lines and never executed lines are highlighted as can be seen in below screenshot. * Note: if the high lighted code does not show, you should select refresh project screenshot.jpg