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 22:47 Go to next message
john doe is currently offline john doeFriend
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 10:52 Go to previous message
Klaus Mandola is currently offline Klaus MandolaFriend
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: Mon Dec 22 04:22:57 GMT 2014

Powered by FUDForum. Page generated in 0.01532 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software