A framework and tool supports for testing modularity of software design
Authors:
Open Access
- 5 November 2007
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 441-444
Abstract
Modularity is one of the most important properties of a software design, with significant impact on changeability and evolvability. However, a formalized and automated approach is lacking to test and verify software design models against their modularity properties, in particular, their ability to accommodate potential changes. In this paper, we propose a novel framework for testing design modularity. The software artifact under test is a software design. A test input is a potential change to the design. The test output is a modularity vector, which precisely captures quantitative capability extents of the design for accommodating the test input (the potential change). Both the design and the test input are represented as formal computable models to enable automatic testing. The modularity vector integrates the net option value analysis with well-known design principles. We have implemented the framework with tool supports and tested aspect-oriented and object-oriented design patterns in terms of their ability to accommodate sequences of possible changes. The results showed that previous informal, implementation-based analysis can be conducted by our framework automatically and quantitatively at the design level. This framework also opens the opportunities of applying testing techniques, such as coverage criteria, on software designsKeywords
This publication has 10 references indexed in Scilit:
- A Systematic Approach to Generate Inputs to Test UML Design Models2006 17th International Symposium on Software Reliability Engineering, 2006
- Simon2005
- An analysis of modularity in aspect oriented design2005
- Modularizing design patterns with aspects2005
- Modular verification of software components in CIEEE Transactions on Software Engineering, 2004
- Design pattern implementation in Java and aspectJ2002
- The structure and value of modularity in software design2001
- Structured designIBM Systems Journal, 1999
- Aspect-oriented programming1997
- On the criteria to be used in decomposing systems into modulesCommunications of the ACM, 1972