-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run JDCallgraph on D4J #5
Comments
Oh, in the paper, the authors mentioned that they had developed this tool. But I just figured out that the main maintainer(contributor) @dkarv of this project may not be one of the authors...? So, please let me know if this is not a proper place to ask the above question. And I'd really appreciate if you can let me know whom I can contact. |
Hi :) Thanks for your question. I developed this tool as part of my master thesis, but I don't further participate in the academic research about fault localization, so I can answer questions about the tool only. D4J uses Ant as build tool, so you can follow the Ant instructions in the Readme to get started. Basically I modified the defects4j.build.xml to fork a new VM and add jdcallgraph as agent. So changed lines in the xml would look like this:
The examples/falo.ini can be a good starting point for the config. You can then proceed to run D4J tests. Just keep in mind that it will take longer due to the instrumentation, and I suggest starting with easy projects such as the "Lang" one. Disclaimer that I haven't run the project in ages, and only on Linux (Ubuntu in particular) with Java 7 or 8. The last version of D4J I tried it with is this one, but on a short glance it seems nothing changed in a way it would not work with the latest release. Happy to get some feedback how it works out! |
With your guidance, I was able to extract the call graph of p.s. I found that the pre-released version (v0.2) cannot recognise the |
Hi!
First of all, thanks for providing this tool :)
While I'm reading your ICST'20 paper, I found that you use this tool on the D4J dataset to extract the dynamic features.
Would you mind providing an example script to run this tool on the dataset if available?
I think that would be a really great tutorial to get used to this tool.
Thank you.
The text was updated successfully, but these errors were encountered: