A Data Analysis Study of Code Smells within Java Repositories

Noah Lambaria, Tomas Cerny · Annals of Computer Science and Information Systems · 2022

Although code smells are not categorized as a bug, the results can be long-lasting and decrease both maintainability and scalability of software projects.This paper presents findings from both former and current industry individuals, aiming to gauge their familiarity with such violations.Based on the feedback from these individuals, a collection of smells were extracted from a sample size of 100 Java repositories in order to validate some of the smells that are typically encountered.After analyzing these repositories, the smells typically encountered are Long Statement, Magic Number, and Unutilized Abstraction.The results of this study are applicable for developers and researchers who require insight on the frequencies of code smells within a typical repository.

Read the paper · More papers on PaperTik