University of Limerick
Browse

Automated smell detection and recommendation in natural language requirements

Download (1.81 MB)
journal contribution
posted on 2024-06-25, 13:57 authored by Alvaro Veizaga, Seung Yeob Shin, Lionel C BriandLionel C Briand

Requirement specifications are typically written in natural language (NL) due to its usability across multiple domains and understandability by all stakeholders. However, unstructured NL is prone to quality problems (e.g., ambiguity) when writing requirements, which can result in project failures. To address this issue, we present a tool, named Paska, that takes as input any NL requirements, automatically detects quality problems as smells in the requirements, and offers recommendations to improve their quality. Our approach relies on natural language processing (NLP) techniques and a state-of-the-art controlled natural language (CNL) for requirements (Rimay), to detect smells and suggest recommendations using patterns defined in Rimay to improve requirement quality. We evaluated Paska through an industrial case study in the financial domain involving 13 systems and 2725 annotated requirements. The results show that our tool is accurate in detecting smells (89% precision and recall) and suggesting appropriate Rimay pattern recommendations (96% precision and 94% recall).

Funding

Lero_Phase 2

Science Foundation Ireland

Find out more...

History

Publication

IEEE Transactions on Software Engineering,2024, 50,(4), pp. 695-720

Publisher

Institute of Electrical and Electronics Engineers

Other Funding information

This work was supported in part by the FNR of Luxembourg under the BRIDGES Program under Grant BRIDGES18/IS/13234469/IMoReF, in part by the Science Foundation Ireland under Grant 13/RC/2094-2, and in part by the NSERC of Canada under the Discovery and CRC Programs

Also affiliated with

  • LERO - The Science Foundation Ireland Research Centre for Software

Usage metrics

    University of Limerick

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC