19th Australian Conference on Software Engineering (aswec 2008) An Empirical Study into Use of Dependency Injection in Java March 26-March 28 ISBN: 978-0-7695-3100-7
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ASWEC.2008.35
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 effectivenessof 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.
Index Terms:
dependency injection, empirical study, java, software corpus
Citation:
Hong Yul Yang, Ewan Tempero, Hayden Melton, "An Empirical Study into Use of Dependency Injection in Java," aswec, pp.239-247, 19th Australian Conference on Software Engineering (aswec 2008), 2008 Usage of this product signifies your acceptance of the Terms of Use. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||