]> git.uio.no Git - ifi-stolz-refaktor.git/blob - studyPlan/projectDescription-master-erlenkr.tex
Thesis: grammar and typos
[ifi-stolz-refaktor.git] / studyPlan / projectDescription-master-erlenkr.tex
1 \documentclass[a4paper,10pt]{article}
2 \usepackage{hyperref}
3
4 %opening
5 \title{Project description - Master thesis work at UiO}
6 \author{Erlend Kristiansen, erlenkr}
7
8 \begin{document}
9
10 \maketitle
11
12 \section*{Refactoring, Software Metrics and\\ Design Patterns}
13 Refactorings are a common tool of the trade for programming. In general, they are assumed to be equivalent transformations of a program, to improve the quality of the source code with regard to a concrete or subjective software metric, such as coupling.
14
15 To aid in this matter, many of the common IDEs (e.g. Eclipse, IntelliJ, NetBeans, MS Visual Studio) offer tool support for automated refactorings. While the support is satisfactory in many of these environments, they generally support mostly low level refactorings, such as the rename refactoring, the extract method refactoring, the extract class refactoring and so on.
16
17 To a certain degree, literature on the subject \cite{fowler99, kerievsky04} suggests a relationship between refactorings and design patterns \cite{gamma94}, in the sense that a design pattern may be the target of a series of refactorings. The aim of this project will be to pursue this relationship further. After finding a suitable tool I will try to implement one or more higher order refactorings (i.e. they are composed of lower level refactorings). If this succeeds, I will investigate the relationships between selected software metrics and design patterns, and whether this can be used to make tool support for refactoring toward patterns.
18
19 \section*{Schedule}
20
21 \paragraph{First couple of months}
22 Some background literature must be read. In addition to the literature that has already been referred to, the literature on software metrics may for instance include one or more of \cite{fenton98, lanza06, kan02, vogelsang10}. Initial work could also include looking in Open Source software repositories for examples where refactorings have been applied and classify them \cite{soares11}. It would also be natural to study existing approaches to describe execution of refactorings \cite{fleurey09, schaefer10, cornelio10, keeffe00, fokaefs12, groves00}.
23
24 Then a suitable tool need to be chosen for the implementation of the refactoring(s). Preferably one that has accessible lower level refactorings to build on. As part of this process, the ``extract-and-then-move-including-the-insertion-of-an-assertion method'' refactoring from the master thesis proposal ``Safer Refactorings'' \cite{stolz11} by Volker Stolz, should be used as an excercise to understand the refactoring support of the tool investigated, starting with the Eclipse JDT \cite{eclipse_ORG}.
25
26 \paragraph{Next five months (approx.)}
27 Performing implementations and experiments.
28
29 \paragraph{Last six months (approx.)}
30 Write research report. This work must be done partially in parallel with some of the more practical parts of the project.
31
32 \begin{thebibliography}{9}
33
34   \bibitem{fowler99}
35         Martin Fowler et al.,
36         \emph{Refactoring: Improving the Design of Existing Code},
37         1999.
38   
39   \bibitem{kerievsky04}
40         Joshua Kerievsky,
41         \emph{Refactoring to Patterns},
42         2004.
43
44  \bibitem{gamma94}
45         Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides,\\
46         \emph{Design Patterns: Elements of Reusable Object-Oriented Software},
47         1994.
48
49   \bibitem{fenton98}
50         Norman E. Fenton, Shari Lawrence Pfleeger,
51         \emph{Software Metrics: A Rigorous and Practical Approach, Revised},
52         1998.
53   
54   \bibitem{lanza06}
55         Michele Lanza, Radu Marinescu,
56         \emph{Object-Oriented Metrics in Practice: Using Software Metrics to Characterize, Evaluate, and Improve the Design of Object-Oriented Systems},
57         2006.
58
59   \bibitem{kan02}
60         Stephen H. Kan,
61         \emph{Metrics and Models in Software Quality Engineering},
62         2002.
63
64   \bibitem{vogelsang10}
65         Andreas Vogelsang, Ansgar Fehnker, Ralf Huuck, Wolfgang Reif,
66         \emph{Software Metrics in Static Program Analysis},
67         2010.
68
69   \bibitem{fleurey09}
70         Franck Fleurey, Øystein Haugen, Birger Møller-Pedersen, Gøran K. Olsen, Andreas Svendsen, Xiaorui Zhang
71         \emph{A Generic Language and Tool for Variability Modeling},
72         2009.
73
74   \bibitem{schaefer10}
75         Max Schaefer, Oege de Moor,
76         \emph{Specifying and implementing refactorings},
77         2010.
78
79   \bibitem{cornelio10}
80         Márcio Cornélio, Ana Cavalcanti,
81         \emph{Sound refactorings},
82         2010.
83
84   \bibitem{keeffe00}
85         Mark O'Keeffe, Mel Ó Cinnéide,
86         \emph{Search-Based Refactoring: an empirical study},
87         2000.
88
89   \bibitem{fokaefs12}
90         Marios Fokaefs, Nikolaos Tsantalis,
91         \emph{Identification and application of Extract Class refactorings in object-oriented systems}
92         2012.
93
94   \bibitem{soares11}
95         Gustavo Soares, Bruno Catao, Catuxe Varjao, Solon Aguiar, Rohit Gheyi, Tiago Massoni,
96         \emph{Analyzing Refactorings on Software Repositories},
97         2011.
98
99   \bibitem{groves00}
100         L. Groves,
101         \emph{A formal approach to program modification},
102         2000.
103
104   \bibitem{stolz11}
105         Volker Stolz,
106         \emph{Thesis proposal: } \url{http://heim.ifi.uio.no/~stolz/Volker_Stolz_-_UiO/Project_Safer_Refactorings.html}
107         2011.
108
109   \bibitem{eclipse_ORG}
110         Eclipse IDE: \url{http://www.eclipse.org}
111
112
113
114
115 \end{thebibliography}
116
117
118 \end{document}