Design and Implementation of a Web-Based Application for Code Smells Repository

被引:0
作者
Bamizadeh, Lida [1 ]
Kumar, Binod [2 ]
Kumar, Ajay [3 ]
Shirwaikar, Shailaja [1 ]
机构
[1] Savitribai Phule Pune Univ, Dept Comp Sci, Ganeshkhind Rd, Pune 411007, Maharashtra, India
[2] JSPMs Rajarshi Shahu Coll Engn, MCA Dept, Pimpri Chinchwad 411033, Maharashtra, India
[3] JSPM Jayawant, Tech Campus, Pimpri Chinchwad 411033, Maharashtra, India
来源
TEHNICKI GLASNIK-TECHNICAL JOURNAL | 2021年 / 15卷 / 03期
关键词
code repository; code smell; detection tool; refactoring; software metric; BAD;
D O I
10.31803/tg-20210207102610
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Pitfalls in software development process can be prevented by learning from other people's mistakes. Software practitioners and researchers document lessons learned and the knowledge about best practices is spread over literature. Presence of code smells does not indicate that software won't work, but it will reveal deeper problems and rising risk of failure in future. Software metrics are applied to detect code smells whereas refactoring can remove code smells, improve code quality and make it simpler and cleaner. Detection tools facilitate management of code smells. Knowledge about code smells and related concepts can assist the software maintenance process. Exploratory analysis of code smells carried out in this paper, covers collecting data about code smells, identifying related concepts, categorizing and organizing this knowledge into a code smell repository, which can be made available to software developers. A detailed literature survey is carried out to identify code smells and related concepts. An initial list of 22 code smells proposed in 1999 has grown over the years into 65 code smells. The relationship between code smells, software metrics, refactoring methods and detection tools available in literature is also documented. Templates are designed that capture knowledge about code smells and related concepts. A code smell repository is designed and implemented to maintain all the information gathered about code smells and related concepts and is made available to software practitioners. All the knowledge about code smells found in literature is collected, organized and made accessible.
引用
收藏
页码:371 / 380
页数:10
相关论文
共 52 条
  • [1] Bad Smell Detection Using Machine Learning Techniques: A Systematic Literature Review
    Al-Shaaby, Ahmed
    Aljamaan, Hamoud
    Alshayeb, Mohammad
    [J]. ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2020, 45 (04) : 2341 - 2369
  • [2] Software Design Smell Detection: a systematic mapping study
    Alkharabsheh, Khalid
    Crespo, Yania
    Manso, Esperanza
    Taboada, Jose A.
    [J]. SOFTWARE QUALITY JOURNAL, 2019, 27 (03) : 1069 - 1148
  • [3] SPMDL: Software Product Metrics Definition Language
    Alshayeb, Mohammad
    Shaaban, Yasser
    Al-Ghamdi, Jarallah
    [J]. ACM JOURNAL OF DATA AND INFORMATION QUALITY, 2018, 9 (04):
  • [4] [Anonymous], 1994, USE FACTOR ANAL DEV
  • [5] [Anonymous], 2014, SOFTWARE METRICS RIG, DOI DOI 10.1201/B17461
  • [6] [Anonymous], 2018, REFACTORING IMPROVIN
  • [7] Brown WH, 1998, ANTIPATTERNS REFACTO
  • [8] A Survey of Software Metric Use in Research Software Development
    Eisty, Nasir U.
    Thiruvathukal, George K.
    Carver, Jeffrey C.
    [J]. 2018 IEEE 14TH INTERNATIONAL CONFERENCE ON E-SCIENCE (E-SCIENCE 2018), 2018, : 212 - 222
  • [9] Fontana F. A., 2011, 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Workshops (ICSTW), P450, DOI 10.1109/ICSTW.2011.12
  • [10] Fontana F.A., 2015, Scientific Workshop Proceedings of the XP2015 Conference, P1, DOI DOI 10.1145/2764979.2764986