Published May 16, 2022 | Version v1
Dataset Open

Code Smells Dataset (oracles)

  • 1. ISCTE-IUL
  • 2. Universidade Salvador

Description

This repository contains the datasets, obtained in 3 years, resulting from the Crowdsmelling methodology.
Each file contains the dataset (oracle) of the year or set of years, for the code smells Long Method, God Class, and Feature Envy. The file Exercise-Code smells detection (ESII 2020).pdf describes the exercise used in the validation of code smells, and the file code-classification-statistics.csv shows statistics about the percentages of teams that classified the methods and classes.

More information about the datasets can be found in the article:

Reis, José Pereira dos , Abreu, Fernando Brito e . & Carneiro, Glauco de Figueiredo.   Crowdsmelling: A preliminary study on using collective knowledge in code smells detection. Empir Software Eng 27, 69 (2022). https://doi.org/10.1007/s10664-021-10110-5

DATASET STRUCTURE
  - project name
  - package name
  - class name
  - method name
  - code metrics [1]
  - code smell classification

 

REFERENCES

[1] Metrics description can be found in the study: "Fontana, F. A., Mantyla, M. V., Zanoni, M., and Marino, A. (2015), Comparing and experimenting machine learning techniques for code smell detection, Empirical Software Engineering"

 

Files

code-classification-statistics.csv

Files (2.9 MB)

Name Size Download all
md5:bfc929b73c4654ac5cccfd98bb5b5f20
22.4 kB Preview Download
md5:e85a58f748b411e8d8c9909e45f4931c
360.4 kB Preview Download
md5:cb376ae4c6fb8759b4921d8da07882c4
5.1 kB Preview Download
md5:7d8d8f31f1bb9ae74af840c341ef5c4e
77.2 kB Preview Download
md5:cb1f8dac29f628638e4f04417066ba24
73.6 kB Preview Download
md5:4e9e177cb7e8efad9fd8f3536e8910b8
121.4 kB Preview Download
md5:12f385d32b699759181682f998350e93
117.7 kB Preview Download
md5:e8a9cd3775a7d36f8953869ede795cc5
45.6 kB Preview Download
md5:162272231276f0438a53ba557b8835a3
7.0 kB Preview Download
md5:f29ce8ce973a9f8aedcbc2fb9325f46f
38.3 kB Preview Download
md5:4300320e6ef59e1b9841156ff14ece7b
32.5 kB Preview Download
md5:f0793077a35de047b737195ad4ae8634
71.4 kB Preview Download
md5:2519625e8524a833c0d157452bf6dcaf
65.7 kB Preview Download
md5:7f310eab3c13fab20ba0177481a5bf6e
34.4 kB Preview Download
md5:eef25f14fe57f4e814a5440f9b27c7a4
26.3 kB Preview Download
md5:7ed891a82df59e8e231f7c52da0c1670
194.4 kB Preview Download
md5:bba0db956c6ccccad674163662d4f573
169.6 kB Preview Download
md5:8f145fc242bb3dd1704204205556d93a
562.6 kB Preview Download
md5:02029fab94460cec5342c1d02541fd17
537.8 kB Preview Download
md5:73579cd8958c0345fc8b8d40c71bbe6e
369.7 kB Preview Download