Embracing the C preprocessor during refactoring

Garrido, Alejandra

Título:
Embracing the C preprocessor during refactoring
Autor:
Garrido, Alejandra
Colaboradores:
Johnson, Ralph E.
Temas:
DIAGNÓSTICO MÉDICOPREPROCESADORES
En:
Journal of Software: Evolution and Process, 25(12), pp. 1285-1304
Resumen:
C preprocessor directives are heavily used in C programs because they provide useful and even necessary additions to the C language. However, they are usually executed and discarded before any analysis is applied on C programs. In refactoring, preprocessor directives must be preserved through the whole process of pars- ing, analysis and transformation to retain editable yet correct source code. We propose a new preprocessing approach and special program representations that allow a program to be analyzed and transformed without losing its preprocessor directives, but treating them as first-class program entities. These representations are essential for a correct refactoring tool. We also describe the challenges that preprocessor directives bring to refactoring and how the program representations that we propose solve those challenges. Finally, we give details of two refactorings and present some case studies with our successfully applied solution.
URL/DOI:
http://dx.doi.org/10.1002/smr.1603
Medio:
Soporte electrónico
Tipo de documento:
Artículo
Descripción física:
1 archivo (3,2 MB)
Idioma:
Inglés
Publicación:
Wiley, 2013

Puede solicitar más fácilmente el ejemplar con: A0326

Ver estantes

La edición contiene los siguientes documentos electrónicos para descargar:

Se cuenta con disponibilidad inmediata para llevar a domicilio.


Disponibilidad Actual Para Préstamo: 1 Disponibilidad Actual Para Sala de Lectura: 0 Cantidad Actual de Reservas: 0 Cantidad Actual de Préstamos: 0

Valoración


Comentarios (0)