Empirical Software Engineering

, Volume 12, Issue 3, pp 243–274

Identifying and addressing problems in object-oriented framework reuse

Article

DOI: 10.1007/s10664-006-9027-z

Cite this article as:
Kirk, D., Roper, M. & Wood, M. Empir Software Eng (2007) 12: 243. doi:10.1007/s10664-006-9027-z

Abstract

This paper describes the results of a long-term empirical investigation into object-oriented framework reuse. The aim is to identify the major problems that occur during framework reuse and the impact of current documentation techniques on these problems. Four major reuse problems are identified: understanding the functionality of framework components; understanding the interactions between framework components; understanding the mapping from the problem domain to the framework implementation; understanding the architectural assumptions in the framework design. Two forms of documentation are identified as having the potential to address these problems, namely pattern languages and micro-architecture descriptions. An in-depth, qualitative analysis suggests that, although pattern languages do provide useful support in terms of introducing framework concepts, this can be bypassed by developers using their previous knowledge, occasionally to the detriment of the final solution. Micro-architecture documentation appears to provide support for simple interaction and functionality queries, but it is not able to address large scale interaction problems involving multiple classes within the framework. The paper concludes that, although a combination of pattern language and micro-architecture documentation is useful for framework reuse, the forms of these documentation types used in this study require further enhancement to become effective. The paper also serves as an example to encourage others to perform evaluation of framework understanding and documentation.

Keywords

Object-oriented frameworksDocumentationEmpirical studySoftware comprehensionQualitative studyFramework reuse

Copyright information

© Springer Science+Business Media, LLC 2006

Authors and Affiliations

  1. 1.Department of Computer and Information SciencesUniversity of StrathclydeGlasgowUK