Test and Production Classes of an Industrial C# System: A Refactoring and Fault Perspective

被引:1
作者
Gatrell, M. [1 ]
Counsell, S. [2 ]
Swift, S. [2 ]
Hierons, R. M. [2 ]
Liu, X. [2 ]
机构
[1] MarketInvoice, Hogarth House, London, England
[2] Brunel Univ, Dept Comp Sci, Uxbridge, Middx, England
来源
PROCEEDINGS 41ST EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS SEAA 2015 | 2015年
关键词
Refactoring; test; production; faults; empirical;
D O I
10.1109/SEAA.2015.40
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In a unit testing environment, understanding the relationship between production classes and test classes has implications for overall maintenance and hence systems development costs. Equally, the fault-proneness of each type may have a similar influence on the level or required maintenance. In this paper, we explore two aspects of the differences between test and production classes in a commercial C# system. From a refactoring perspective, a bespoke tool was used to extract fifteen types of refactoring from the system over a period of twelve months. Two research issues were then explored. Firstly, on the overlap and correspondence between refactorings applied to each class type (whether test or production). Secondly, when refactorings were undertaken in each type of class; we explored evolutionary refactoring trends as a means of understanding this issue.
引用
收藏
页码:35 / 38
页数:4
相关论文
共 19 条
[1]  
ADVANI D, ACM S APPL COMP LYON
[2]  
Bavota G., 2012, 2012 12th IEEE Working Conference on Source Code Analysis and Manipulation (SCAM 2012), P104, DOI 10.1109/SCAM.2012.20
[3]  
BAVOTA G, 2012, INT C SOFTW MAINT TR, P56
[4]  
Biegel B., 2011, WORK C MIN SOFTW REP
[5]  
CINNEIDE MO, 2012, ESEM, P49
[6]  
COUNSELL S, COMMON REFACTORINGS, P288
[7]  
DEMEYER S, 2000, INT C OO PROGR SYST, P166
[8]  
FELDTHAUS A, 2011, P 2011 ACM INT C OBJ, P119
[9]  
Fowler M., 2018, Refactoring: Improving the Design of Existing Code
[10]  
GATRELL M, 2009, EASE 2009