Augmenting Static Source Views in IDEs with Dynamic Metrics

被引:0
|
作者
Roethlisberger, David [1 ]
Haerry, Marcel [1 ]
Villazon, Alex [2 ]
Ansaloni, Danilo [2 ]
Binder, Walter [2 ]
Nierstrasz, Oscar [1 ]
Moret, Philippe [2 ]
机构
[1] Univ Bern, Software Composit Grp, CH-3012 Bern, Switzerland
[2] Univ Lugano, Lugano, Switzerland
基金
瑞士国家科学基金会;
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:253 / +
页数:2
相关论文
共 50 条
  • [21] Static and dynamic distance metrics for feature-based code analysis
    Wong, WE
    Gokhale, S
    JOURNAL OF SYSTEMS AND SOFTWARE, 2005, 74 (03) : 283 - 295
  • [22] Comparing Hybrid Tool for Static and Dynamic Object-Oriented Metrics
    Malik, Babur Hayat
    Khalid, Javaria
    Arif, Hafsa
    Sadiqa, Ayesha
    Tanveer, Amara
    Mumtaz, Asia
    Afzal, Zartashiya
    Azhar, Samreen
    Ali, Muhammad Numan
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (05) : 525 - 530
  • [23] Static and dynamic metrics of economic resilience for interdependent infrastructure and industry sectors
    Pant, Raghav
    Barker, Kash
    Zobel, Christopher W.
    RELIABILITY ENGINEERING & SYSTEM SAFETY, 2014, 125 : 92 - 102
  • [24] A study of the influence of coverage on the relationship between static and dynamic coupling metrics
    Mitchell, A
    Power, JF
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 59 (1-2) : 4 - 25
  • [25] Analysing Bug Prediction Capabilities of Static Code Metrics in Open Source Software
    Ferzund, Javed
    Ahsan, Syed Nadeem
    Wotawa, Franz
    SOFTWARE PROCESS AND PRODUCT MEASUREMENT, 2008, 5338 : 331 - 343
  • [26] Alborz: An interactive toolkit to extract static and dynamic views of a software system
    Sartipi, Kamran
    Ye, Lingdong
    Safyallah, Hossein
    14TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2006), PROCEEDINGS, 2006, : 256 - +
  • [27] Dynamic and static views of succession: Testing the descriptive power of the chronosequence approach
    Bryan L. Foster
    David Tilman
    Plant Ecology, 2000, 146 : 1 - 10
  • [28] Dynamic and static views of succession: Testing the descriptive power of the chronosequence approach
    Foster, BL
    Tilman, D
    PLANT ECOLOGY, 2000, 146 (01) : 1 - 10
  • [29] Static penetration assessment of stone weapon tip geometry metrics and comparison of static and dynamic penetration depths
    Sitton, Jase
    Stenzel, Christopher
    Buchanan, Briggs
    Eren, Metin I. I.
    Story, Brett
    ARCHAEOMETRY, 2023, 65 (03) : 463 - 479
  • [30] Blind source recovery: Algorithms for static and dynamic environments
    Salam, FM
    Erten, G
    Waheed, K
    IJCNN'01: INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, VOLS 1-4, PROCEEDINGS, 2001, : 902 - 907