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 be achieved.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.