TY - JOUR
T1 - Automated Smell Detection and Recommendation in Natural Language Requirements
AU - Veizaga, Alvaro
AU - Shin, Seung Yeob
AU - Briand, Lionel C.
N1 - Publisher Copyright:
© 1976-2012 IEEE.
PY - 2024/4/1
Y1 - 2024/4/1
N2 - 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).
AB - 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).
KW - Requirement smells
KW - and controlled natural language
KW - natural language processing
KW - requirement quality
KW - smell detection and recommendation
UR - http://www.scopus.com/inward/record.url?scp=85184317286&partnerID=8YFLogxK
U2 - 10.1109/TSE.2024.3361033
DO - 10.1109/TSE.2024.3361033
M3 - Article
AN - SCOPUS:85184317286
SN - 0098-5589
VL - 50
SP - 695
EP - 720
JO - IEEE Transactions on Software Engineering
JF - IEEE Transactions on Software Engineering
IS - 4
ER -