Article Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies Aakanshi Gupta 1 ID , Bharti Suri 2, Vijay Kumar 3 ID , Sanjay Misra 4,5 ID , Tomas Blažauskas 6 and Robertas Damaševiˇcius 6,* ID 1 Department of Computer Science and Engineering, Amity School of Engineering and Technology, New Delhi 110061, India;
[email protected] 2 University School of Information, Communication and Technology, Guru Gobind Singh Indraprastha University, New Delhi 110078, India;
[email protected] 3 Department of Mathematics, Amity School of Engineering and Technology, New Delhi 110061, India;
[email protected] 4 Center of Information and Communication Technology/Engineering (ICT/ICE) Research, New Building of Covenant University Center for Research Innovation and Development (CUCRID), Covenant University, Ota 112231, Nigeria;
[email protected] 5 Department of Computer Engineering, Atilim University, Incek 06836, Turkey 6 Department of Software Engineering, Kaunas University of Technology, Kaunas 44249, Lithuania;
[email protected] * Correspondence:
[email protected]; Tel.: +370-609-43772 Received: 27 January 2018; Accepted: 1 May 2018; Published: 17 May 2018 Abstract: The current era demands high quality software in a limited time period to achieve new goals and heights. To meet user requirements, the source codes undergo frequent modifications which can generate the bad smells in software that deteriorate the quality and reliability of software. Source code of the open source software is easily accessible by any developer, thus frequently modifiable. In this paper, we have proposed a mathematical model to predict the bad smells using the concept of entropy as defined by the Information Theory. Open-source software Apache Abdera is taken into consideration for calculating the bad smells.