Back to search

Colorado State University. Libraries

Improving software maintainability through aspectualization

Abstract

dc:description.abstract

The primary claimed benefits of aspect-oriented programming (AOP) are that it improves the understandability and maintainability of software applications by modularizing cross-cutting concerns. Before there is widespread adoption of AOP, developers need further evidence of the actual benefits as well as costs. Applying AOP techniques to refactor legacy applications is one way to evaluate costs and benefits. Aspect-based refactoring, called aspectualization, involves moving program code that implements cross-cutting concerns into aspects. Such refactoring can potentially improve the maintainability of legacy systems. Long compilation and weave times, and the lack of an appropriate testing methodology are two challenges to the aspectualization of large legacy systems. We propose an iterative test driven approach for creating and introducing aspects. The approach uses mock systems that enable aspect developers to quickly experiment with different pointcuts and advice, and reduce the compile and weave times. The approach also uses weave analysis, regression testing, and code coverage analysis to test the aspects. We developed several tools for unit and integration testing. We demonstrate the test driven approach in the context of large industrial C++ systems, and we provide guidelines for mock system creation. This research examines the effects on maintainability of replacing cross-cutting concerns with aspects in three industrial applications. We study several revisions of each application, identifying cross-cutting concerns in the initial revision, and also cross-cutting concerns that are added in later revisions. Aspectualization improved maintainability by reducing code size and improving both change locality and concern diffusion. Costs include the effort required for application refactoring and aspect creation, as well as a small decrease in performance.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy (Ph.D.)
Level thesis:degree_level
Doctoral
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
Colorado State University. Libraries
Year dc:date.issued
2009

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Mortensen, Michael, author
  • Ghosh, Sudipto, advisor
  • Bieman, James M., advisor

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • Copyright and other restrictions may apply. User is responsible for compliance with all applicable laws. For information about copyright law, please see https://libguides.colostate.edu/copyright.
  • This Item is protected by copyright and/or related rights (https://rightsstatements.org/vocab/InC/1.0/). You are free to use this Item in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s).
Language dc:language.iso
eng, English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Colorado State University
Base URL
api.mountainscholar.org/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Mortensen, Michael, author; Ghosh, Sudipto, advisor; Bieman, James M., advisor. Improving software maintainability through aspectualization. Doctoral thesis, Colorado State University. Libraries, 2009. https://hdl.handle.net/10217/237882