Automated Checking of Conformance to Requirements Templates Using Natural Language Processing

被引:104
作者
Arora, Chetan [1 ]
Sabetzadeh, Mehrdad [1 ]
Briand, Lionel [1 ]
Zimmer, Frank [2 ]
机构
[1] Univ Luxembourg, SnT Ctr Secur Reliabil & Trust, L-2721 Luxembourg, Luxembourg
[2] SES TechCom, Luxembourg, Luxembourg
关键词
Requirements templates; natural language processing (NLP); case study research; TRACEABILITY; EXTRACTION; SOFTWARE; SYSTEMS;
D O I
10.1109/TSE.2015.2428709
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Templates are effective tools for increasing the precision of natural language requirements and for avoiding ambiguities that may arise from the use of unrestricted natural language. When templates are applied, it is important to verify that the requirements are indeed written according to the templates. If done manually, checking conformance to templates is laborious, presenting a particular challenge when the task has to be repeated multiple times in response to changes in the requirements. In this article, using techniques from natural language processing (NLP), we develop an automated approach for checking conformance to templates. Specifically, we present a generalizable method for casting templates into NLP pattern matchers and reflect on our practical experience implementing automated checkers for two well-known templates in the requirements engineering community. We report on the application of our approach to four case studies. Our results indicate that: (1) our approach provides a robust and accurate basis for checking conformance to templates; and (2) the effectiveness of our approach is not compromised even when the requirements glossary terms are unknown. This makes our work particularly relevant to practice, as many industrial requirements documents have incomplete glossaries.
引用
收藏
页码:944 / 968
页数:25
相关论文
共 70 条
  • [21] BUCKLAND M, 1994, J AM SOC INFORM SCI, V45, P12, DOI 10.1002/(SICI)1097-4571(199401)45:1<12::AID-ASI2>3.0.CO
  • [22] 2-L
  • [23] Requirements engineering tools: Capabilities, survey and assessment
    Carrillo de Gea, Juan M.
    Nicolas, Joaquin
    Fernandez Aleman, Jose L.
    Toval, Ambrosio
    Ebert, Christof
    Vizcaino, Aurora
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2012, 54 (10) : 1142 - 1157
  • [24] Chantree F, 2006, RE'06: 14TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE, PROCEEDINGS, P59
  • [25] Cleland-Huang J, 2014, P FUT SOFTW ENG FOSE, P55
  • [26] A COEFFICIENT OF AGREEMENT FOR NOMINAL SCALES
    COHEN, J
    [J]. EDUCATIONAL AND PSYCHOLOGICAL MEASUREMENT, 1960, 20 (01) : 37 - 46
  • [27] Cunningham H., 2014, Developing Language Processing Components with GATE Version 8, V8th
  • [28] Daramola O., 2012, 2012 IEEE Second International Workshop on Requirements Patterns (RePa 2012), P54, DOI 10.1109/RePa.2012.6359973
  • [29] Denger C., 2001, QUASAR SURVEY APPROA
  • [30] Duan C., 2007, International Conference on Automated Software Engineering, P244