2005 · 38 citations · 12 references
ComputingComputer ScienceMachine LearningProgramming LanguagesSoftware EngineeringAspect AnalysisSoftware RefactoringAspectAspect-oriented ProgrammingLegacy Code RefactoringRefactoring DetectionRefactoring Mining
To realize the benefits of Aspect Oriented Programming (AOP), developers must refactor active and legacy code bases into an AOP language. When refactoring, developers first need to identify refactoring candidates, a process called aspect mining. Humans perform mining by using a variety of clues to determine which code to refactor. However, existing approaches to automating the aspect mining process focus on developing analyses of a single program characteristic. Each analysis often finds only a subset of possible refactoring candidates and is unlikely to find candidates which humans find by combining analyses. In this paper, we present Timna, a framework for enabling the automatic combination of aspect mining analyses. The key insight is the use of machine learning to learn when to refactor, from vetted examples. Experimental evaluation of the cost-effectiveness of Timna in comparison to Fan-in, a leading aspect mining analysis, indicates that such a framework for automatically combining analyses is very promising.
12
Design pattern implementation in Java and aspectJ
Jan Hannemann, Gregor Kiczales · 2002 · 575 citations
Computing, Computer Science, Design +16
Martin P. Robillard, Gail C. Murphy · 2002 · 289 citations
Navigating and querying code without getting lost
Doug Janzen, Kris De Volder · 2003 · 235 citations