Design-code traceability for object-oriented systems

被引:47
作者
Antoniol, G
Caprile, B
Potrich, A
Tonella, P
机构
[1] Univ Sannio, Fac Engn, Res & Technol Dept, I-82100 Benevento, Italy
[2] IRST, ITC, I-38050 Trento, Italy
关键词
D O I
10.1023/A:1018916522804
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Traceability is a key issue to ensure consistency among software artifacts of subsequent phases of the development cycle. However, few works have so far addressed the theme of tracing object oriented (OO) design into its implementation and evolving it. This paper presents an approach to checking the compliance of OO design with respect to source code and support its evolution. The process works on design artifacts expressed in the OMT (Object Modeling Technique) notation and accepts C++ source code. It recovers an "as is" design from the code, compares the recovered design with the actual design and helps the user to deal with inconsistencies. The recovery process exploits the edit distance computation and the maximum match algorithm to determine traceability links between design and code. The output is a similarity measure associated to design-code class pairs, which can be classified as matched and unmatched by means of a maximum likelihood threshold. A graphic display of the design with different green levels associated to different levels of match and red for the unmatched classes is provided as a support to update the design and improve its traceability to the code.
引用
收藏
页码:35 / 58
页数:24
相关论文
共 28 条
[1]   Using metrics to identify design patterns in object-oriented software [J].
Antoniol, G ;
Fiutem, R ;
Cristoforetti, L .
FIFTH INTERNATIONAL SOFTWARE METRICS SYMPOSIUM - METRICS 1998, PROCEEDINGS, 1998, :23-34
[2]   Evolving object oriented design to improve code traceability [J].
Antoniol, G ;
Potrich, A ;
Tonella, P ;
Fiutem, R .
SEVENTH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 1999, :151-160
[3]   Software visualization in the large [J].
Ball, T ;
Eick, SG .
COMPUTER, 1996, 29 (04) :33-&
[4]   Software change through design maintenance [J].
Baxter, ID ;
Pidgeon, CW .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1997, :250-259
[5]  
Bunge M, 1977, TREATISE BASIC PHILO, V3
[6]  
Bunge M., 1979, ONTOLOGY 2 AWORLD SY, V4
[7]   A METRICS SUITE FOR OBJECT-ORIENTED DESIGN [J].
CHIDAMBER, SR ;
KEMERER, CF .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) :476-493
[8]  
Cormen T. H., 1990, INTRO ALGORITHMS
[9]   Identifying design-code inconsistencies in object-oriented software: A case study [J].
Fiutem, R ;
Antoniol, G .
INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, :94-102
[10]  
Gamma E., 1995, Design Patterns: Elements of Reusable Object-Oriented Software, V206, P395, DOI 10.1093/carcin/bgs084