GSDetector: a tool for automatic detection of bad smells in GRL goal models

被引:0
作者
Mawal A. Mohammed
Jameleddine Hassine
Mohammad Alshayeb
机构
[1] King Fahd University of Petroleum and Minerals,Information and Computer Science Department, Interdisciplinary Research Center for Intelligent Secure Systems
来源
International Journal on Software Tools for Technology Transfer | 2022年 / 24卷
关键词
Bad smells; Goal models; GRL; GSDetector;
D O I
暂无
中图分类号
学科分类号
摘要
Goal models play a significant role in the early stages of the requirements engineering process. These models are subject to quality problems (a.k.a., bad smells) that may disseminate to the later stages of the requirements engineering process and even to the other stages in software development. To avoid this negative impact, it is important to detect and correct these problems as early as possible. However, the manual detection of these smells is generally tedious, cumbersome, and error-prone. In this paper, we report on an Eclipse plugin tool, called GSDetector (GRL Smells Detector), that automates the detection of Goal-oriented Requirements Language (GRL) bad smells. We first introduce and articulate four new GRL-based bad smells. To detect the instances of these smells, a set of metric-based rules is introduced. Factors that affect setting thresholds are also presented and explained to help modelers specify these rules by setting effective thresholds. GSDetector was evaluated using 5 case studies of different sizes that consider the different scenarios in building GRL models. The obtained results show that GSDetector was able to detect all the existing instances of bad smells with respect to the specified thresholds. The manual inspection of these instances revealed that the modelers were giving the system to be developed more attention than the strategic needs of the stakeholder leading to the appearance of these instances. In conclusion, the proposed bad smells and developed tool provide a useful approach to help identify and analyze quality improvement opportunities in GRL models.
引用
收藏
页码:889 / 910
页数:21
相关论文
共 62 条
  • [21] Fomin P(2008)Automated code smell detection and refactoring using OCL KIPS Trans. PartD. 15 825-861
  • [22] Sharma T(2014)A cooperative parallel search-based software engineering approach for code-smells detection IEEE Trans. Softw. Eng. 40 841-617
  • [23] Spinellis D(2016)Multi-criteria code refactoring using search-based software engineering: an industrial case study ACM Trans. Softw. Eng. Methodol (TOSEM) 25 23-1191
  • [24] El-Attar M(2017)Search-based web service antipatterns detection IEEE Trans. Serv. Comput. 10 603-342
  • [25] Miller J(2016)Comparing and experimenting machine learning techniques for code smell detection Empir. Softw. Eng. 21 1143-10
  • [26] El-Attar M(2011)Software defect detection with R ocus J. Comput. Sci. Technol. 26 328-361
  • [27] Miller J(2016)Influence of nominal project knowledge in the detection of design smells: an exploratory study with god class Int. J. Adv. Stud. Comput. Sci. Eng. 5 120-36
  • [28] Misbhauddin M(2011)Effectiveness of encapsulation and object-oriented metrics to refactor code and identify error prone classes using bad smells ACM SIGSOFT Softw. Eng. Notes 36 1-122
  • [29] Alshayeb M(2004)Improving design quality using meta-pattern transformations: a metric-based approach J. Softw. Maint. Evol. Res. Pract. 16 331-550
  • [30] Alkharabsheh K(2013)Detection and refactoring of bad smell caused by large scale Int. J. Softw. Eng. Appl. 4 1-undefined