Loading…

The automation of the detection of large class bad smell by using genetic algorithm and deep learning

In Software Engineering (SE), metrics are used for detecting software design problems (bad smells) like the large-class bad smell, where a lot of different metrics were defined to find out the existence of this problem in the design of a class. Examples of these metrics are size metrics, cohesion me...

Full description

Saved in:
Bibliographic Details
Published in:Journal of King Saud University. Computer and information sciences 2022-06, Vol.34 (6), p.2621-2636
Main Authors: Imam, Ayad Tareq, Al-Srour, Basma R., Alhroob, Aysh
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:In Software Engineering (SE), metrics are used for detecting software design problems (bad smells) like the large-class bad smell, where a lot of different metrics were defined to find out the existence of this problem in the design of a class. Examples of these metrics are size metrics, cohesion metrics, and coupling metrics. Selecting the right metrics to detect the large-class bad smell is a common problem, and it is usually accomplished manually. The questions remain: Can a module with the best combination of two metrics, for detecting the problem of large-class bad smell, be formed automatically rather than manually? And how is this double valued threshold determined to be used to infer the existence of this problem? This paper proposes the Hybrid Approach to detect Large Class Bad Smell (HA-LCBS). This approach utilizes the Genetic Algorithm (GA) to automate the composing of a detecting module that consists of a cohesion metric type and a coupling metric type and passes its resulting paired value to a deep learning approach to automate the detection of the large class bad smell. The accuracy that has been gained from using this approach reached 94.21%.
ISSN:1319-1578
2213-1248
DOI:10.1016/j.jksuci.2022.03.028