You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by archana sastry <ar...@yahoo.co.in> on 2008/11/25 08:47:45 UTC

Byte Code coverage

Hi everyone

I am a newbie to BCEL. I was trying to work on byte
code coverage. Actually I wanted to know the percentage of byte code
that a particular input covers. So I was trying to use BCEL to modify
the class file and insert an instruction list containing instructions
to increment a counter (a static int variable) after every byte code
line. Is this approach correct? I am a bit confused about this. 
Please help.... Thanks in advance!!

Archana


      Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/