An Aspect Refactoring Tool for The Observer Pattern
dc.contributor.advisor | Dutchyn, Christopher | en_US |
dc.contributor.committeeMember | Khan, Wahid | en_US |
dc.contributor.committeeMember | Osgood, Nathaniel | en_US |
dc.contributor.committeeMember | Deters, Ralph | en_US |
dc.creator | Alawami, Fatima | en_US |
dc.date.accessioned | 2013-01-03T22:31:21Z | |
dc.date.available | 2013-01-03T22:31:21Z | |
dc.date.created | 2012-05 | en_US |
dc.date.issued | 2012-06-14 | en_US |
dc.date.submitted | May 2012 | en_US |
dc.description.abstract | Current integrated development environments such as Eclipse provide strong support for object- oriented automatic refactorings; however, the same cannot be said about aspect-oriented refactor- ings. Refactoring of design patterns is one area where aspect refactoring automation remains to be explored in depth and few current tools are available to support it. To support aspect refactoring tools we present the AJRefactor plug-in, a semi-automatic refactoring tool for the observer pattern, a widely-used solution in the design of object-oriented programs. Aspect refactoring of the observer pattern allows aspects to capture pattern-specific code into a more modularized unit, and local- izes the code of participating classes. After applying AJRefactor on two Java projects JHotDraw and Prevayler, the results showed that AJRefactor was able to refactor 75% of the total observer instances found in both projects. Also, the refactoring enhanced the modularity and loosens the coupling of the pattern classes. Finally, the results showed a significant time savings and a small reduction in code size when refactoring with AJRefactor. | en_US |
dc.identifier.uri | http://hdl.handle.net/10388/ETD-2012-05-457 | en_US |
dc.language.iso | eng | en_US |
dc.subject | refactoring, AspectJ, Eclipse, plug-in | en_US |
dc.title | An Aspect Refactoring Tool for The Observer Pattern | en_US |
dc.type.genre | Thesis | en_US |
dc.type.material | text | en_US |
thesis.degree.department | Computer Science | en_US |
thesis.degree.discipline | Computer Science | en_US |
thesis.degree.grantor | University of Saskatchewan | en_US |
thesis.degree.level | Masters | en_US |
thesis.degree.name | Master of Science (M.Sc.) | en_US |