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 条
  • [1] Causality in requirements artifacts: prevalence, detection, and impact
    Julian Frattini
    Jannik Fischbach
    Daniel Mendez
    Michael Unterkalmsteiner
    Andreas Vogelsang
    Krzysztof Wnuk
    Requirements Engineering, 2023, 28 : 49 - 74
  • [2] Automatic Detection of Causality in Requirement Artifacts: The CiRA Approach
    Fischbach, Jannik
    Frattini, Julian
    Spaans, Arjen
    Kummeth, Maximilian
    Vogelsang, Andreas
    Mendez, Daniel
    Unterkalmsteiner, Michael
    REQUIREMENTS ENGINEERING: FOUNDATION FOR SOFTWARE QUALITY (REFSQ 2021), 2021, 12685 : 19 - 36
  • [3] On causality requirements for material media
    Weiglhofer, WS
    Lakhtakia, A
    AEU-ARCHIV FUR ELEKTRONIK UND UBERTRAGUNGSTECHNIK-INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATIONS, 1996, 50 (06): : 389 - 391
  • [4] Challenges of working with artifacts in requirements engineering and software engineering
    Ghazi, Parisa
    Glinz, Martin
    REQUIREMENTS ENGINEERING, 2017, 22 (03) : 359 - 385
  • [5] Communication Artifacts for Requirements Engineering
    Plachkinova, Miloslava
    Peffers, Ken
    Moody, Greg
    NEW HORIZONS IN DESIGN SCIENCE: BROADENING THE RESEARCH AGENDA, 2015, 9073 : 104 - 118
  • [6] Challenges of working with artifacts in requirements engineering and software engineering
    Parisa Ghazi
    Martin Glinz
    Requirements Engineering, 2017, 22 : 359 - 385
  • [7] Requirements' Characteristics: How do they Impact on Project Budget in a Systems Engineering Context?
    Chatzipetrou, Panagiota
    Unterkalmsteiner, Michael
    Gorschek, Tony
    2019 45TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2019), 2019, : 260 - 267
  • [8] Requirements quality research artifacts: Recovery, analysis, and management guideline
    Frattini, Julian
    Montgomery, Lloyd
    Fucci, Davide
    Unterkalmsteiner, Michael
    Mendez, Daniel
    Fischbach, Jannik
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 216
  • [9] FlexiView: A Magnet-Based Approach for Visualizing Requirements Artifacts
    Ghazi, Parisa
    Seyff, Norbert
    Glinz, Martin
    REQUIREMENTS ENGINEERING: FOUNDATION FOR SOFTWARE QUALITY ( REFSQ 2015), 2015, 9013 : 262 - 269
  • [10] A Tool for Analyzing Variability Based on Functional Requirements and Testing Artifacts
    Steinberger, Michal
    Reinhartz-Berger, Iris
    Tomer, Amir
    ADVANCES IN CONCEPTUAL MODELING, ER 2016 WORKSHOPS, 2016, 9975 : 243 - 250