IEEE Transactions on Software Engineering · 2005 · 252 citations · 20 references
ComputingComputer ScienceMacroevolutionProgramming LanguagesSoftware EngineeringSoftware DesignSoftware EvolutionSoftware MaintenanceSoftware ReuseStatic Code AnalysisAbstractionAbstraction LevelsDesign AbstractionSoftware Evolution AnalysisSource Code Change AnalysisSource Code EvolutionSplitting
Merging and splitting source code entities is common during a software system’s lifecycle, yet the original context of such changes is often lost, making it difficult to understand why design elements are moved, renamed, merged, or split. The study aims to extend origin analysis to detect merging and splitting of files and functions in procedural code by reasoning about changes in call relationships to help developers locate and recover the context of design changes. The authors implemented the extended origin analysis in the Beagle tool and evaluated it through a case study on the PostgreSQL database system.
Merging and splitting source code entities is a common activity during the lifespan of a software system; as developers rethink the essential structure of a system or plan for a new evolutionary direction, so must they be able to reorganize the design artifacts at various abstraction levels as seems appropriate. However, while the raw effects of such changes may be plainly evident in the new artifacts, the original context of the design changes is often lost. That is, it may be obvious which characters of which files have changed, but it may not be obvious where or why moving, renaming, merging, and/or splitting of design elements has occurred. In this paper, we discuss how we have extended origin analysis (Q. Tu et al., 2002), (M.W. Godfrey et al., 2002) to aid in the detection of merging and splitting of files and functions in procedural code; in particular, we show how reasoning about how call relationships have changed can aid a developer in locating where merges and splits have occurred, thereby helping to recover some information about the context of the design change. We also describe a case study of these techniques (as implemented in the Beagle tool) using the PostgreSQL database system as the subject.
20
A survey of software refactoring
Tom Mens, Tom Tourwé · IEEE Transactions on Software Engineering · 2004 · 1.2K citations · Full text
Refactoring object-oriented frameworks
William F. Opdyke · 1992 · 1K citations
Identifying similar code with program dependence graphs
Jens Krinke · 2002 · 622 citations