Note: You are viewing an old revision of this page. View the current version.

Computing metrics
For original Source : java soot.Main -ast-metrics --src-prec <classfile> This should create a metrics file into SootOutput? (Not decided on syntax of this file yet)
Dava output
run dava as you would normally run it : java soot.Main -f dava (FLAG OPTIONS TO CHOOSE LEVEL OF TRANSFORMATIONS)

This should create the regular java file in sootoutput/dava/src

We also need to create a build.xml file in sootOutput/dava which should contain atleast two targets
  • ast-metrics (which will run the command as if the decompiled output was the original java source)
  • recompile (which will recompile the decompiled output and place the class in the dava/class folder)