Towards Reliable Rule Mining about Code Smells: The McPython Approach

CODE smell is a risky pattern in code that can lead, in the future, to problems with code maintenance. One of the approaches to identifying smells in the code is metric-based smell detection. A classic example is the God Class smell which can be detected by using three metrics (see, e.g., [1]-[3]):...

Full description

Saved in:
Bibliographic Details
Published in:2023 18th Conference on Computer Science and Intelligence Systems (FedCSIS) Vol. 35; pp. 65 - 66
Main Authors: Ziobrowski, Maciej, Ochodek, Miroslaw, Nawrocki, Jerzy, Walter, Bartosz
Format: Conference Proceeding Journal Article
Language:English
Published: Polish Information Processing Society 2023
Subjects:
ISSN:2300-5963
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract CODE smell is a risky pattern in code that can lead, in the future, to problems with code maintenance. One of the approaches to identifying smells in the code is metric-based smell detection. A classic example is the God Class smell which can be detected by using three metrics (see, e.g., [1]-[3]): * Weighted Method Count (WMC - sum of McCabe's complexity of all methods in the analysed class), * Tight Class Cohesion (TCC - relative number of directly connected methods within the analysed class), and * Access to Foreign Data (ATFD - number of classes containing attributes referenced by the analysed class directly or via get/set methods).
AbstractList CODE smell is a risky pattern in code that can lead, in the future, to problems with code maintenance. One of the approaches to identifying smells in the code is metric-based smell detection. A classic example is the God Class smell which can be detected by using three metrics (see, e.g., [1]-[3]): * Weighted Method Count (WMC - sum of McCabe's complexity of all methods in the analysed class), * Tight Class Cohesion (TCC - relative number of directly connected methods within the analysed class), and * Access to Foreign Data (ATFD - number of classes containing attributes referenced by the analysed class directly or via get/set methods).
Author Walter, Bartosz
Ziobrowski, Maciej
Ochodek, Miroslaw
Nawrocki, Jerzy
Author_xml – sequence: 1
  givenname: Maciej
  surname: Ziobrowski
  fullname: Ziobrowski, Maciej
  email: maciej.ziobrowski@student.put.poznan.pl
  organization: Poznan University of Technology,Poznań,Poland
– sequence: 2
  givenname: Miroslaw
  surname: Ochodek
  fullname: Ochodek, Miroslaw
  email: miroslaw.ochodek@put.poznan.pl
  organization: Poznan University of Technology,Poznań,Poland
– sequence: 3
  givenname: Jerzy
  surname: Nawrocki
  fullname: Nawrocki, Jerzy
  email: jerzy.nawrocki@put.poznan.pl
  organization: Poznan University of Technology,Poznań,Poland
– sequence: 4
  givenname: Bartosz
  surname: Walter
  fullname: Walter, Bartosz
  email: bartosz.walter@put.poznan.pl
  organization: Poznan University of Technology,Poznań,Poland
BookMark eNo9zE9PwkAQBfDVaCIiF88e-gWquzuzu603QkBJMBrEczP7p1BSuqSFGL69jRgv8zLvJb9bdtXEJjB2L_ijUAj5k-QSZpIbccFGuckyyLVBNBlesoEEzlOVa7hho67bcs6lQC5RD9h0Fb-p9V2yDHVFtg7J8tift6qpmnVCNh4PyST6kHzuQl13z8lq06_u43TYxCYZ7_dtJLe5Y9cl1V0Y_eWQfc2mq8lrunh_mU_Gi9RLKUSKPLMZCU6AQnOXkxdZCRZdIBWUyz0BBfBaEVqtLeSojHbWGQdgy2BgyOZn10faFvu22lF7KiJVxW8R23VB7aFydSi85bxEDEQSEZUm59GoEmTpXAiBeuvhbFX9-28JDlyLDOAHy0dlMQ
ContentType Conference Proceeding
Journal Article
DBID 6IE
6IL
CBEJK
RIE
RIL
DOA
DOI 10.15439/2023F2071
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE/IET Electronic Library
IEEE Proceedings Order Plans (POP All) 1998-Present
Open Access: DOAJ - Directory of Open Access Journals
DatabaseTitleList
Database_xml – sequence: 1
  dbid: DOA
  name: DOAJ Directory of Open Access Journals
  url: https://www.doaj.org/
  sourceTypes: Open Website
– sequence: 2
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9788396744784
8396744785
EISSN 2300-5963
EndPage 66
ExternalDocumentID oai_doaj_org_article_db00f44eaa244456acd475f32fcceeea
10306183
Genre orig-research
GroupedDBID 6IE
6IL
CBEJK
RIE
RIL
6IF
6IN
AAJGR
AAWTH
ABLEC
ADBBV
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BCNDV
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CHZPO
GROUPED_DOAJ
IEGSK
M~E
OCL
OK1
Y2W
ID FETCH-LOGICAL-d2211-408b8a10a34160c9ad18f3b4cea5e5c9da3ae3d65a4b66b394576cbc7c33bfe73
IEDL.DBID DOA
IngestDate Fri Oct 03 12:51:46 EDT 2025
Wed Aug 27 02:32:14 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed true
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-d2211-408b8a10a34160c9ad18f3b4cea5e5c9da3ae3d65a4b66b394576cbc7c33bfe73
OpenAccessLink https://doaj.org/article/db00f44eaa244456acd475f32fcceeea
PageCount 2
ParticipantIDs doaj_primary_oai_doaj_org_article_db00f44eaa244456acd475f32fcceeea
ieee_primary_10306183
PublicationCentury 2000
PublicationDate 2023-00-00
PublicationDateYYYYMMDD 2023-01-01
PublicationDate_xml – year: 2023
  text: 2023-00-00
PublicationDecade 2020
PublicationTitle 2023 18th Conference on Computer Science and Intelligence Systems (FedCSIS)
PublicationTitleAbbrev FEDCSIS
PublicationYear 2023
Publisher Polish Information Processing Society
Publisher_xml – name: Polish Information Processing Society
SSID ssj0002140246
Score 2.212722
Snippet CODE smell is a risky pattern in code that can lead, in the future, to problems with code maintenance. One of the approaches to identifying smells in the code...
SourceID doaj
ieee
SourceType Open Website
Publisher
StartPage 65
SubjectTerms code smell
domain specific languages
McPython
Python
Rule mining
SummonAdditionalLinks – databaseName: IEEE/IET Electronic Library
  dbid: RIE
  link: http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1NSwMxEA22ePCkYsX6RQ5eV9NNdpN409LipaVohd7KbDIBobbSD8F_7yRdFQ8evCxLYHdhJruTl533HmNXweVaeOEybegTqLwwmbEBMoUSC0-ADAwkswk9HJrJxI5qsnriwiBiaj7D63ia_uX7hdvErbKbaIlV0hxssIbW5ZasVUuOFlRYI5CX_VwkOnxsLvvlmJIKRn__n486YK0f6h0ffReVQ7aD8yPWG6fm1hWPDcSR68QfN3QYJHMHnnqLeXfhkT-94my2uuWUfD5wo48oDMDvatnwFnvu98bdh6z2P8h8TriMoJ2pDHQEUKUphbPgOybISjmEAgtnPUhA6csCVFWWlbSKwIOrnHZSVgG1PGbN-WKOJ4wLCwJD7ugKAhxYWLAKhLSVFmB9KNvsPgZs-raVuJhG0ek0QEGZ1nN46ukVDUohAK0JaOEFzitdBJkHR1FBaLNWDOT3Tb5iePrH-Bnbixnbbmics-Z6ucELtuve1y-r5WXK7idFkqh3
  priority: 102
  providerName: IEEE
Title Towards Reliable Rule Mining about Code Smells: The McPython Approach
URI https://ieeexplore.ieee.org/document/10306183
https://doaj.org/article/db00f44eaa244456acd475f32fcceeea
Volume 35
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV07T8MwELZQxcDCs4jyqDwwwBDhxs7DbAW1AolWHYrULbr4IVVqA-pLYkH8CH4hv4Szk6IysbB4iBJH8jl39zl330fIpVVhwjRTQZKiCxSapUEqLQTCcBNpBGSQghebSPr9dDSSgw2pL1cTVtIDlwt3o3FfWCEMAAYijPagtEgiy0Or0L8bnxqxRG6AKeeDQ8QNoYgrPtIIo65D-byLt7Yqdv5fcio-mnT3yW6VBtJ2-foDsmWKQ7K3llig1Rd3RKZDX9Y6pzMzGbsuJzpb4jD1sg7UVxVT15VO51MzmcxvKZqd9tTgzVEC0DVhOL16LFYut6RP5S8D-vXxSTvV-Tdt5-68Qy2u6-S52xnePwSVQkKgQ0RuCP7SPIUWA4xFMVMSdCu1PBfKQGQiJTVwMFzHEYg8jnMuBcILlatEcZ5bk_BjUiteCnNCKJPAjA0VPoGQxEQSpADGZZ4wkNrGDXLnVi17LUkwMkdL7S-gsbLKWNlfxmqQulvzn0mcxlmMTuX0PyY_IzvOxuX5yDmpLWZLc0G21Woxns-afn_g2HvvNH2X3zeidsYX
linkProvider Directory of Open Access Journals
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV1NSwMxEA1aBT2pWPHbHLyuppvsR7xpaanYlqIVeltmkwkI2ko_BP-9k3StePDgZVkCuwsz2Z287Lz3GLt0Js6EFSbKcvoEKivyKNcOIoUSE0uADHIIZhNZv5-PRnpQkdUDFwYRQ_MZXvnT8C_fTszCb5Vde0uslObgOttIlIrFkq5ViY4mVFo9lJftWARCvG8v--WZEkpGe-efD9tl9R_yHR-sysoeW8PxPmsNQ3vrjPsWYs924o8LOvSCvQMP3cW8ObHIn97w9XV2wyn9vGcGn14agN9WwuF19txuDZudqHJAiGxMyIzAXV7m0BBAtSYVRoNt5E6WyiAkmBhtQQJKmyagyjQtpVYEH0xpMiNl6TCTB6w2nozxkHGhQaCLDV1BkAMTDVqBkLrMBGjr0iN25wNWvC9FLgovOx0GKChFNYsLSy-pUwoBaFVASy8wVmWJk7EzFBWEI1b3gVzd5DuGx3-MX7CtzrDXLbr3_YcTtu2zt9zeOGW1-XSBZ2zTfMxfZtPzkOkvNBurvg
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2023+18th+Conference+on+Computer+Science+and+Intelligence+Systems+%28FedCSIS%29&rft.atitle=Towards+Reliable+Rule+Mining+about+Code+Smells%3A+The+McPython+Approach&rft.au=Ziobrowski%2C+Maciej&rft.au=Ochodek%2C+Miroslaw&rft.au=Nawrocki%2C+Jerzy&rft.au=Walter%2C+Bartosz&rft.date=2023-01-01&rft.pub=Polish+Information+Processing+Society&rft.spage=65&rft.epage=66&rft_id=info:doi/10.15439%2F2023F2071&rft.externalDocID=10306183