Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Call Graph
Call Graph [message #702875] Tue, 26 July 2011 18:47 Go to next message
john doe is currently offline john doe
Messages: 74
Registered: June 2011
Member
Is it possible to generate a static call graph for a method in a class using TPTP? I would like to access the generated information for analysis. I'm not interested in the visual results.

Thanks JD
Re: Call Graph [message #703247 is a reply to message #702875] Wed, 27 July 2011 06:52 Go to previous message
Klaus Mandola is currently offline Klaus Mandola
Messages: 2
Registered: May 2011
Junior Member
Hi JD,

No, TPTP cannot provide a static call graph.
TPTP generates its call graph during runtime and therefore can only provide a dynamic call graph consisting of the methods that were called during the execution process.
A static call graph would require static code analysis which is not covered by TPTP.

As a starting point you may want to have a look at the IJavaModel class from JDT, which provides you with the necessary information to build your own static call graph.

Regards, Klaus
Previous Topic:determine line coverage after running recorded test for plugin UI
Next Topic:Problem uninstalling TPTP
Goto Forum:
  


Current Time: Wed Jul 23 12:19:39 EDT 2014

Powered by FUDForum. Page generated in 0.01746 seconds