Autor: |
Oscar Nierstrasz, Walter Binder, Alex Villazón, David Röthlisberger, Marcel Harry, Philippe Moret, Danilo Ansaloni |
Rok vydání: |
2009 |
Předmět: |
|
Zdroj: |
ICSM |
DOI: |
10.1109/icsm.2009.5306302 |
Popis: |
Mainstream IDEs such as Eclipse support developers in managing software projects mainly by offering static views of the source code. Such a static perspective neglects any information about runtime behavior. However, object-oriented programs heavily rely on polymorphism and late-binding, which makes them difficult to understand just based on their static structure. Developers thus resort to debuggers or profilers to study the system's dynamics. However, the information provided by these tools is volatile and hence cannot be exploited to ease the navigation of the source space. In this paper we present an approach to augment the static source perspective with dynamic metrics such as precise runtime type information, or memory and object allocation statistics. Dynamic metrics can leverage the understanding for the behavior and structure of a system. We rely on dynamic data gathering based on aspects to analyze running Java systems. By solving concrete use cases we illustrate how dynamic metrics directly available in the IDE are useful. We also comprehensively report on the efficiency of our approach to gather dynamic metrics. |
Databáze: |
OpenAIRE |
Externí odkaz: |
|