DocumentCode :
3407111
Title :
Testing principles, current practices, and effects of change localization
Author :
Raemaekers, Steven ; Nane, Gabriela F. ; Van Deursen, Arie ; Visser, Joost
Author_Institution :
Software Improvement Group, Amsterdam, Netherlands
fYear :
2013
fDate :
18-19 May 2013
Firstpage :
257
Lastpage :
266
Abstract :
Best practices in software development state that code that is likely to change should be encapsulated to localize possible modifications. In this paper, we investigate the application and effects of this design principle. We investigate the relationship between the stability, encapsulation and popularity of libraries on a dataset of 148,253 Java libraries. We find that bigger systems with more rework in existing methods have less stable interfaces and that bigger systems tend to encapsulate dependencies better. Additionally, there are a number of factors that are associated with change in library interfaces, such as rework in existing methods, system size, encapsulation of dependencies and the number of dependencies. We find that current encapsulation practices are not targeted at libraries that change the most. We also investigate the strength of ripple effects caused by instability of dependencies and we find that libraries cause ripple effects in systems using them and that these effects can be mitigated by encapsulation.
Keywords :
Java; data encapsulation; program testing; software libraries; Java libraries; change localization; design principle; encapsulation practices; less stable interfaces; library interfaces; ripple effects; software development; testing principles; Correlation; Encapsulation; Java; Libraries; Measurement; Software; Stability analysis; Software libraries; encapsulation; ripple effects;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Mining Software Repositories (MSR), 2013 10th IEEE Working Conference on
Conference_Location :
San Francisco, CA
ISSN :
2160-1852
Print_ISBN :
978-1-4799-0345-0
Type :
conf
DOI :
10.1109/MSR.2013.6624037
Filename :
6624037
Link To Document :
بازگشت