go-v.orgdoi

God Class Detection Using Thresholds of Software Code Metrics Derived from Metaheuristic Optimization

Kapil Sharma, Jitender Kumar Chhabra · Sakarya University Journal of Computer and Information Sciences · 2026

  • DOI 10.35377/saucis...1797149
  • Publisher OpenAlex
  • Type article
  • Issued 2026

Not cached yet. This record was fetched live for this request and is stored after the lookup. Reopening the page should serve the cached copy.

Sakarya University Journal of Computer and Information Sciences · OpenAlex · article · 2026

Abstract

The detection of God Class code smells is necessary for maintaining the quality, maintainability, and evolution of the software. Traditional code smell detection methods often rely on static and developer intuition-based thresholds of the software metrics, which may not be applicable to projects of different sizes and domains. This study proposes a new methodology for God Class detection by calculating thresholds of software metrics (Chidamber and Kemerer (CK) metrics suite), WMC, RFC, CBO, LCOM, and LOC for more accurate detection of God Class smells.

The optimal thresholds for these metrics were derived using four metaheuristic algorithms: Genetic Algorithm (GA), Particle Swarm Optimization (PSO), Differential Evolution (DE) and Artificial Bee Colony (ABC), with the objective of maximizing the harmonic mean of sensitivity and specificity. Experimental findings compare the proposed approach with existing methods of threshold derivation, using evaluation parameters including accuracy, AUC, and the harmonic mean of sensitivity and specificity. Universal thresholds were also derived using weighted clustering for the software, where project-specific tuning is not possible.

These results highlight the importance of metaheuristic optimization for improved detection of God Class code smells.

Open the resolved locator · 10.35377/saucis...1797149

Metadata licence: OpenAlex metadata (CC0)

Registry
OpenAlex DOI index + API
Fetched
2026-11-20 06:05 UTC
Cache state
not cached yet (bulk-index+openalex)
Locator
https://dergipark.org.tr/en/pub/saucis/article/1797149
Metadata licence
OpenAlex metadata (CC0)
Scope
Metadata as returned by the resolver; abstracts are never generated here.