REFACTORING OF C/C plus plus PREPROCESSOR CONSTRUCTS AT THE MODEL LEVEL

被引:0
作者
Vidacs, Laszlo [1 ]
机构
[1] Univ Szeged, Res Grp Artificial Intelligence, Szeged, Hungary
来源
ICSOFT 2009: PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES, VOL 1 | 2009年
关键词
Reverse engineering; Refactoring; Graph transformation; Preprocessor;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Preprocessor directives are usually omitted from the analysis of C/C++ software, yet they play an important role especially in program transformations. Here a method is presented for refactoring preprocessor constructs at the model level. Refactorings are carried out on program models derived from a reverse engineering process of real-life software. We present a metamodel of preprocessing on which a graph transformation approach is used to elaborate refactorings. The method is presented through the elaboration of the add parameter refactoring both at schematic and concrete level. Safe transformations are assured by visual control and validated by the evaluation of OCL expressions. The usability of the idea is validated by successful experiments.
引用
收藏
页码:232 / 237
页数:6
相关论文
共 18 条
  • [1] BOTTONI P, 2004, LNCS, V3062, P220, DOI DOI 10.1007/978-3-540-25959-6_16
  • [2] Reengineering object-oriented code
    Fanta, R
    Rajlich, V
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, : 238 - 246
  • [3] Columbus -: Reverse engineering tool and schema for C++
    Ferenc, R
    Beszédes, A
    Tarkiainen, M
    Gyimóthy, T
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2002, : 172 - 181
  • [4] FOWLER M, 2002, REFACTORING IMPROVIN
  • [5] Garrido Alejandra., 2002, Proceedings of IWPSE 2002, P6
  • [6] USE:: A UML-based specification environment for validating UML and OCL
    Gogolla, Martin
    Buettner, Fabian
    Richters, Mark
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2007, 69 (1-3) : 27 - 34
  • [7] Gogolla Martin., 2000, GVMT'2000, P359
  • [8] Formalizing refactorings with graph transformations
    Mens, T
    Van Eetvelde, N
    Demeyer, S
    Janssens, D
    [J]. JOURNAL OF SOFTWARE MAINTENANCE AND EVOLUTION-RESEARCH AND PRACTICE, 2005, 17 (04): : 247 - 276
  • [9] A survey of software refactoring
    Mens, T
    Tourwé, T
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (02) : 126 - 139
  • [10] OPDYKE WF, 1992, THESIS URBANA CHAMPA