Abstract
Software bug analysis and prediction is an important issues for making software successful in this competitive environment. This paper deals with a time-dependent measure of the amount of uncertainty of bug fluctuations in software systems. The time-dependent entropy method (TDEM) uses the sliding window concept where in each window entropy is computed. Shannon and Tsallis entropies are employed on the Bugzilla dataset from open-source Eclipse projects. The bug dataset is divided into several categories which include Automotive, Eclipse Project, IOT Modelling, etc. To characterize local uncertainties in bug fluctuations we make use of time-scaled decisions like budget allocations to debug and provide a better understanding to design an efficient bug-handling system. The graphs are plotted by employing time-dependent entropy on the selected datasets to get insights into the uncertainty of bug fluctuations. It is observed from the results that the entropy distribution of bugs is right skewed which better represents the extremes of the dataset rather than focusing solely on the average.
Similar content being viewed by others
References
Agarwal A, Dev A, Jain K (2020) Prolonging sensor network lifetime by using energy-efficient cluster-based scheduling. Int J Sci Technol Res 9(4):3410–3415
Bezerianos A, Tong S, Thakor N (2003) Time-dependent entropy estimation of EEG rhythm changes following brain ischemia. Ann Biomed Eng 31(2):221–232
Capurro A, Diambra L, Lorenzo D, Macadar O, Martin M, Mostaccio C, Plastino A, Rofman E, Torres M, Velluti J (1998) Tsallis entropy and cortical dynamics: the analysis of EEG signals. Physica A Stat Mech Appl 257(1–4):149–155
Dai Y-S, Xie M, Long Q, Ng S-H (2007) Uncertainty analysis in software reliability modeling by Bayesian analysis with maximum-entropy principle. IEEE Trans Softw Eng 33(11):781–795
Efendioglu M, Sen A, Koroglu Y (2018) Bug prediction of systemc models using machine learning. IEEE Trans Comput Aided Design Integr Circ Syst 38(3):419–429
Ferenc R, Tóth Z, Ladányi G, Siket I, Gyimóthy T (2020) A public unified bug dataset for java and its assessment regarding metrics and bug prediction. Softw Qual J 1–60
Gell-Mann M, Tsallis C, (2004) Nonextensive entropy: interdisciplinary applications. Oxford University Press on Demand
Gheisari M, Panwar D, Tomar P, Harsh H, Zhang X, Solanki A, Nayyar A, Alzubi JA (2019) An optimization model for software quality prediction with case study analysis using matlab. IEEE Access 7:85123–85138
Hammouri A, Hammad M, Alnabhan M, Alsarayrah F (2018) Software bug prediction using machine learning approach. Int J Adv Comput Sci Appl 9(2):78–83
Hassan AE (2009) Predicting faults using the complexity of code changes. In: IEEE 31st international conference on software engineering. IEEE 2009, pp 78–88
Ishizaki R, Inoue M (2013) Time-series analysis of foreign exchange rates using time-dependent pattern entropy. Physica A Stat Mech Appl 392(16):3344–3350
Ishizaki R, Inoue M (2018) Time-series analysis of multiple foreign exchange rates using time-dependent pattern entropy. Physica A Stat Mech Appl 490:967–974
Jain K, Mehra PS, Dwivedi AK, Agarwal A (2022) Scada: scalable cluster-based data aggregation technique for improving network lifetime of wireless sensor networks. J Supercomput 78(11):13624–13652
Jayanthi R, Florence L (2019) Software defect prediction techniques using metrics based on neural network classifier. Cluster Comput 22(1):77–88
Levenson NG (1995) System safety and computers. Addison Wesley Boston
Lyu MR (2007) Software reliability engineering: a roadmap. In: Future of software engineering (FOSE’07), IEEE, pp 153–170
Mukherjee T, Singh AK, Senapati D (2019) Performance evaluation of wireless communication systems over weibull/q-lognormal shadowed fading using tsallis’ entropy framework. Wirel Personal Commun 106(2):789–803
Natella R, Winter S, Cotroneo D, Suri N (2018) Analyzing the effects of bugs on software interfaces. IEEE Trans Softw Eng 46(3):280–301
Newman M (2002) Software errors cost us economy \$ 59.5 billion annually, NIST Assesses Technical Needs of Industry to Improve Software-Testing
Pandey SK, Mishra RB, Tripathi AK (2020) Bpdet: an effective software bug prediction model using deep representation and ensemble learning techniques. Exp Syst Appl 144:113085
Raghuvanshi KK, Agarwal A, Jain K, Singh AK (2022) A comprehensive fault prediction model for improving software reliability. Int J Softw Innov 10(38)
Raghuvanshi KK, Agarwal A, Jain K, Singh V (2021) A generalized prediction model for improving software reliability using time-series modelling. Int J Syst Assur Eng Manag 1–12
Raghuvanshi KK, Agarwal A, Jain K, Singh V (2021) A time-variant fault detection software reliability model. SN Appl Sci 3(1):1–10
Senapati D et al (2016) Generation of cubic power-law for high frequency intra-day returns: maximum tsallis entropy framework. Dig Signal Process 48:276–284
Shannon CE, Weaver W (1949) The mathematical theory of information
Shriram C, Muthukumaran K, Bhanu Murthy N (2018) Empirical study on the distribution of bugs in software systems. Int J Softw Eng Knowl Eng 28(01):97–122
Singh AK et al (2014) Power law behavior of queue size: maximum entropy principle with shifted geometric mean constraint. IEEE Commun Lett 18(8):1335–1338
Singh AK, Singh HP et al (2014) Analysis of finite buffer queue: maximum entropy probability distribution with shifted fractional geometric and arithmetic means. IEEE Commun Lett 19(2):163–166
Singh V, Sharma M, Pham H (2017) Entropy based software reliability analysis of multi-version open source software. IEEE Trans Softw Eng 44(12):1207–1223
Singh V, Chaturvedi K (2012) Entropy based bug prediction using support vector regression. In: 2012 12th international conference on intelligent systems design and applications (ISDA). IEEE, pp 746–751
Stosic D, Stosic D, Ludermir T, de Oliveira W, Stosic T (2016) Foreign exchange rate entropy evolution during financial crises. Physica A Stat Mech Appl 449:233–239
Timperley CS, Stepney S, Goues CL (2018) Bugzoo: a platform for studying software bugs. In: Proceedings of the 40th international conference on software engineering: companion proceeedings, pp 446–447
Tong S, Bezerianos A, Paul J, Zhu Y, Thakor N (2002) Nonextensive entropy measure of EEG following brain injury from cardiac arrest. Physica A Stat Mech Appl 305(3–4):619–628
Wong WE, Li X, Laplante PA (2017) Be more familiar with our enemies and pave the way forward: a review of the roles bugs played in software failures. J Syst Softw 133:68–94
Zhang C, Su T, Yan Y, Zhang F, Pu G, Su Z (2019) Finding and understanding bugs in software model checkers. In: Proceedings of the 2019 27th ACM joint meeting on European software engineering conference and symposium on the foundations of software engineering, pp 763–773
Funding
This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Human and animal rights
This article does not contain any studies with human participants or animals performed by any of the authors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Raghuvanshi, K.K., Agarwal, A., Singh, A.K. et al. Time-dependent entropic analysis of software bugs. Int J Syst Assur Eng Manag 14, 1718–1725 (2023). https://doi.org/10.1007/s13198-023-01976-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13198-023-01976-3