Towards Automating Dynamic Analysis for Behavioral Design Pattern Detection

被引:0
|
作者
De Lucia, Andrea [1 ]
Deufemia, Vincenzo [1 ]
Gravino, Carmine [1 ]
Risi, Michele [1 ]
机构
[1] Univ Salerno, Dept Management & Informat Technol, Fisciano, SA, Italy
关键词
Dynamic analysis; design pattern detection; test case generation; TOOL;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The detection of behavioral design patterns is more accurate when a dynamic analysis is performed on the candidate instances identified statically. Such a dynamic analysis requires the monitoring of the candidate instances at run-time through the execution of a set of test cases. However, the definition of such test cases is a time-consuming task if performed manually, even more, when the number of candidate instances is high and they include many false positives. In this paper we present the results of an empirical study aiming at assessing the effectiveness of dynamic analysis based on automatically generated test cases in behavioral design pattern detection. The study considered three behavioral design patterns, namely State, Strategy, and Observer, and three publicly available software systems, namely JHotDraw 5.1, QuickUML 2001, and MapperXML 1.9.7. The results show that dynamic analysis based on automatically generated test cases improves the precision of design pattern detection tools based on static analysis only. As expected, this improvement in precision is achieved at the expenses of recall, so we also compared the results achieved with automatically generated test cases with the more expensive but also more accurate results achieved with manually built test cases. The results of this analysis allowed us to highlight costs and benefits of automating dynamic analysis for design pattern detection.
引用
收藏
页码:161 / 170
页数:10
相关论文
共 50 条
  • [1] JADEPT: Dynamic Analysis for Behavioral Design Pattern Detection
    Arcelli, Francesca
    Perin, Fabrizio
    Raibulet, Claudia
    Ravani, Stefano
    ENASE 2009: EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 95 - 106
  • [2] Automating design-pattern identification
    Bansiya, J
    DR DOBBS JOURNAL, 1998, 23 (06): : 20 - +
  • [3] Automating Software Design Pattern Transformation
    Wheatman, Martin
    Liu, Keeheng
    2009 7TH IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS, VOLS 1 AND 2, 2009, : 167 - 172
  • [4] Towards Automating the Detection of Event Sources
    Herzberg, Nico
    Khovalko, Oleh
    Baumgrass, Anne
    Weske, Mathias
    SERVICE-ORIENTED COMPUTING - ICSOC 2013 WORKSHOPS, 2014, 8377 : 111 - 122
  • [5] Design Pattern Detection in Java']Java Systems: A Dynamic Analysis Based Approach
    Arcelli, Francesca
    Perin, Fabrizio
    Raibulet, Claudia
    Ravani, Stefano
    EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2010, 69 : 163 - +
  • [6] Improving Behavioral Design Pattern Detection through Model Checking
    De Lucia, Andrea
    Deufemia, Vincenzo
    Gravino, Carmine
    Risi, Michele
    14TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR 2010), 2010, : 176 - 185
  • [7] An Eclipse plug-in for the Detection of Design Pattern Instances through Static and Dynamic Analysis
    De Lucia, Andrea
    Deufemia, Vincenzo
    Gravino, Carmine
    Risi, Michele
    2010 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2010,
  • [8] Automating dynamic community detection by optimizing scalefreeness
    Pinto, Italo Ivo Lima Dias
    Bansal, Kanika
    Garcia, Javier Omar
    JOURNAL OF COMPUTATIONAL NEUROSCIENCE, 2023, 51 : S77 - S78
  • [9] Towards automating hardware/software co-design
    El-Kharashi, MW
    El-Malaki, MH
    Hammad, S
    Salem, A
    Wahdan, A
    4TH IEEE INTERNATIONAL WORKSHOP ON SYSTEM-ON-CHIP FOR REAL-TIME APPLICATIONS, PROCEEDINGS, 2004, : 189 - 192
  • [10] Towards Automating Design and Development of Inference Enterprise Models
    Lee, James D.
    Matsumoto, Shou
    Zaidi, Abbas K.
    Laskey, Kathryn B.
    2019 13TH ANNUAL IEEE INTERNATIONAL SYSTEMS CONFERENCE (SYSCON), 2019,