Skip to main content

An Assessment of Some Entropy Measures in Predicting Bugs of Open-Source Software

  • Conference paper
  • First Online:
Software Engineering

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 731))

  • 2334 Accesses

Abstract

In software, source code changes are expected to occur. In order to meet the enormous requirements of the users, source codes are frequently modified. The maintenance task is highly complicated if the changes due to bug repair, enhancement, and addition of new features are not reported carefully. In this paper, concurrent versions system (CVS) repository (http://bugzilla.mozilla.org) is taken into consideration for recording bugs. These observed bugs are collected from some subcomponents of Mozilla open-source software. As entropy is helpful in studying the code change process, and various entropies, namely Shannon, Renyi, and Tsallis entropies, have been evaluated using these observed bugs. By applying simple linear regression (SLR) technique, the bugs which are yet to come in future are predicted based on current year entropy measures and the observed bugs. Performance has been measured using various R2 statistics. In addition to this, ANOVA and Tukey test have been applied to statistically validate various entropy measures.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Shannon, C.E.: A mathematical theory of communication. Bell Syst. Tech. J. 27(3), 379–423 (1948). 623–656

    Article  MathSciNet  Google Scholar 

  2. Renyi, A.: On measures of entropy and information. In: Proceedings 4th Berkeley Symposium on Mathematical Statistics and Probability, vol. 1, pp. 547–561 (1961)

    Google Scholar 

  3. Tsallis, C., Mendes, R, Plastino, A. The role constraints within generalised non extensive statistics. Physica 261A, pp. 534–554 (1998)

    Google Scholar 

  4. Goel, A.L., Okumoto, K.: Time dependent error detection rate model for software reliability and other performance measures. IEEE Trans. Reliab. 28(3), 206–211 (1979)

    Article  Google Scholar 

  5. Huang, C.Y., Kuo, S.Y., Chen, J.Y.: Analysis of a software reliability growth model with logistic testing effort function. In: Proceedings of Eighth International Symposium on Software Reliability Engineering, pp. 378–388 (1997)

    Google Scholar 

  6. Kapur, P.K., Garg, R.B.: A software reliability growth model for an error removal phenomenon. Softw. Eng. J. 7, 291–294 (1992)

    Article  Google Scholar 

  7. Kapur, P.K., Pham, H., Chanda, U., Kumar, V.: Optimal allocation of testing effort during testing and debugging phases: a control theoretic approach. Int. J. Syst. Sci. 44(9), 1639–1650 (2013)

    Article  MathSciNet  Google Scholar 

  8. Kapur, P.K., Chanda, Udayan, Kumar, Vijay: Dynamic allocation of testing effort when testing and debugging are done concurrently communication in dependability and quality management. Int. J. Serbia 13(3), 14–28 (2010)

    Google Scholar 

  9. Hassan, A.E.: Predicting faults based on complexity of code change. In: The proceedings of 31st International Conference On Software Engineering, pp. 78–88 (2009)

    Google Scholar 

  10. Ambros, M.D., Robbes, R.: An extensive comparison of bug prediction approaches. In: MSR’10: Proceedings of the 7th International Working Conference on Mining Software Repositories, pp. 31–41 (2010)

    Google Scholar 

  11. Singh, V.B., Chaturvedi, K.K.: Bug tracking and reliability assessment system (BTRAS). Int. J. Softw. Eng. Appl. 5(4), 1–14 (2011)

    Google Scholar 

  12. Khatri, S., Chillar, R.S., Singh, V.B.: Improving the testability of object oriented software during testing and debugging process. Int. J. Comput. Appl. 35(11), 24–35 (2011)

    Google Scholar 

  13. Singh, V.B., Chaturvedi, K.K.: Improving the quality of software by quantifying the code change metric and predicting the bugs. In: Murgante, B., et al. (eds.) ICCSA 2013, Part II, LNCS 7972, pp. 408–426. Springer, Berlin (2013)

    Google Scholar 

  14. Chaturvedi, K.K., Kapur, P.K., Anand, S., Singh, V.B.: Predicting the complexity of code changes using entropy based measures. Int. J. Syst. Assur. Eng. Manag. 5(2), 155–164 (2014)

    Article  Google Scholar 

  15. Singh, V.B., Chaturvedi, K.K., Khatri, S.K., Kumar, V.: Bug prediction modelling using complexity of code changes. Int. J. Syst. Assur. Eng. Manag. 6(1), 44–60 (2014)

    Article  Google Scholar 

  16. Sharma, M., Kumari, M., Singh, R.K., Singh, V.B.: Multiattribute based machine learning models for severity prediction in cross project context. In: Murgante, B., et al. (eds.) ICCSA 2014, Part V, LNCS 8583, pp. 227–241 (2014)

    Google Scholar 

  17. http://bugzilla.mozilla.org

  18. Weisberg, S.: Applied linear regression. Wiley, New York (1980)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ramita Sahni .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kumar, V., Arora, H.D., Sahni, R. (2019). An Assessment of Some Entropy Measures in Predicting Bugs of Open-Source Software. In: Hoda, M., Chauhan, N., Quadri, S., Srivastava, P. (eds) Software Engineering. Advances in Intelligent Systems and Computing, vol 731. Springer, Singapore. https://doi.org/10.1007/978-981-10-8848-3_58

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-8848-3_58

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-8847-6

  • Online ISBN: 978-981-10-8848-3

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics