The development and evaluation of three diverse techniques for object-oriented code inspection

被引:35
作者
Dunsmore, A
Roper, M
Wood, M
机构
[1] Formedix, Paisley, Renfrew, Scotland
[2] Univ Strathclyde, Dept Comp & Informat Sci, Glasgow G1 1XH, Lanark, Scotland
关键词
object-oriented; code reviews; software inspection; empirical study;
D O I
10.1109/TSE.2003.1223643
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes the development and evaluation of a rigorous approach aimed at the effective and efficient inspection of object-oriented (OO) code. Since the time that inspections were developed they have been shown to be powerful defect detection strategies. However, little research has been done to investigate their application to OO systems, which have very different structural and execution models compared to procedural systems. This suggests that inspection techniques may not be currently being deployed to their best effect in the context of large-scale OO systems. Work to date has revealed three significant issues that need to be addressed-the identification of chunks of code to be inspected, the order in which the code is read, and the resolution of frequent nonlocal references. Three techniques are developed with the aim of addressing these issues: one based on a checklist, one focused on constructing abstract specifications, and the last centered on the route that a use case takes through a system. The three approaches are evaluated empirically and, in this instance, it is suggested that the checklist is the most effective approach, but that the other techniques also have potential strengths. For the best results in a practical situation, a combination of techniques is recommended, one of which should focus specifically on the characteristics of OO.
引用
收藏
页码:677 / 686
页数:10
相关论文
共 21 条
[1]  
[Anonymous], 2000, UNIFIED MODELING LAN, DOI DOI 10.1007/3-540-40011-7_10
[2]  
[Anonymous], 1994, DESIGN PATTERNS
[3]  
BALDWIN JT, 1992, THESIS U ILLINOIS
[4]   A statistical approach to the inspection checklist formal synthesis and improvement [J].
Chernak, Y .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (12) :866-874
[5]  
Dunsmore A., 2000, Proceedings of the 2000 International Conference on Software Engineering. ICSE 2000 the New Millennium, P467, DOI 10.1109/ICSE.2000.870437
[6]   Systematic object-oriented inspection - An empirical study [J].
Dunsmore, A ;
Roper, M ;
Wood, M .
PROCEEDINGS OF THE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2001, :135-144
[7]  
DUNSMORE A, 2002, THESIS U STRATHCLYDE
[8]  
DUNSMORE A, 2000, EFOCS372000
[9]  
DUNSMORE A, 1999, EFOCS3499
[10]  
DUNSMORE A, 2000, EFOCS362000