Impact of Co‐Occurrences of Code Smells and Design Patterns on Internal Code Quality Attributes.

Saved in:
Bibliographic Details
Title: Impact of Co‐Occurrences of Code Smells and Design Patterns on Internal Code Quality Attributes.
Authors: Imran, Sania1 (AUTHOR), Inayat, Irum2 (AUTHOR) irum@chalmers.se, Daneva, Maya3 (AUTHOR), Liu, Hui (AUTHOR) liuhui08@bit.edu.cn
Source: IET Software (Wiley-Blackwell). 12/1/2025, Vol. 2025, p1-13. 13p.
Subjects: JavaScript programming language, Computer software quality control, Software frameworks, Machine learning, Computer software development, Design failures, Statistical correlation, Statistical hypothesis testing
Abstract: The structural features of a code section that may indicate a more serious issue with the design of a system or code are known as code smells. Design patterns, on the other hand, are meant to describe the best reusable solution for creating object‐oriented software systems. Even though design patterns and code smells are very different, they may co‐occur. In fact, there may be a significant connection among the two, which requires further research. This study aims to (i) identify design patterns and code smells in web gaming code, (ii) investigate the co‐occurrence of the two, and (iii) analyze the effects of these co‐occurrences on internal quality aspects of code. An experiment is carried out on JavaScript (JS) web games utilizing machine learning classifiers to investigate the influence of co‐occurrence on potential code smells and design patterns to evaluate games from a quality perspective. Moreover, statistical testing is performed to identify the impact of co‐occurrences of code smells and design patterns on internal quality attributes. After examining the data, we determined that random forest is the most effective classifier, achieving an accuracy of 99.126% and 98.99% for both experimental situations, respectively. Moreover, on applying the Wilcoxon signed rank test, we found that co‐occurrence has no impact on the coupling and complexity of web games codes, whereas there is a significant impact of co‐occurrence on cohesion, size, and inheritance. Our results may guide developers in writing efficient games code to add to this swiftly growing market. [ABSTRACT FROM AUTHOR]
Copyright of IET Software (Wiley-Blackwell) is the property of Wiley-Blackwell and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Database: Engineering Source
FullText Text:
  Availability: 0
Header DbId: egs
DbLabel: Engineering Source
An: 189711466
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 0
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Impact of Co‐Occurrences of Code Smells and Design Patterns on Internal Code Quality Attributes.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Imran%2C+Sania%22">Imran, Sania</searchLink><relatesTo>1</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Inayat%2C+Irum%22">Inayat, Irum</searchLink><relatesTo>2</relatesTo> (AUTHOR)<i> irum@chalmers.se</i><br /><searchLink fieldCode="AR" term="%22Daneva%2C+Maya%22">Daneva, Maya</searchLink><relatesTo>3</relatesTo> (AUTHOR)<br /><searchLink fieldCode="AR" term="%22Liu%2C+Hui%22">Liu, Hui</searchLink> (AUTHOR)<i> liuhui08@bit.edu.cn</i>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: <searchLink fieldCode="JN" term="%22IET+Software+%28Wiley-Blackwell%29%22">IET Software (Wiley-Blackwell)</searchLink>. 12/1/2025, Vol. 2025, p1-13. 13p.
– Name: Subject
  Label: Subjects
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22JavaScript+programming+language%22">JavaScript programming language</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+software+quality+control%22">Computer software quality control</searchLink><br /><searchLink fieldCode="DE" term="%22Software+frameworks%22">Software frameworks</searchLink><br /><searchLink fieldCode="DE" term="%22Machine+learning%22">Machine learning</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+software+development%22">Computer software development</searchLink><br /><searchLink fieldCode="DE" term="%22Design+failures%22">Design failures</searchLink><br /><searchLink fieldCode="DE" term="%22Statistical+correlation%22">Statistical correlation</searchLink><br /><searchLink fieldCode="DE" term="%22Statistical+hypothesis+testing%22">Statistical hypothesis testing</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: The structural features of a code section that may indicate a more serious issue with the design of a system or code are known as code smells. Design patterns, on the other hand, are meant to describe the best reusable solution for creating object‐oriented software systems. Even though design patterns and code smells are very different, they may co‐occur. In fact, there may be a significant connection among the two, which requires further research. This study aims to (i) identify design patterns and code smells in web gaming code, (ii) investigate the co‐occurrence of the two, and (iii) analyze the effects of these co‐occurrences on internal quality aspects of code. An experiment is carried out on JavaScript (JS) web games utilizing machine learning classifiers to investigate the influence of co‐occurrence on potential code smells and design patterns to evaluate games from a quality perspective. Moreover, statistical testing is performed to identify the impact of co‐occurrences of code smells and design patterns on internal quality attributes. After examining the data, we determined that random forest is the most effective classifier, achieving an accuracy of 99.126% and 98.99% for both experimental situations, respectively. Moreover, on applying the Wilcoxon signed rank test, we found that co‐occurrence has no impact on the coupling and complexity of web games codes, whereas there is a significant impact of co‐occurrence on cohesion, size, and inheritance. Our results may guide developers in writing efficient games code to add to this swiftly growing market. [ABSTRACT FROM AUTHOR]
– Name: AbstractSuppliedCopyright
  Label:
  Group: Ab
  Data: <i>Copyright of IET Software (Wiley-Blackwell) is the property of Wiley-Blackwell and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=189711466
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1049/sfw2/5579438
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 13
        StartPage: 1
    Subjects:
      – SubjectFull: JavaScript programming language
        Type: general
      – SubjectFull: Computer software quality control
        Type: general
      – SubjectFull: Software frameworks
        Type: general
      – SubjectFull: Machine learning
        Type: general
      – SubjectFull: Computer software development
        Type: general
      – SubjectFull: Design failures
        Type: general
      – SubjectFull: Statistical correlation
        Type: general
      – SubjectFull: Statistical hypothesis testing
        Type: general
    Titles:
      – TitleFull: Impact of Co‐Occurrences of Code Smells and Design Patterns on Internal Code Quality Attributes.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Imran, Sania
      – PersonEntity:
          Name:
            NameFull: Inayat, Irum
      – PersonEntity:
          Name:
            NameFull: Daneva, Maya
      – PersonEntity:
          Name:
            NameFull: Liu, Hui
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 01
              M: 12
              Text: 12/1/2025
              Type: published
              Y: 2025
          Identifiers:
            – Type: issn-print
              Value: 17518806
          Numbering:
            – Type: volume
              Value: 2025
          Titles:
            – TitleFull: IET Software (Wiley-Blackwell)
              Type: main
ResultId 1