2012 · 19 citations · 15 references
ComputingComputer ScienceComputer SystemsSoftware EngineeringSystems AnalysisSystems ArchitectureComponent-based Software EngineeringControl-flow AnalysisSoftware ArchitectureSoftware DesignSoftware MaintenanceSoftware RefactoringArchitectural RefactoringArchitecture RefactoringDependency Graph AnalysisDependency InjectionDependency Injection RefactoringRefactoringRefactoring DetectionRefactoring Opportunity Detection
The refactoring of large systems is difficult, with the possibility of many refactorings having to be done before any useful benefit is attained. We present a novel approach to detect starting points for the architectural refactoring of large and complex systems based on the analysis and manipulation of the type dependency graph extracted from programs. The proposed algorithm is based on the simultaneous analysis of multiple architectural antipatterns, and outputs dependencies between artefacts that participate in large numbers of instances of these antipatterns. If these dependencies can be removed, they represent high-impact refactoring opportunities: a small number of changes that have a major impact on the overall quality of the system, measured by counting architectural antipattern instances. The proposed algorithm is validated using an experiment where we analyse a set of 95 open-source Java programs for instances of four architectural patterns representing modularisation problems. We discuss some examples demonstrating how the computed dependencies can be removed from programs. This research is motivated by the emergence of technologies such as dependency injection frameworks and dynamic component models. These technologies try to improve the maintainability of systems by removing dependencies between system parts from program source code and managing them explicitly in configuration files.
15
Network Motifs: Simple Building Blocks of Complex Networks
Ron Milo, Shai S. Shen-Orr, Shalev Itzkovitz et al. · Science · 2002 · 7.5K citations
David Hovemeyer, William Pugh · 2004 · 775 citations
The Qualitas Corpus: A Curated Collection of Java Code for Empirical Studies
Ewan Tempero, Craig Anslow, Jens Dietrich et al. · 2010 · 416 citations · Full text
Frank Simon, Frank Steinbrückner, Claus Lewerentz · 2002 · 277 citations