Is it possible to parse them and generate my own reports?
I know that they contain the metadata about the classes, methods, etc. and also the runtime coverage data but more specifically what is their internal structure? Am I better off parsing the thousands of HTML files that are generated?
If I remember correctly these files contain serialized Java objects. So instead of writing your own parser may use APIs provided in emma.jar to read those files, see com.vladium.emma.data.DataFactory as a starting point. You can take a look at the EclEmma 1.x source base which utilized these APIs.
Thank you for the reply.
Is it not possible to deserialize or restore the file? will that not work? I need to create my own report which contains the source lines. please help me out.
(I'm new to emma. please pardon me if I my comment is an under-informed one.)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.