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]):...
Saved in:
| Published in: | 2023 18th Conference on Computer Science and Intelligence Systems (FedCSIS) Vol. 35; pp. 65 - 66 |
|---|---|
| Main Authors: | , , , |
| 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!
|
| Summary: | 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). |
|---|---|
| ISSN: | 2300-5963 |
| DOI: | 10.15439/2023F2071 |