Empirical study of the relationship between design patterns and code smells.

Uloženo v:
Podrobná bibliografie
Název: Empirical study of the relationship between design patterns and code smells.
Autoři: Alfadel, Mahmoud, Aljasser, Khalid, Alshayeb, Mohammad
Zdroj: PLoS ONE; 4/16/2020, Vol. 15 Issue 4, p1-35, 35p
Témata: ODORS, EMPIRICAL research, SYSTEMS software, NEURAL codes, STATISTICAL association, SMELL
Abstrakt: Software systems are often developed in such a way that good practices in the object-oriented paradigm are not met, causing the occurrence of specific disharmonies which are sometimes called code smells. Design patterns catalogue best practices for developing object-oriented software systems. Although code smells and design patterns are widely divergent, there might be a co-occurrence relation between them. The objective of this paper is to empirically evaluate if the presence of design patterns is related to the presence of code smells at different granularity levels. We performed an empirical study using 20 design patterns and 13 code smells in ten small-size to medium-size, open source Java-based systems. We applied statistical analysis and association rules. Results confirm that classes participating in design patterns have less smell-proneness and smell frequency than classes not participating in design patterns. We also noticed that every design pattern category act in the same way in terms of smell-proneness in the subject systems. However, we observed, based on the association rules learning and the proposed validation technique, that some patterns may be associated with certain smells in some cases. For instance, Command patterns can co-occur with God Class, Blob and External Duplication smell. [ABSTRACT FROM AUTHOR]
Copyright of PLoS ONE is the property of Public Library of Science 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.)
Databáze: Complementary Index
FullText Text:
  Availability: 0
CustomLinks:
  – Url: http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=search&db=pmc&term=1932-6203[TA]+AND+1[PG]+AND+2020[PDAT]
    Name: FREE - PubMed Central (ISSN based link)
    Category: fullText
    Text: Full Text
    Icon: https://imageserver.ebscohost.com/NetImages/iconPdf.gif
    MouseOverText: Check this PubMed for the article full text.
  – Url: https://resolver.ebscohost.com/openurl?sid=EBSCO:edb&genre=article&issn=19326203&ISBN=&volume=15&issue=4&date=20200416&spage=1&pages=1-35&title=PLoS ONE&atitle=Empirical%20study%20of%20the%20relationship%20between%20design%20patterns%20and%20code%20smells.&aulast=Alfadel%2C%20Mahmoud&id=DOI:10.1371/journal.pone.0231731
    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=Alfadel%20M
    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: edb
DbLabel: Complementary Index
An: 142762108
RelevancyScore: 900
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 899.6025390625
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Empirical study of the relationship between design patterns and code smells.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Alfadel%2C+Mahmoud%22">Alfadel, Mahmoud</searchLink><br /><searchLink fieldCode="AR" term="%22Aljasser%2C+Khalid%22">Aljasser, Khalid</searchLink><br /><searchLink fieldCode="AR" term="%22Alshayeb%2C+Mohammad%22">Alshayeb, Mohammad</searchLink>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: PLoS ONE; 4/16/2020, Vol. 15 Issue 4, p1-35, 35p
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22ODORS%22">ODORS</searchLink><br /><searchLink fieldCode="DE" term="%22EMPIRICAL+research%22">EMPIRICAL research</searchLink><br /><searchLink fieldCode="DE" term="%22SYSTEMS+software%22">SYSTEMS software</searchLink><br /><searchLink fieldCode="DE" term="%22NEURAL+codes%22">NEURAL codes</searchLink><br /><searchLink fieldCode="DE" term="%22STATISTICAL+association%22">STATISTICAL association</searchLink><br /><searchLink fieldCode="DE" term="%22SMELL%22">SMELL</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: Software systems are often developed in such a way that good practices in the object-oriented paradigm are not met, causing the occurrence of specific disharmonies which are sometimes called code smells. Design patterns catalogue best practices for developing object-oriented software systems. Although code smells and design patterns are widely divergent, there might be a co-occurrence relation between them. The objective of this paper is to empirically evaluate if the presence of design patterns is related to the presence of code smells at different granularity levels. We performed an empirical study using 20 design patterns and 13 code smells in ten small-size to medium-size, open source Java-based systems. We applied statistical analysis and association rules. Results confirm that classes participating in design patterns have less smell-proneness and smell frequency than classes not participating in design patterns. We also noticed that every design pattern category act in the same way in terms of smell-proneness in the subject systems. However, we observed, based on the association rules learning and the proposed validation technique, that some patterns may be associated with certain smells in some cases. For instance, Command patterns can co-occur with God Class, Blob and External Duplication smell. [ABSTRACT FROM AUTHOR]
– Name: Abstract
  Label:
  Group: Ab
  Data: <i>Copyright of PLoS ONE is the property of Public Library of Science 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://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edb&AN=142762108
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1371/journal.pone.0231731
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 35
        StartPage: 1
    Subjects:
      – SubjectFull: ODORS
        Type: general
      – SubjectFull: EMPIRICAL research
        Type: general
      – SubjectFull: SYSTEMS software
        Type: general
      – SubjectFull: NEURAL codes
        Type: general
      – SubjectFull: STATISTICAL association
        Type: general
      – SubjectFull: SMELL
        Type: general
    Titles:
      – TitleFull: Empirical study of the relationship between design patterns and code smells.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Alfadel, Mahmoud
      – PersonEntity:
          Name:
            NameFull: Aljasser, Khalid
      – PersonEntity:
          Name:
            NameFull: Alshayeb, Mohammad
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 16
              M: 04
              Text: 4/16/2020
              Type: published
              Y: 2020
          Identifiers:
            – Type: issn-print
              Value: 19326203
          Numbering:
            – Type: volume
              Value: 15
            – Type: issue
              Value: 4
          Titles:
            – TitleFull: PLoS ONE
              Type: main
ResultId 1