Impact of Co-Occurrences of Code Smells and Design Patterns on Internal Code Quality Attributes
Gespeichert in:
| Titel: | Impact of Co-Occurrences of Code Smells and Design Patterns on Internal Code Quality Attributes |
|---|---|
| Autoren: | Imran, Sania, Inayat, Irum, 1985, Daneva, M. |
| Quelle: | IET Software. 2025(1) |
| Schlagwörter: | Quality control, Artificial intelligence, Computer software reusability, Statistical tests, Computer games, Learning systems, Object oriented programming |
| Beschreibung: | 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. |
| Dateibeschreibung: | electronic |
| Zugangs-URL: | https://research.chalmers.se/publication/549647 https://research.chalmers.se/publication/549647/file/549647_Fulltext.pdf |
| Datenbank: | SwePub |
| FullText | Text: Availability: 0 CustomLinks: – Url: https://research.chalmers.se/publication/549647# Name: EDS - SwePub (s4221598) Category: fullText Text: View record in SwePub – Url: https://resolver.ebscohost.com/openurl?sid=EBSCO:edsswe&genre=article&issn=17518814&ISBN=&volume=2025&issue=1&date=20250101&spage=&pages=&title=IET Software&atitle=Impact%20of%20Co-Occurrences%20of%20Code%20Smells%20and%20Design%20Patterns%20on%20Internal%20Code%20Quality%20Attributes&aulast=Imran%2C%20Sania&id=DOI:10.1049/sfw2/5579438 Name: Full Text Finder Category: fullText Text: Full Text Finder Icon: https://imageserver.ebscohost.com/branding/images/FTF.gif MouseOverText: Full Text Finder – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Imran%20S Name: ISI Category: fullText Text: Nájsť tento článok vo Web of Science Icon: https://imagesrvr.epnet.com/ls/20docs.gif MouseOverText: Nájsť tento článok vo Web of Science |
|---|---|
| Header | DbId: edsswe DbLabel: SwePub An: edsswe.oai.research.chalmers.se.15b83f30.ed2b.4aec.8d24.9f83ffebaa5e RelevancyScore: 1065 AccessLevel: 6 PubType: Academic Journal PubTypeId: academicJournal PreciseRelevancyScore: 1064.736328125 |
| 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><br /><searchLink fieldCode="AR" term="%22Inayat%2C+Irum%22">Inayat, Irum</searchLink>, 1985<br /><searchLink fieldCode="AR" term="%22Daneva%2C+M%2E%22">Daneva, M.</searchLink> – Name: TitleSource Label: Source Group: Src Data: <i>IET Software</i>. 2025(1) – Name: Subject Label: Subject Terms Group: Su Data: <searchLink fieldCode="DE" term="%22Quality+control%22">Quality control</searchLink><br /><searchLink fieldCode="DE" term="%22Artificial+intelligence%22">Artificial intelligence</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+software+reusability%22">Computer software reusability</searchLink><br /><searchLink fieldCode="DE" term="%22Statistical+tests%22">Statistical tests</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+games%22">Computer games</searchLink><br /><searchLink fieldCode="DE" term="%22Learning+systems%22">Learning systems</searchLink><br /><searchLink fieldCode="DE" term="%22Object+oriented+programming%22">Object oriented programming</searchLink> – Name: Abstract Label: Description 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. – Name: Format Label: File Description Group: SrcInfo Data: electronic – Name: URL Label: Access URL Group: URL Data: <link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/549647" linkWindow="_blank">https://research.chalmers.se/publication/549647</link><br /><link linkTarget="URL" linkTerm="https://research.chalmers.se/publication/549647/file/549647_Fulltext.pdf" linkWindow="_blank">https://research.chalmers.se/publication/549647/file/549647_Fulltext.pdf</link> |
| PLink | https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsswe&AN=edsswe.oai.research.chalmers.se.15b83f30.ed2b.4aec.8d24.9f83ffebaa5e |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1049/sfw2/5579438 Languages: – Text: English Subjects: – SubjectFull: Quality control Type: general – SubjectFull: Artificial intelligence Type: general – SubjectFull: Computer software reusability Type: general – SubjectFull: Statistical tests Type: general – SubjectFull: Computer games Type: general – SubjectFull: Learning systems Type: general – SubjectFull: Object oriented programming 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, M. IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2025 Identifiers: – Type: issn-print Value: 17518814 – Type: issn-print Value: 17518806 – Type: issn-locals Value: SWEPUB_FREE – Type: issn-locals Value: CTH_SWEPUB Numbering: – Type: volume Value: 2025 – Type: issue Value: 1 Titles: – TitleFull: IET Software Type: main |
| ResultId | 1 |
Full Text Finder
Nájsť tento článok vo Web of Science