Hi, does your approach works? Or some more practical solutions? Thanks
On Wednesday, October 24, 2012 10:11:49 AM UTC-4, sm8 wrote: > > Why is on-the-fly instrumentation not supported, is that a Dalvik VM > limitation? > > What is Emma_device.jar? I see that its being included in Android's EMMA > INSTR cmd? Why is that included in Android APK? > > Any potential gotchas in going the dex -> class -> Emma instrumentation -> > apk route? > > Thanks! > > On Tuesday, October 23, 2012 11:17:18 PM UTC-7, Xavier Ducrohet wrote: >> >> As far as I know we don't support on-the-fly instrumentation. You'll have >> to try to convert from dex to .class and back. >> >> On Tue, Oct 23, 2012 at 10:10 PM, sm8 <[email protected]> wrote: >> >>> I am trying to come up with a metric, that tells me how extensive the >>> evaluation of an Android App is. I am thinking of using code coverage to >>> give a rough estimate of adequate coverage of the App logic. The twist here >>> is that I don't have the source code only the released APK. >>> >>> The EMMA website mentions that EMMA can support on-the-fly >>> instrumentation to give code coverage details. >>> >>> Reading the Android doc, I see that there is only off-line >>> instrumentation for EMMA using the ANT task. >>> >>> My question is, can an released APK be instrumented with EMMA (Dex2Jar >>> to get the *.classes, instrument the classes w/ EMMA and repackage the >>> APK).? >>> >>> Is it possible to do on-the-fly instrumentation to get code-coverage in >>> Android, and thereby not have to worry about unpacking, instrumenting and >>> packaging a released APK? >>> >>> Thanks in advance! >>> >>> >> >> >> -- >> Xavier Ducrohet >> Android SDK Tech Lead >> Google Inc. >> http://developer.android.com | http://tools.android.com >> >> Please do not send me questions directly. Thanks! >> > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
