loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Pritom Saha Akash ; Ali Zafar Sadiq and Ahmedul Kabir

Affiliation: Institute of Information Technology, University of Dhaka and Bangladesh

Keyword(s): Code Smell, Refactoring, God Class, LDA, Cohesion, Coupling.

Related Ontology Subjects/Areas/Topics: Software Engineering ; Software Metrics ; Software Project Management

Abstract: Code smell is a sign of design and development flaws in a software system which reduces the reusability and maintainability of the system. Refactoring is a continuous practice of eliminating code smells from the source code. A God Class is one of the most common code smells where too many responsibilities are defined in a single class. God Classes reduce the quality of a system by increasing coupling and decreasing cohesion. In this paper, we propose an approach for extracting a God Class into new classes by increasing class cohesion. For this, both structural and semantic relationship between methods in a class are analyzed, and strongly related methods are clustered and suggested to be in the same class. We assessed the proposed approach on fifteen real God Classes from two well-known open source systems and it is shown that the cohesion among the classes is increased after refactoring. A comparative result of our approach with a similar existing approach is presented and it is fou nd that our approach provides better results for almost all the experimented God Classes. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.144.202.167

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Akash, P.; Sadiq, A. and Kabir, A. (2019). An Approach of Extracting God Class Exploiting Both Structural and Semantic Similarity. In Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE; ISBN 978-989-758-375-9; ISSN 2184-4895, SciTePress, pages 427-433. DOI: 10.5220/0007743804270433

@conference{enase19,
author={Pritom Saha Akash. and Ali Zafar Sadiq. and Ahmedul Kabir.},
title={An Approach of Extracting God Class Exploiting Both Structural and Semantic Similarity},
booktitle={Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE},
year={2019},
pages={427-433},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007743804270433},
isbn={978-989-758-375-9},
issn={2184-4895},
}

TY - CONF

JO - Proceedings of the 14th International Conference on Evaluation of Novel Approaches to Software Engineering - ENASE
TI - An Approach of Extracting God Class Exploiting Both Structural and Semantic Similarity
SN - 978-989-758-375-9
IS - 2184-4895
AU - Akash, P.
AU - Sadiq, A.
AU - Kabir, A.
PY - 2019
SP - 427
EP - 433
DO - 10.5220/0007743804270433
PB - SciTePress