Title :
Streamlining Code Smells: Using Collective Intelligence and Visualization
Author :
Ramos Conceicao, Carlos Fabio ; de Figueiredo Carneiro, Glauco ; Brito E Abreu, Fernando
Author_Institution :
QUASAR, Lisbon Univ. Inst., Lisbon, Portugal
Abstract :
Code smells have long been catalogued with corresponding mitigating solutions called refactoring operations. However, despite the successful initiatives of integrating many of the latter in current IDEs (e.g., Eclipse), code smells detection has not gained the same status. Researchers have pointed out that the code smells detection process is inherently subjective and this fact is probably the main hindrance on providing automatic support. This research work focuses on the code smells detection process. To this end, it aims at proposing two contributions that, when used in a combined fashion, are expected to mitigate the aforementioned problem: crowdsmellling and smelly maps. We envisage that such features will be available in a future generation of interactive development environments (aka IDE 2.0) to help software developers to identify a set of code smells in Java source code. Crowdsmelling uses the concept of collective intelligence through which users around the world are encouraged to collaborate to a knowledge base that runs on a cloud server. This process will improve the assessment of the detection accuracy using a calibration process that occurs on the server after receiving data and suggestions from each user. Through the process of code smells detection based and referenced to a knowledge base (one for each code smell), we expect to some extent mitigate the subjectivity problem. Smelly maps builds upon the previous experience of setting up a software visualization infrastructure. It involves a strategy to represent detected code smells at different abstraction levels with the goal to increase software quality awareness. We expect to integrate both proposals with the aforementioned visualization infrastructure developed as an Eclipse plugin to facilitate refactoring decisions upon large software systems. We have laid out several evidence-based validation experiments, which will hopefully demonstrate that a step forward in the code smelling process will b- achieved.
Keywords :
Java; groupware; program visualisation; programming environments; software quality; source code (software); Eclipse plugin; IDE 2.0; Java source code; code smell detection process; collective intelligence; crowdsmellling; interactive development environments; refactoring operations; smelly maps; software quality awareness; software visualization infrastructure; Calibration; Context; Java; Servers; Software; Visualization; Code Smell Detection (Code Smell Detection Tools); Software Construction (Software Construction Tools); Software Maintenance (Reengineering); Software Quality (Software Quality Improvement);
Conference_Titel :
Quality of Information and Communications Technology (QUATIC), 2014 9th International Conference on the
Conference_Location :
Guimaraes
Print_ISBN :
978-1-4799-6132-0
DOI :
10.1109/QUATIC.2014.49