DocumentCode
2034626
Title
Incremental slicing based on data-dependences types
Author
Orso, Alessandro ; Sinha, Saurabh ; Harrold, Mary Jean
Author_Institution
Coll. of Comput., Georgia Inst. of Technol., Atlanta, GA, USA
fYear
2001
fDate
2001
Firstpage
158
Lastpage
167
Abstract
Program slicing is useful for assisting with many software-maintenance tasks. The presence and frequent usage of pointers in languages such as C causes complex data dependences. To function effectively on such programs, slicing techniques must account for pointer-induced data dependences. Existing slicing techniques do not distinguish data dependences based on their types. This paper presents a new slicing technique, in which slices are computed based on types of data dependences. This new slicing technique offers several benefits and can be exploited in different ways, such as identifying subtle data dependences for debugging, computing reduced-size slices quickly for complex programs, and performing incremental slicing. This paper describes an algorithm for incremental slicing that increases the scope of a slice in steps, by incorporating different types of data dependences at each step. The paper also presents empirical results to illustrate the performance of the technique in practice. The results illustrate that incremental slices can be significantly smaller than complete slices. Finally, the paper presents a case study that explores the usefulness of incremental slicing for debugging
Keywords
program debugging; program slicing; software maintenance; data-dependences types; debugging; incremental slicing; pointer-induced data dependences; pointers; program slicing; software-maintenance tasks; Airplanes; Debugging; Distributed computing; Educational institutions;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2001. Proceedings. IEEE International Conference on
Conference_Location
Florence
ISSN
1063-6773
Print_ISBN
0-7695-1189-9
Type
conf
DOI
10.1109/ICSM.2001.972726
Filename
972726
Link To Document