Causality in requirements artifacts: prevalence, detection, and impact

被引:6
|
作者
Frattini, Julian [1 ]
Fischbach, Jannik [2 ,3 ]
Mendez, Daniel [1 ,4 ]
Unterkalmsteiner, Michael [1 ]
Vogelsang, Andreas [3 ]
Wnuk, Krzysztof [1 ]
机构
[1] Blekinge Inst Technol, Karlskrona, Sweden
[2] Qualicen GmbH, Munich, Germany
[3] Univ Cologne, Cologne, Germany
[4] Fortiss GmbH, Munich, Germany
关键词
Causality; Multi-case study; Requirements engineering; Natural language processing; AGREEMENT; QUALITY; KAPPA; CAUSATION;
D O I
10.1007/s00766-022-00371-x
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Causal relations in natural language (NL) requirements convey strong, semantic information. Automatically extracting such causal information enables multiple use cases, such as test case generation, but it also requires to reliably detect causal relations in the first place. Currently, this is still a cumbersome task as causality in NL requirements is still barely understood and, thus, barely detectable. In our empirically informed research, we aim at better understanding the notion of causality and supporting the automatic extraction of causal relations in NL requirements. In a first case study, we investigate 14.983 sentences from 53 requirements documents to understand the extent and form in which causality occurs. Second, we present and evaluate a tool-supported approach, called CiRA, for causality detection. We conclude with a second case study where we demonstrate the applicability of our tool and investigate the impact of causality on NL requirements. The first case study shows that causality constitutes around 28 % of all NL requirements sentences. We then demonstrate that our detection tool achieves a macro-F-1 score of 82 % on real-world data and that it outperforms related approaches with an average gain of 11.06 % in macro-Recall and 11.43 % in macro-Precision. Finally, our second case study corroborates the positive correlations of causality with features of NL requirements. The results strengthen our confidence in the eligibility of causal relations for downstream reuse, while our tool and publicly available data constitute a first step in the ongoing endeavors of utilizing causality in RE and beyond.
引用
收藏
页码:49 / 74
页数:26
相关论文
共 50 条
  • [21] Viruses and human cancer: From detection to causality
    Sarid, Ronit
    Gao, Shou-Jiang
    CANCER LETTERS, 2011, 305 (02) : 218 - 227
  • [22] Causality in Scale Space as an Approach to Change Detection
    Skrovseth, Stein Olav
    Bellika, Johan Gustav
    Godtliebsen, Fred
    PLOS ONE, 2012, 7 (12):
  • [23] Knowledge Transfer, Sharing, and Management System Based on Causality for Requirements Change Management
    Yan, Yuqing
    Zhang, Zhenhua
    PROCEEDINGS OF 3RD INTERNATIONAL CONFERENCE ON INFORMATION SYSTEM AND DATA MINING (ICISDM 2019), 2019, : 201 - 207
  • [24] A Magnet-and-Spring Based Visualization Technique for Enhancing the Manipulation of Requirements Artifacts
    Ghazi, Parisa
    2015 IEEE 23RD INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE), 2015, : 400 - 405
  • [25] Siamese Neural Networks Method for Semantic Requirements Similarity Detection
    Alnajem, Nojoom A.
    Binkhonain, Manal
    Hossain, M. Shamim
    IEEE ACCESS, 2024, 12 : 140932 - 140947
  • [26] Impact of systematic sampling on causality in the presence of unit roots
    Rajaguru, G
    ECONOMICS LETTERS, 2004, 84 (01) : 127 - 132
  • [27] Impact of Causality on Performance of Phasor Measurement Unit Algorithms
    Meng, Wenchao
    Wang, Xiaoyu
    Wang, Zhijun
    Kamwa, Innocent
    IEEE TRANSACTIONS ON POWER SYSTEMS, 2018, 33 (02) : 1555 - 1565
  • [28] Causality in social life cycle impact assessment (SLCIA)
    Wu, Susie R.
    Chen, Jiquan
    Apul, Defne
    Fan, Peilei
    Yan, Yanfa
    Fan, Yi
    Zhou, Peiling
    INTERNATIONAL JOURNAL OF LIFE CYCLE ASSESSMENT, 2015, 20 (09) : 1312 - 1323
  • [29] Causality in social life cycle impact assessment (SLCIA)
    Susie R. Wu
    Jiquan Chen
    Defne Apul
    Peilei Fan
    Yanfa Yan
    Yi Fan
    Peiling Zhou
    The International Journal of Life Cycle Assessment, 2015, 20 : 1312 - 1323
  • [30] Cognitive Causality Detection with Associative Memory in Textual Events
    Guo, Yi
    Hua, Nan
    Shao, Zhiqing
    IEEC 2009: FIRST INTERNATIONAL SYMPOSIUM ON INFORMATION ENGINEERING AND ELECTRONIC COMMERCE, PROCEEDINGS, 2009, : 140 - +