An exploratory study of the effect of aspect-oriented programming on maintainability

被引:29
作者
Bartsch, Marc [1 ]
Harrison, Rachel [2 ]
机构
[1] Univ Reading, Sch Syst Engn, Reading RG6 6AY, Berks, England
[2] Stratton Edge Consulting, Stratton Edge, Cirencester GL7 2LS, England
关键词
aspects; object-orientation; maintainability;
D O I
10.1007/s11219-007-9022-7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we describe an exploratory assessment of the effect of aspect-oriented programming on software maintainability. An experiment was conducted in which 11 software professionals were asked to carry out maintenance tasks on one of two programs. The first program was written in Java and the second in AspectJ. Both programs implement a shopping system according to the same set of requirements. A number of statistical hypotheses were tested. The results did seem to suggest a slight advantage for the subjects using the object-oriented system since in general it took the subjects less time to answer the questions on this system. Also, both systems appeared to be equally difficult to modify. However, the results did not show a statistically significant influence of aspect-oriented programming at the 5% level. We are aware that the results of this single small study cannot be generalized. We conclude that more empirical research is necessary in this area to identify the benefits of aspect-oriented programming and we hope that this paper will encourage such research.
引用
收藏
页码:23 / 44
页数:22
相关论文
共 31 条
[1]  
[Anonymous], 1998, Practical nonparametric statistics
[2]  
[Anonymous], P 1 WORKSH ASP REV E
[3]  
BLACK A, 1986, SIGPLAN NOTICES, V21, P78, DOI 10.1145/960112.28706
[4]  
Boehm B., 1978, Characteristics of Software Quality North Holland
[5]   A METRICS SUITE FOR OBJECT-ORIENTED DESIGN [J].
CHIDAMBER, SR ;
KEMERER, CF .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (06) :476-493
[6]  
Christensen L.B., 1988, Experimental methodology
[7]  
Dijkstra E. W., 1982, Selected Writing on Computing: A Personal Perspective, P60, DOI DOI 10.1007/978-1-4612-5695-3
[8]  
FENTON N, 1996, SOFTWARE METRICS RIG
[9]  
FILHO FC, 2005, ECOOP 2005 WORKSHO E
[10]  
Filho Fernando Castor, 2006, P 14 ACM SIGSOFT INT