DocumentCode :
2416304
Title :
Discovering use cases from source code using the branch-reserving call graph
Author :
Qin, Tao ; Zhang, Lu ; Zhou, Zhiying ; Hao, Dan ; Sun, Jiasu
Author_Institution :
Software Eng. Inst., Peking Univ., Beijing, China
fYear :
2003
fDate :
10-12 Dec. 2003
Firstpage :
60
Lastpage :
67
Abstract :
Understanding the behavior of a software system is an important problem in program comprehension. Use cases have been accepted as an effective means for describing behavioral requirements for a software system. We propose a novel approach for obtaining use cases from source code. The central idea of our approach is to use the branch-reserving call graph (BRCG) as the intermediate representation of a software program. We also provide strategies for pruning the BRCG to avoid generating too many fine-grained use cases. Use cases, which may just undergo some minor modifications from human experts, can be generated through traversing the pruned BRCG. The contributions of our approach are three-fold, i) This method represents a compromised approach, which differs from both the static and dynamic approaches for use case discovery, ii) This method takes into consideration the fact that it is the branch statements that separate one use case from another in source code. iii) This method can avoid intensive human involvement in determining the final set of use cases. We have also performed a case study for this method on a GNU system.
Keywords :
object-oriented programming; reverse engineering; software maintenance; software reusability; system documentation; GNU system; branch-reserving call graph; branch-reserving call graph pruning; program comprehension; reverse engineering; software program representation; software system behavioral requirements; source code; use case discovery; Computer aided software engineering; Humans; Jacobian matrices; Programming; Reverse engineering; Software engineering; Software systems; Sun; Testing; Unified modeling language;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2003. Tenth Asia-Pacific
Print_ISBN :
0-7695-2011-1
Type :
conf
DOI :
10.1109/APSEC.2003.1254358
Filename :
1254358
Link To Document :
بازگشت