This repository contains source code of a toolchain developed for a Unisannio exam for the analysis of refactoring on code smells and influence on technical debt in Java software repositories. The objective of the study is to evaluate the impact of refactoring on code smells and calculate the technical debt by analyzing various open source systems written in Java. In particular, for each code smell removed, the technical debt relating to the smell before and after the refactoring is considered, in order to calculate the difference and establish whether the technical debt is improved, pejorative or stable.
- Java project repository to analyzer
- Gradle for dependences and build automation
- DesigniteJava community version for code smells detection
- SonarQube and SonarScanner to calculate technical debt
Clone the project:
git clone https://github.com/lorenzosax/refactoring-impact
Import project into IDE (e.g. Eclipse or Intellij) and download Gradle dependences.
There is a file for configurations into src/main/resources
where already exists a template called application-template.conf
.
A new configuration file can be created (by copying one of those already present)
and renaming it as application.conf
).