Detecting Bad Smells in Use Case

被引:6
|
作者
Seki, Yotaro [1 ]
Hayashi, Shinpei [1 ]
Saeki, Motoshi [1 ]
机构
[1] Tokyo Inst Technol, Tokyo 1528550, Japan
关键词
use case descriptions; smell detection;
D O I
10.1109/RE.2019.00021
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Use case modeling is very popular to represent the functionality of the system to be developed, and it consists of two parts: use case diagram and use case description. Use case descriptions are written in structured natural language (NL), and the usage of NL can lead to poor descriptions such as ambiguous, inconsistent and/or incomplete descriptions, etc. Poor descriptions lead to missing requirements and eliciting incorrect requirements as well as less comprehensiveness of produced use case models. This paper proposes a technique to automate detecting bad smells of use case descriptions, symptoms of poor descriptions. At first, to clarify bad smells, we analyzed existing use case models to discover poor use case descriptions concretely and developed the list of bad smells, i.e., a catalogue of bad smells. Some of the bad smells can be refined into measures using the Goal-Question-Metric paradigm to automate their detection. The main contribution of this paper is the automated detection of bad smells. We have implemented an automated smell detector for 22 bad smells at first and assessed its usefulness by an experiment. As a result, the first version of our tool got a precision ratio of 0.591 and recall ratio of 0.981.
引用
下载
收藏
页码:98 / 108
页数:11
相关论文
共 50 条
  • [21] THARP,TWYLA 'BAD SMELLS'
    BROMBERG, C
    THEATRE CRAFTS, 1984, 18 (01): : 12 - 12
  • [22] What you like in design use to correct bad-smells
    Kessentini, Marouane
    Mahaouachi, Rim
    Ghedira, Khaled
    SOFTWARE QUALITY JOURNAL, 2013, 21 (04) : 551 - 571
  • [23] What you like in design use to correct bad-smells
    Marouane Kessentini
    Rim Mahaouachi
    Khaled Ghedira
    Software Quality Journal, 2013, 21 : 551 - 571
  • [24] Detecting bad smells in object oriented design using design change propagation probability matrix
    Rao, A. Ananda
    Reddy, K. Narendar
    IMECS 2008: INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS, VOLS I AND II, 2008, : 1001 - 1007
  • [25] Analyzing the Impact of Refactoring on Bad Smells
    Tavares, Cleiton
    Bigonha, Mariza
    Figueiredo, Eduardo
    34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020, 2020, : 97 - 101
  • [26] Bad smells from Köln
    Buetow, Mike
    Printed Circuit Fabrication, 2002, 25 (12):
  • [27] Bad smells -: Humans as code critics
    Mäntylä, MV
    Vanhanen, J
    Lassenius, C
    20TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2004, : 399 - 408
  • [28] Bad smells in design and design patterns
    Bouhours, Cedric
    Leblanc, Herve
    Percebois, Christian
    JOURNAL OF OBJECT TECHNOLOGY, 2009, 8 (03): : 43 - 63
  • [29] Perspectives on Automated Correction of Bad Smells
    Perez, Javier
    Crespo, Yania
    IWPSE-EVOL 09: ERCIM WORKSHOP ON SOFTWARE EVOLUTION (EVOL) AND INTERNATIONAL WORKSHOP ON PRINCIPLES OF SOFTWARE EVOLUTION (IWPSE), 2009, : 99 - 108
  • [30] DUTCH BIOFILTRATION REDUCES BAD SMELLS
    VANKASTEREN, J
    BIO-TECHNOLOGY, 1985, 3 (04): : 298 - 298