Code smells are a popular mechanism to .find structural design problems in software systems. Consequently, several tools have emerged to support the detection of code smells. However, the number of code smells usually returned by tools exceeds the amount of problems that the developer can deal with particularly when the effort often available for performing refactorings is limited. Moreover, not all the code smells are equally relevant for the system.
In this context, SpIRIT (a.k.a. Smart Identification of Refactoring opportunITies) is a semi-automated refactoring approach that helps developers to focus on the refactorization of the most critical code smells of the system. The approach aims at ranking the code smells instances based on different criteria (e.g. rate of modification of a component, use of key scenarios, etc.) and then proposing suitable refactorings to fi.x the code smells.
The scope of SpIRIT intends to support different programing languages. For this reason, SpIRIT is built using Moose, which is a platform for software analysis that is independent of any programming language. Moose supports languages such as Smalltalk, Java or C++.
In order to use the last version of SpIRIT you should download the Moose Suite and then you should execute the following code:
Gofer new
url: 'http://ss3.gemstone.com/ss/SPIRIT';
package: 'ConfigurationOfSpirit';
load.
(Smalltalk at: #ConfigurationOfSpirit)
perform: #loadDevelopment
Alternatively, you can download Spirit here, and then execute:
SpIRIT is under constant development and the current website is regularly updated.