Improving Automatic Identification of Outdated Requirements by Using Closeness Analysis Based on Source Code Changes

Hongyu Kuang,Jia Nie,Hao Hu,Jian Lu
DOI: https://doi.org/10.1007/978-981-10-3482-4_4
2016-01-01
Abstract:Updating requirements specification when software systems evolve is vital to keep requirements away from being obsolete and useless. However, this is a manual task that is labor-intensive. Consequently, developers usually apply changes to the code directly and leave requirements unchanged. To address this issue, recently researchers proposed an approach that can semiautomatically identify outdated requirements by tracing keywords, which are extracted from the source code changes, to the requirements based on textual similarities. In this paper, we propose to use closeness analysis on call dependencies to improve the existing approach. Specifically, we quantify and utilize the "closeness" for each call dependency between two methods to refine the quality of the keywords extracted from the source code changes and thus improve the accuracy of outdated requirement identification. An empirical evaluation based on three real-world systems shows that our approach achieves better accuracy in identifying outdated requirements than the baseline approach.
What problem does this paper attempt to address?