Published January 6, 2024 | Version v1
Dataset Open

Extending Refactoring Detection to Kotlin: A Dataset and Comparative Study

  • 1. ROR icon University of Twente
  • 2. ROR icon Vali Asr University of Rafsanjan

Description

This page serves as supplementary material for the article Extending Refactoring Detection to Kotlin: A Dataset and Comparative Study. In detail, we offer a downloadable dataset in JSON format, comprising 2,043 instances of refactoring instances covering 21 distinct refactoring types. These refactorings are applied within 200 commits across 10 Kotlin repositories and are manually validated by the authors of the paper. 

Results.json: The results as a single JSON file.

  • Overview of JSON Template: Each entry in this file provides details about commits, including their SHA-1 hash, GitHub URL, and an exhaustive list of refactorings identified in that specific commit. Refactorings are defined by their type (e.g., 'RenameClass') and are accompanied by detailed descriptions of the refactoring. Additionally, the entry specifies the tools that detected the refactoring, such as 'RefDetect' and 'KotlinRMiner.' The validation field indicates whether the refactoring was confirmed, using 'TP' for true positive and 'FP' for false positive. Optional comments and validator information may be also included.

AllCommits.zip: The Results for each repository in a single JSON file.

Times.xlsx: The Excel file containing the time taken by each tool (RefDetect and KotlinMiner) to identify refactoring in each commit.

Results.xlsx: The Excel file contains precision, recall, and F-score metrics for all identified refactoring types.

Files

AllCommits.zip

Files (1.0 MB)

Name Size Download all
md5:40c2c9407f21f9cbd0212a57a2b73def
69.7 kB Preview Download
md5:5ca831df82f80e8ac500b840e28203c2
896.4 kB Preview Download
md5:b98523da036cf4f44e31ccb8edc7f6a9
12.7 kB Download
md5:30c3f4cde9591f16274ff40b66360ae9
23.4 kB Download