Cargando…

Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies

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 t...

Descripción completa

Detalles Bibliográficos
Autores principales: Gupta, Aakanshi, Suri, Bharti, Kumar, Vijay, Misra, Sanjay, Blažauskas, Tomas, Damaševičius, Robertas
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2018
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7512890/
https://www.ncbi.nlm.nih.gov/pubmed/33265462
http://dx.doi.org/10.3390/e20050372
_version_ 1783586261629403136
author Gupta, Aakanshi
Suri, Bharti
Kumar, Vijay
Misra, Sanjay
Blažauskas, Tomas
Damaševičius, Robertas
author_facet Gupta, Aakanshi
Suri, Bharti
Kumar, Vijay
Misra, Sanjay
Blažauskas, Tomas
Damaševičius, Robertas
author_sort Gupta, Aakanshi
collection PubMed
description 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. Bad smells are collected using a detection tool from sub components of the Apache Abdera project, and different measures of entropy (Shannon, Rényi and Tsallis entropy). By applying non-linear regression techniques, the bad smells that can arise in the future versions of software are predicted based on the observed bad smells and entropy measures. The proposed model has been validated using goodness of fit parameters (prediction error, bias, variation, and Root Mean Squared Prediction Error (RMSPE)). The values of model performance statistics ([Formula: see text] , adjusted [Formula: see text] , Mean Square Error (MSE) and standard error) also justify the proposed model. We have compared the results of the prediction model with the observed results on real data. The results of the model might be helpful for software development industries and future researchers.
format Online
Article
Text
id pubmed-7512890
institution National Center for Biotechnology Information
language English
publishDate 2018
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-75128902020-11-09 Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies Gupta, Aakanshi Suri, Bharti Kumar, Vijay Misra, Sanjay Blažauskas, Tomas Damaševičius, Robertas Entropy (Basel) Article 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. Bad smells are collected using a detection tool from sub components of the Apache Abdera project, and different measures of entropy (Shannon, Rényi and Tsallis entropy). By applying non-linear regression techniques, the bad smells that can arise in the future versions of software are predicted based on the observed bad smells and entropy measures. The proposed model has been validated using goodness of fit parameters (prediction error, bias, variation, and Root Mean Squared Prediction Error (RMSPE)). The values of model performance statistics ([Formula: see text] , adjusted [Formula: see text] , Mean Square Error (MSE) and standard error) also justify the proposed model. We have compared the results of the prediction model with the observed results on real data. The results of the model might be helpful for software development industries and future researchers. MDPI 2018-05-17 /pmc/articles/PMC7512890/ /pubmed/33265462 http://dx.doi.org/10.3390/e20050372 Text en © 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Gupta, Aakanshi
Suri, Bharti
Kumar, Vijay
Misra, Sanjay
Blažauskas, Tomas
Damaševičius, Robertas
Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies
title Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies
title_full Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies
title_fullStr Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies
title_full_unstemmed Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies
title_short Software Code Smell Prediction Model Using Shannon, Rényi and Tsallis Entropies
title_sort software code smell prediction model using shannon, rényi and tsallis entropies
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7512890/
https://www.ncbi.nlm.nih.gov/pubmed/33265462
http://dx.doi.org/10.3390/e20050372
work_keys_str_mv AT guptaaakanshi softwarecodesmellpredictionmodelusingshannonrenyiandtsallisentropies
AT suribharti softwarecodesmellpredictionmodelusingshannonrenyiandtsallisentropies
AT kumarvijay softwarecodesmellpredictionmodelusingshannonrenyiandtsallisentropies
AT misrasanjay softwarecodesmellpredictionmodelusingshannonrenyiandtsallisentropies
AT blazauskastomas softwarecodesmellpredictionmodelusingshannonrenyiandtsallisentropies
AT damaseviciusrobertas softwarecodesmellpredictionmodelusingshannonrenyiandtsallisentropies