2011/08/25

To Check the Cover Rate of Flex Code by FlexCover


During the development, you can check whether there are“wasted “code in the current codes or not through FlexCover toolkit as below
1 ) Download FlexCover-SDK, http://code.google.com/p/flexcover/;

2Install CoverageViewer.air;


3)Copy one piece of sdk. Take version 4.1 for example: download sdk-modifications-4_0 and copy to sdk to cover the existing files.




4Add the modified SDK to Flash Builder;




5Set the current SDK as copySDK;



6Find one *.cvm file under the catalog of bin-debugit means the setting has been done;



7Run CoverageViewer to load the generated cvm document;


8Run the demo to check the cover rate;