DocumentCode
3224017
Title
An Empirical Study into Use of Dependency Injection in Java
Author
Yang, Hong Yul ; Tempero, Ewan ; Melton, Hayden
Author_Institution
Univ. of Auckland, Auckland
fYear
2008
fDate
26-28 March 2008
Firstpage
239
Lastpage
247
Abstract
Over the years many guidelines have been offered as to how to achieve good quality designs. We would like to be able to determine to what degree these guidelines actually help. To do that, we need to be able to determine when the guidelines have been followed. This is often difficult as the guidelines are often presented as heuristics or otherwise not completely specified. Nevertheless, we believe it is important to gather quantitative data on the effectiveness of design guidelines wherever possible. In this paper, we examine the use of "dependency injection", which is a design principle that is claimed to increase software design quality attributes such as extensibility, modifiability, testability, and reusability. We develop operational definitions for it and analysis techniques for detecting its use. We demonstrate these techniques by applying them to 34 open source Java applications.
Keywords
Java; design for quality; public domain software; software quality; software reliability; software reusability; Java; dependency injection; open source applications; software design quality; software extensibility; software modifiability; software reusability; software testability; Application software; Computer science; Electronics packaging; Guidelines; Java; Software design; Software engineering; Software quality; Software testing; System testing; dependency injection; empirical study; java; software corpus;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2008. ASWEC 2008. 19th Australian Conference on
Conference_Location
Perth, WA
ISSN
1530-0803
Print_ISBN
978-0-7695-3100-7
Type
conf
DOI
10.1109/ASWEC.2008.4483212
Filename
4483212
Link To Document