TOWARDS A LANGUAGE INDEPENDENT REFACTORING FRAMEWORK

Carlos López, Raúl Marticorena, Yania Crespo, Francisco Javier Pérez

2006

Abstract

Using metamodels to keep source code information is one of the current trends in refactoring tools. This representation makes possible to detect refactoring opportunities, and to execute refactorings on metamodel instances. This paper describes an approach to language independent reuse in metamodel based refactoring detection and execution. We use an experimental metamodel, MOON, and analyze the problems of migrating from MOON to UML 2.0 metamodel or adapting from UML 2.0 to MOON. Some code refactorings can be detected and applied on basic UML abstractions. Nevertheless, other refactorings need information related to program instructions. “Action” concept, included in UML 2.0, is a fundamental unit of behaviour specification that allows to store program instructions and to obtain certain information related to this granularity level. Therefore, we compare the complexity of UML 2.0 metamodel with MOON metamodel as a solution for developing refactoring frameworks.

Download


Paper Citation


in Harvard Style

López C., Marticorena R., Crespo Y. and Javier Pérez F. (2006). TOWARDS A LANGUAGE INDEPENDENT REFACTORING FRAMEWORK . In Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT, ISBN 978-972-8865-69-6, pages 165-170. DOI: 10.5220/0001319201650170

in Bibtex Style

@conference{icsoft06,
author={Carlos López and Raúl Marticorena and Yania Crespo and Francisco Javier Pérez},
title={TOWARDS A LANGUAGE INDEPENDENT REFACTORING FRAMEWORK},
booktitle={Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT,},
year={2006},
pages={165-170},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001319201650170},
isbn={978-972-8865-69-6},
}


in EndNote Style

TY - CONF
JO - Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT,
TI - TOWARDS A LANGUAGE INDEPENDENT REFACTORING FRAMEWORK
SN - 978-972-8865-69-6
AU - López C.
AU - Marticorena R.
AU - Crespo Y.
AU - Javier Pérez F.
PY - 2006
SP - 165
EP - 170
DO - 10.5220/0001319201650170