An Approach for Improving the Requirements Quality of User Stories

被引:0
|
作者
Wang C. [1 ,3 ]
Jin Z. [1 ,2 ]
Zhao H. [1 ,2 ]
Cui M. [1 ,2 ]
机构
[1] Key Laboratory of High Confidence Software Technology, Peking University, Ministry of Education, Beijing
[2] Department of Computer Science and Technology, School of Electronics Engineering and Computer Science, Peking University, Beijing
[3] College of Computer Science and Technology, Inner Mongolia Normal University, Hohhot
基金
中国国家自然科学基金;
关键词
Requirements defect; Requirements defect detection; Requirements quality improving; User story; User story quality model;
D O I
10.7544/issn1000-1239.2021.20200732
中图分类号
学科分类号
摘要
User story is a widely adopted requirements notation in agile development. Generally, user stories are written by customers or users in natural language with limited format, but there are often some defects in the writing of user stories. The typical detects include the lack of necessary information to make it difficult to understand, and the ambiguous expressions make the requirements impossible to estimate, and some stories have duplicates and conflicts. These defects affect the quality of requirements, resulting in incomplete, inconsistent, untestable, and so on. This paper proposes an automated approach for detecting the defects in user story requirements and improving the quality of user stories. First, a conceptual model of user story for defect identification is proposed. An approach based on structural analysis, syntactic analysis and semantic analysis is used for constructing the conceptual model. Secondly, 11 quality criteria are summarized from the actual cases and used to identify the defects in the user stories. An experimental study is carried out on a story set with 36 user stories and 84 scenarios. The automatic detection tool reports 173 defects, and the precision and recall of the reported results are 88.79% and 95.06%, respectively. © 2021, Science Press. All right reserved.
引用
收藏
页码:731 / 748
页数:17
相关论文
共 25 条
  • [1] Ramesh B, Cao L, Baskerville R L., Agile requirements engineering practices and challenges: An empirical study, Information System Journal, 20, 5, pp. 449-480, (2007)
  • [2] Kassab M., The changing landscape of requirements engineering practices over the past decade, Proc of IEEE Int Workshop on Empirical Requirements Engineering, pp. 1-8, (2015)
  • [3] Wang Xinyu, Zhao Liping, Wang Ye, Et al., The role of requirements engineering practices in agile development: An empirical study, Proc of the Asia Pacific Requirements Engineering Symp, pp. 195-209, (2014)
  • [4] Wautelet Y, Heng S, Kolp M, Et al., Unifying and extending user story models, Proc of Conf on Advanced Information Systems Engineering, pp. 211-225, (2014)
  • [5] Cohn M., UserStories Applied: For Agile Software Development, (2004)
  • [6] Jeffries R, Anderson A, Hendrickson C., Extreme Programming Installed, (2000)
  • [7] Lan F A, Neil M., Scenarios, Stories, Use Cases: Through the Systems Development Life-Cycle, (2004)
  • [8] Behutiye W, Karhapaa P, Lopez L, Et al., Management of quality requirements in agile and rapid software development: A systematic mapping study, Information & Software Technology, 123, (2020)
  • [9] Lucassen G, Dalpiaz F, Der Werf J M, Et al., Forging high-qualityuser stories: Towards a discipline for agile requirements, Proc of IEEE Int Conf on Requirements Engineering, pp. 126-135, (2015)
  • [10] Lucassen G, Dalpiaz F, Der Werf J M, Et al., Improving agile requirements: The quality user story framework and tool, Requirements Engineering, 21, 3, pp. 383-403, (2016)