Giving Meaning to Macros

dc.contributor.authorMennie, Christopheren
dc.date.accessioned2006-08-22T14:23:09Z
dc.date.available2006-08-22T14:23:09Z
dc.date.issued2004en
dc.date.submitted2004en
dc.description.abstractWith the prevalence of legacy C/C++ code, issues of readability and maintainability have become increasingly important. When we consider the problem of refactoring or migrating C/C++ code, we see the significant role that preprocessor directives play. It is partially because of these preprocessor directives that code maintenance has become extremely difficult. This thesis describes a method of fact extraction and code manipulation to create a set of transformations which will remove preprocessor directives from the original source, converting them into regular C/C++ code with as few changes as possible, while maintaining readability in the code. In addition, some of the subtle issues that may arise when migrating preprocessor directives are explored. After discussing the general architecture of the test implementation, an examination of some metrics gathered by running it on two software systems is given.en
dc.formatapplication/pdfen
dc.format.extent670517 bytes
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://hdl.handle.net/10012/1041
dc.language.isoenen
dc.pendingfalseen
dc.publisherUniversity of Waterlooen
dc.rightsCopyright: 2004, Mennie, Christopher. All rights reserved.en
dc.subjectComputer Scienceen
dc.subjectmacroen
dc.subjectc++en
dc.subjectcen
dc.subjectmigrationen
dc.subjectsofware engineeringen
dc.titleGiving Meaning to Macrosen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentSchool of Computer Scienceen
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
camennie2004.pdf
Size:
654.8 KB
Format:
Adobe Portable Document Format