Pattern Detection in Object-Oriented Source Code

被引:0
|
作者
Wierda, Andreas [1 ]
Dortmans, Eric [1 ]
Somers, Lou [2 ]
机构
[1] Oce Technol BV, POB 101, NL-5900 MA Venlo, Netherlands
[2] Eindhoven Univ Technol, Dept Math & Comp Sci, NL-5600 MB Eindhoven, Netherlands
来源
关键词
Pattern detection; formal concept analysis; object-oriented; reverse engineering;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Pattern detection methods discover recurring solutions, like design patterns in object-oriented source code. Usually this is done with a pattern library. Hence, the precise implementation of the patterns must be known in advance. The method used in our case study does not have this disadvantage. It uses a mathematical technique, Formal Concept Analysis, and is applied to find structural patterns in two subsystems of a printer controller. The case study shows that it is possible to detect frequently used structural design constructs without upfront knowledge. However, even the detection of relatively simple patterns in relatively small pieces of software takes a lot of computing time. Since this is due to the complexity of the applied algorithms, applying the method to large software systems like the complete controller is not practical. It can be applied to its subsystems though, which are about 5-10% of its size.
引用
收藏
页码:141 / +
页数:4
相关论文
共 50 条
  • [1] Object-oriented processing of Java']Java source code
    Eichelberger, H
    von Gudenberg, RW
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2004, 34 (12): : 1157 - 1185
  • [2] Tag Clouds for Object-Oriented Source Code Visualization
    Al-Msie'deen, Ra'Fat
    [J]. ENGINEERING TECHNOLOGY & APPLIED SCIENCE RESEARCH, 2019, 9 (03) : 4243 - 4248
  • [3] Generating Object-Oriented Source Code Using Genetic Programming
    Illanes, Vicente
    Bergel, Alexandre
    [J]. 2021 IEEE/ACM INTERNATIONAL WORKSHOP ON GENETIC IMPROVEMENT (GI 2021), 2021, : 45 - 50
  • [4] Understanding object-oriented source code from the behavioural perspective
    Walkinshaw, N
    Roper, M
    Wood, M
    [J]. 13TH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 2005, : 215 - 224
  • [5] Visualising object-oriented source code complexity using XML
    Marks, RM
    Wilkie, FG
    [J]. NINTH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING COMPLEX COMPUTER SYSTEMS, PROCEEDINGS: NAVIGATING COMPLEXITY IN THE E-ENGINEERING AGE, 2004, : 161 - 170
  • [6] Detecting patterns in object-oriented source code - A case study
    Wierda, Andreas
    Dortmans, Eric
    Somers, Lou
    [J]. ICSOFT 2007: PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES, VOL SE: SOFTWARE ENGINEERING, 2007, : 13 - 24
  • [7] Reengineering object-oriented code
    Fanta, R
    Rajlich, V
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, : 238 - 246
  • [8] An Opportunistic Approach to Retaining Use Cases in Object-Oriented Source Code
    Greppel, Jan
    Vranic, Valentino
    [J]. FOURTH EASTERN EUROPEAN REGIONAL CONFERENCE ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS ECBS-EERC 2015, 2015, : 17 - 24
  • [9] An illustrative example of refactoring object-oriented source code with aspect-oriented mechanisms
    Monteiro, Miguel P.
    Fernandes, Joao M.
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2008, 38 (04): : 361 - 396
  • [10] Binding object models to source code: An approach to object-oriented re-architecting
    Weidl, J
    Gall, H
    [J]. TWENTY-SECOND ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE - PROCEEDINGS, 1998, : 26 - 31