Skip to content

This repository contains the code to replicate the results and tables for paper "Keyword-Labeled Self-Admitted Technical Debt and Static Code Analysis have Significant Relationship but Limited Overlap".

Notifications You must be signed in to change notification settings

M3SOulu/SonarQubeSATD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This repository contains the code to replicate the results and tables for paper "Keyword-Labeled Self-Admitted Technical Debt and Static Code Analysis have Significant Relationship but Limited Overlap". It does not contain the necessary data, which needs to be downloaded separately.

The project is written completely in R, and requires following packages: dplyr, data.table, reshape2, stringr, Hmisc, and lme4.

How to use

Downloading the necessary data files

To use this code, you need to download the data needed for it. The link to the data is hosted in Figshare (DOI: https://doi.org/10.6084/m9.figshare.16922824), and it is packed in zip-format.

After downloading the data, unzip it to the main folder of the project, where it will create folder "data" containing folders "comments" and "tdd_10".

The "comments" folder includes the paired data either on file or commit level including the data from SonarQube's Issues. The folder "tdd_10" includes the data from Sonar measures including Sqale Index, and the two Remediation Efforts.

In addition to the data files, the repository contains the annotated sample consisting of 385 randomly selected KL-SATD comments.

Running the code

Running the code in R should be self-explanatory. Just start the main_script.R and follow the instructions. Extra comments hae been added to some sections to notify which part of the paper that specific pieve of code refers to.

Citing

If you are using this script or data, please cite the following paper:

Leevi Rantala, Mika V. Mäntylä, Valentina Lenarduzzi. Keyword-Labeled Self-Admitted Technical Debt and Static Code Analysis have Significant Relationship but Limited Overlap.

About

This repository contains the code to replicate the results and tables for paper "Keyword-Labeled Self-Admitted Technical Debt and Static Code Analysis have Significant Relationship but Limited Overlap".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages