Abstract
Composition code defines the binding of two or more modules in a program. Post object-oriented programming techniques are increasingly providing expressive mechanisms to enable the flexible definition of composition code. Such composition mechanisms are intended to support programmers in factoring out the complexity of a program and facilitate its evolution. However, the properties of composition code might introduce new flavours of complexity, and in turn cause side effects on program evolvability. Unfortunately, the role of composition code properties on evolving software systems is not yet well understood. This gap is mostly due to the lack of a measurement framework to characterize and quantify composition code. Existing metrics suites are focused on quantifying properties of programs and their modules only. Therefore, programmers are not able to analyse and understand the impact of particular composition properties on program evolvability. This paper presents a framework aimed at characterizing and computing composition code properties. The proposed framework consists of terminology and a metrics suite, which can be used in programs structured with diverse sets of composition mechanisms. We also empirically studied the role of the measurement framework through 22 versions of 4 software projects. Our evaluation revealed that the measurement framework provided consistent indicators of program instabilities observed in history of the evolving compositions.
Original language | English |
---|---|
Title of host publication | Proceedings of the ACM-IEEE International Symposium on Empirical Software Engineering and Measurement 2012 |
Place of Publication | New York NY USA |
Publisher | Association for Computing Machinery (ACM) |
Pages | 291-300 |
Number of pages | 10 |
ISBN (Print) | 9781450310567 |
DOIs | |
Publication status | Published - 2012 |
Externally published | Yes |
Event | International Symposium on Empirical Software Engineering and Measurement 2012 - Lund, Sweden Duration: 19 Sept 2012 → 20 Sept 2012 Conference number: 6th |
Conference
Conference | International Symposium on Empirical Software Engineering and Measurement 2012 |
---|---|
Abbreviated title | ESEM 2012 |
Country/Territory | Sweden |
City | Lund |
Period | 19/09/12 → 20/09/12 |
Keywords
- Composition mechanisms
- Program evolution
- Software metrics
- Software stability