Towards a Comprehensive Test Suite for Detectors of Design Patterns

被引:0
|
作者
Wegrzynowicz, Patrycja [1 ]
Stencel, Krzysztof [2 ]
机构
[1] NASK Res & Acad Comp Network, Software R&D Dept, Warsaw, Poland
[2] Warsaw Univ, Inst Informat, Warsaw, Poland
关键词
test suite; design patterns; detection;
D O I
10.1109/ASE.2009.85
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Detection of design patterns is an important part of reverse engineering. Availability of patterns provides for a better understanding of code and also makes analysis more efficient in terms of time and cost. In recent years, we have observed a continual improvement in the field of automatic detection of design patterns in source code. Existing approaches can detect a fairly broad range of design patterns, targeting both structural and behavioral aspects of patterns. However, it is not straightforward to assess and compare these approaches. There is no common ground on which to evaluate the accuracy of the detection approaches, given the existence of variants and specific code constructs used to implement a design pattern. We propose a systematic approach to constructing a comprehensive test suite for detectors of design patterns. This approach is applied to construct a test suite covering the Singleton pattern. The test suite contains many implementation variants of these patterns, along with such code constructs as method forwarding, access modifiers, and long inheritance paths. Furthermore, we use this test suite to compare three detection tools and to identify their strengths and weaknesses.
引用
收藏
页码:103 / 110
页数:8
相关论文
共 50 条
  • [21] Design and test of innovative CMOS pixel detectors
    Passeri, D
    Placidi, P
    Petasecca, M
    Matrella, G
    Marras, A
    Ciampolini, P
    Bilei, GM
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2004, 535 (1-2): : 421 - 423
  • [22] Towards the Comprehensive Design of Energy Infrastructures
    Scholten, Daniel
    Kunneke, Rolf
    SUSTAINABILITY, 2016, 8 (12)
  • [23] Towards a Comprehensive Catalog of Architectural and Design Patterns for Blockchain-Based Applications - A Literature Review
    Gasparic, Marko
    Turkanovic, Muhamed
    Hericko, Marjan
    CENTRAL EUROPEAN CONFERENCE ON INFORMATION AND INTELLIGENT SYSTEMS (CECIIS 2020), 2020, : 259 - 266
  • [24] COSMOS: A comprehensive framework for automatically generating domain-oriented test suite
    Kalaee, Akram
    Parsa, Saeed
    Fathi, Negar
    INFORMATION AND SOFTWARE TECHNOLOGY, 2023, 154
  • [25] Initial design of a test suite for automatic performance analysis tools
    Mohr, B
    Träff, JL
    EIGHTH INTERNATIONAL WORKSHOP ON HIGH-LEVEL PARALLEL PROGRAMMING MODELS AND SUPPORTIVE ENVIRONMENTS, PROCEEDINGS, 2003, : 77 - 86
  • [26] Design of radar comprehensive test device
    Du, Wei-Ming
    Yang, Zuo-Xiang
    Ma, Ji-Zhi
    DESIGN, MANUFACTURING AND MECHATRONICS (ICDMM 2015), 2016, : 641 - 648
  • [27] Towards test suite reduction using maximal frequent data mining concept
    Harris, Preethi
    Raju, Nedunchezhian
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2015, 52 (01) : 48 - 58
  • [28] SIMULATION OF MULTIDIMENSIONAL COMMUNITY PATTERNS - TOWARDS A COMPREHENSIVE MODEL
    MINCHIN, PR
    VEGETATIO, 1987, 71 (03): : 145 - 156
  • [29] Towards Data Science Design Patterns
    Berthold, Michael R.
    Brookhart, Dashiell
    Gerber, Schalk
    Hayasaka, Satoru
    Widmann, Maarit
    ADVANCES IN INTELLIGENT DATA ANALYSIS XXI, IDA 2023, 2023, 13876 : 55 - 64
  • [30] Towards Design Patterns for Production Security
    Hoffmann, David
    Biffl, Stefan
    Meixner, Kristof
    Lueder, Arndt
    2022 IEEE 27TH INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2022,