dc.creatorGarrido, Alejandra
dc.creatorJohnson, Ralph
dc.date.accessioned2017-08-31T21:17:07Z
dc.date.accessioned2018-11-06T15:47:11Z
dc.date.available2017-08-31T21:17:07Z
dc.date.available2018-11-06T15:47:11Z
dc.date.created2017-08-31T21:17:07Z
dc.date.issued2013-06
dc.identifierGarrido, Alejandra; Johnson, Ralph; Embracing the C preprocessor during refactoring ; Wiley; Journal of Software: Evolution and Process; 25; 12; 6-2013; 1285-1304
dc.identifier2047-7481
dc.identifierhttp://hdl.handle.net/11336/23403
dc.identifierCONICET Digital
dc.identifierCONICET
dc.identifier.urihttp://repositorioslatinoamericanos.uchile.cl/handle/2250/1901026
dc.description.abstractC 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 parsing, 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.
dc.languageeng
dc.publisherWiley
dc.relationinfo:eu-repo/semantics/altIdentifier/url/http://onlinelibrary.wiley.com/doi/10.1002/smr.1603/abstract
dc.relationinfo:eu-repo/semantics/altIdentifier/doi/http://dx.doi.org/10.1002/smr.1603
dc.rightshttps://creativecommons.org/licenses/by-nc-sa/2.5/ar/
dc.rightsinfo:eu-repo/semantics/restrictedAccess
dc.subjectRefactoring
dc.subjectPreprocessor Directives
dc.subjectCode Analysis
dc.subjectSoftware Maintenance
dc.titleEmbracing the C preprocessor during refactoring
dc.typeArtículos de revistas
dc.typeArtículos de revistas
dc.typeArtículos de revistas


Este ítem pertenece a la siguiente institución