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
关键词
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
相关论文
共 50 条
  • [31] C plus plus evolves!
    Naumann, Axel
    [J]. 20TH INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS (CHEP2013), PARTS 1-6, 2014, 513
  • [32] C plus plus standards
    Myers, N
    [J]. DR DOBBS JOURNAL, 1997, 22 (11): : 10 - +
  • [33] C plus plus constructors
    Meyers, S
    [J]. DR DOBBS JOURNAL, 1997, 22 (05): : 10 - 10
  • [34] C plus plus builder
    Brauer, R
    [J]. DR DOBBS JOURNAL, 1997, 22 (07): : 12 - 12
  • [35] C plus plus constructors
    Plochan, F
    [J]. DR DOBBS JOURNAL, 1997, 22 (08): : 10 - +
  • [36] The magnetic spectrum of beta rays emitted by the ThB plus C plus C' plus C"
    Arnoult, R
    [J]. COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES, 1934, 198 : 1603 - 1605
  • [37] The magnetic spectrum of beta rays emitted by AcB plus C plus C' plus C''
    Graf, T
    [J]. COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES, 1933, 197 : 238 - 241
  • [38] INTRODUCING C plus plus , GUI PROGRAMMING, AND DESIGN PATTERNS WITH QT AT THE "C53" LEVEL
    Ezust, Paul
    [J]. 4TH INTERNATIONAL TECHNOLOGY, EDUCATION AND DEVELOPMENT CONFERENCE (INTED 2010), 2010, : 3131 - 3137
  • [39] C/C plus plus Thread Safety Analysis
    Hutchins, DeLesley
    Ballman, Aaron
    Sutherland, Dean
    [J]. 2014 14TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2014), 2014, : 41 - 46
  • [40] Bridging Excel and C/C plus plus Code
    Punuru, Janardhana R.
    Knopf, F. Carl
    [J]. COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2008, 16 (04) : 289 - 304