A source code query to support structured program understanding
Most software undoubtedly undergoes changes and needs maintenance due to environment, technologies and domain knowledge changes. A maintainer is responsible to analyze and understand the code occurrences prior to making any changes. The change in some parts of the codes will affect other parts withi...
Saved in:
Main Author: | |
---|---|
Format: | Thesis |
Published: |
2010
|
Subjects: | |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
id |
my-utm-ep.11451 |
---|---|
record_format |
uketd_dc |
spelling |
my-utm-ep.114512021-05-11T07:04:05Z A source code query to support structured program understanding 2010-01 Din, Dahlia QA75 Electronic computers. Computer science QA76 Computer software Most software undoubtedly undergoes changes and needs maintenance due to environment, technologies and domain knowledge changes. A maintainer is responsible to analyze and understand the code occurrences prior to making any changes. The change in some parts of the codes will affect other parts within the same codes. Therefore, program understanding is one of the important factors to understand the code occurrences and its effectiveness in software maintenance. A program understanding activity involves browsing and exploring the source codes or the software documentations. However, in some cases not all the developed software has updated documentations. In this situation the documents tend to be more or less obsolete, while source code remains as the only reliable source left for maintainers to understand the software. In this case, maintainers need to spend more time traversing source code to understand the code occurrences. Thus, a flexible codes query method is proposed to enhance code occurrences understanding. This method applies parsing, pattern matching and regular expression techniques to extract software artifacts from source code. These extracted artifacts are analyzed and brought to light via multiple levels of abstraction. The results present multiple artifacts, relationship among the artifacts and their locations in the source code. In this research, a prototype was developed to provide a source code query method that supports structured program understanding in C programs. The method was then tested in a controlled experiment using a case study to prove effectiveness query of artifacts occurrences in source code to support program understanding. 2010-01 Thesis http://eprints.utm.my/id/eprint/11451/ masters Universiti Teknologi Malaysia, Faculty of Computer Science and Information Systems Faculty of Computer Science and Information System |
institution |
Universiti Teknologi Malaysia |
collection |
UTM Institutional Repository |
topic |
QA75 Electronic computers Computer science QA76 Computer software |
spellingShingle |
QA75 Electronic computers Computer science QA76 Computer software Din, Dahlia A source code query to support structured program understanding |
description |
Most software undoubtedly undergoes changes and needs maintenance due to environment, technologies and domain knowledge changes. A maintainer is responsible to analyze and understand the code occurrences prior to making any changes. The change in some parts of the codes will affect other parts within the same codes. Therefore, program understanding is one of the important factors to understand the code occurrences and its effectiveness in software maintenance. A program understanding activity involves browsing and exploring the source codes or the software documentations. However, in some cases not all the developed software has updated documentations. In this situation the documents tend to be more or less obsolete, while source code remains as the only reliable source left for maintainers to understand the software. In this case, maintainers need to spend more time traversing source code to understand the code occurrences. Thus, a flexible codes query method is proposed to enhance code occurrences understanding. This method applies parsing, pattern matching and regular expression techniques to extract software artifacts from source code. These extracted artifacts are analyzed and brought to light via multiple levels of abstraction. The results present multiple artifacts, relationship among the artifacts and their locations in the source code. In this research, a prototype was developed to provide a source code query method that supports structured program understanding in C programs. The method was then tested in a controlled experiment using a case study to prove effectiveness query of artifacts occurrences in source code to support program understanding. |
format |
Thesis |
qualification_level |
Master's degree |
author |
Din, Dahlia |
author_facet |
Din, Dahlia |
author_sort |
Din, Dahlia |
title |
A source code query to support structured program understanding |
title_short |
A source code query to support structured program understanding |
title_full |
A source code query to support structured program understanding |
title_fullStr |
A source code query to support structured program understanding |
title_full_unstemmed |
A source code query to support structured program understanding |
title_sort |
source code query to support structured program understanding |
granting_institution |
Universiti Teknologi Malaysia, Faculty of Computer Science and Information Systems |
granting_department |
Faculty of Computer Science and Information System |
publishDate |
2010 |
_version_ |
1747814857152921600 |