A Dataset of 8 Code Smells in C++ Projects with Software Metrics
Abstract
This dataset contains code smell detection data for 8 different code smell types (God Class, Feature Envy, Data Class, Dispersed Coupling, Intensive Coupling, Refused Parent Bequest, Shotgun Surgery, and Tradition Breaker) extracted from 10 C++ projects using CppDepend. Each dataset file includes class/method names, relevant software metrics (such as WMC, TCC, ATFD), and binary labels indicating whether each class/method is an instance of the corresponding code smell.
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 20 May 2026
- Document type
- Dataset