loading
Documents

Research.Publish.Connect.

Paper

Authors: Pritom Akash ; Ali Sadiq and Ahmedul Kabir

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

ISBN: 978-989-758-375-9

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

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 foun d that our approach provides better results for almost all the experimented God Classes. (More)

PDF ImageFull Text

Download
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 18.232.99.123

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 - Volume 1: ENASE, ISBN 978-989-758-375-9, pages 427-433. DOI: 10.5220/0007743804270433

@conference{enase19,
author={Akash, P. 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 - Volume 1: ENASE,},
year={2019},
pages={427-433},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007743804270433},
isbn={978-989-758-375-9},
}

TY - CONF

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

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.