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 条
  • [1] Detecting bad smells in AspectJ
    Piveta, Eduardo Kessler
    Hecht, Marcelo
    Pimenta, Marcelo Soares
    Price, Roberto Tom
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2006, 12 (07) : 811 - 827
  • [2] Cataloging Bad Smells in Use Case Descriptions and Automating Their Detection
    Seki, Yotaro
    Hayashi, Shinpei
    Saeki, Motoshi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2022, E105D (05) : 849 - 863
  • [3] SmellSheet Detective: A Tool for Detecting Bad Smells in Spreadsheets
    Cunha, Jacome
    Fernandes, Joao Paulo
    Martins, Pedro
    Mendes, Jorge
    Saraiva, Joao
    2012 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2012, : 243 - 244
  • [4] A Tool for Detecting Bad Usability Smells in an Automatic Way
    Grigera, Julian
    Garrido, Alejandra
    Matias Rivero, Jose
    WEB ENGINEERING, ICWE 2014, 2014, 8541 : 490 - 493
  • [5] A tool for detecting bad usability smells in an automatic way
    Grigera, Julián
    Garrido, Alejandra
    Matías Rivero, José
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8541 : 490 - 493
  • [7] A tool for detecting bad usability smells in an automatic way
    Grigera, Julián
    Garrido, Alejandra
    Rivero, José Matías
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8541 : 490 - 493
  • [8] Detecting Bad Smells in Software Systems with Linked Multivariate Visualizations
    Mumtaz, Haris
    Beck, Fabian
    Weiskopf, Daniel
    2018 SIXTH IEEE WORKING CONFERENCE ON SOFTWARE VISUALIZATION (VISSOFT), 2018, : 12 - 20
  • [9] Detecting Bad Smells with Weight Based Distance Metrics Theory
    Jiang Dexun
    Ma Peijun
    Su Xiaohong
    Wang Tiantian
    PROCEEDINGS OF THE 2012 SECOND INTERNATIONAL CONFERENCE ON INSTRUMENTATION & MEASUREMENT, COMPUTER, COMMUNICATION AND CONTROL (IMCCC 2012), 2012, : 299 - 304
  • [10] Defining and detecting bad smells of aspect-oriented software
    Srivisut, Komsan
    Muenchaisri, Pornsiri
    COMPSAC 2007: THE THIRTY-FIRST ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL I, PROCEEDINGS, 2007, : 65 - +