Title :
Do data dependencies in source code complement call dependencies for understanding requirements traceability?
Author :
Hongyu Kuang ; Mader, Patrick ; Hao Hu ; Ghabi, A. ; Liguo Huang ; Lv Jian ; Egyed, Alexander
Author_Institution :
State Key Lab. for Novel Software Technol., Nanjing Univ., Nanjing, China
Abstract :
It is common practice for requirements traceability research to consider method call dependencies within the source code (e.g., fan-in/fan-out analyses). However, current approaches largely ignore the role of data. The question this paper investigates is whether data dependencies have similar relationships to requirements as do call dependencies. For example, if two methods do not call one another, but do have access to the same data then is this information relevant? We formulated several research questions and validated them on three large software systems, covering about 120 KLOC. Our findings are that data relationships are roughly equally relevant to understanding the relationship to requirements traces than calling dependencies. However, most interestingly, our analyses show that data dependencies complement call dependencies. These findings have strong implications on all forms of code understanding, including trace capture, maintenance, and validation techniques (e.g., information retrieval).
Keywords :
formal specification; formal verification; reverse engineering; call dependency; code understanding; data dependency; information retrieval; maintenance technique; requirements traceability; software system; source code; trace capture technique; validation technique; Conferences; Java; Motion pictures; Servers; Software maintenance; Software systems; Video on demand; feature location; method call dependencies; method data dependencies; program analysis; requirements traceability; source code dependencies;
Conference_Titel :
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location :
Trento
Print_ISBN :
978-1-4673-2313-0
DOI :
10.1109/ICSM.2012.6405270