Developing Prediction Models to Assist Software Developers and Support Managers

  • Meera SharmaEmail author
  • Abhishek Tondon
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10408)


A huge amount of historical information about the evolution of a software project is available in software repositories, namely bug repositories, source control repositories, archived communications, deployment logs, and code repositories. By mining the evolutionary history of a software, we have designed prediction models to assist software developers by predicting bug attributes like priority, severity, assignee and fix time. We have evaluated the uncertainty in the software in terms of entropy arises due to source code changes done in files of the software to fix different issues. To support software managers, we have designed prediction models to predict potential values of entropy and different issues, namely bugs, improvements in existing features (IMPs) and new features (NFs) over a long run. In this research work, we have developed mathematical models to assist software managers and developers in bug triaging, bug fixing and different software maintenance related tasks. Our work has been validated on issue and code change data of several open source projects, namely Eclipse, Open office, Mozilla and Apache.


  1. 1.
    Menzies, T., Marcus, A.: Automated severity assessment of software defect reports. In: International Conference on Software Maintenance, pp. 346–355. IEEE (2008)Google Scholar
  2. 2.
    Lamkanfi, A., Demeyer, S., Giger, E., Goethals, B.: Predicting the severity of a reported bug. In: Mining Software Repositories, pp. 1–10. MSR (2010)Google Scholar
  3. 3.
    Lamkanfi, A., Demeyer, Soetens, Q.D., Verdonck, T.: Comparing mining algorithms for predicting the severity of a reported bug. In: 15th European Conference on Software Maintenance and Reengineering, pp. 249–258. IEEE (2011)Google Scholar
  4. 4.
    Chaturvedi, K.K., Singh, V.B.: An empirical comparison of machine learning techniques in predicting the bug severity of open and close source projects. Int. J. Open Source Softw. Process. 4(2), 32–59 (2013)CrossRefGoogle Scholar
  5. 5.
    Yang, G., Zhang, T., Lee, B.: Towards semi-automatic bug triage and severity prediction based on topic model and multi-feature of bug reports. In: Computer Software and Applications Conference (COMPSAC), pp. 97–106. IEEE (2014)Google Scholar
  6. 6.
    Zhang, T., Yang, G., Lee, B., Chan, A.T.: Predicting severity of bug report by mining bug repository with concept profile. In: 30th Annual ACM Symposium on Applied Computing, pp. 1553–1558, April 2015Google Scholar
  7. 7.
    Tian, Y., Ali, N., Lo, D., Hassan, A.E.: On the unreliability of bug severity data. Empirical Softw. Eng. 21(6), 2298–2323 (2015)CrossRefGoogle Scholar
  8. 8.
    Zhang, T., Chen, J., Yang, G., Lee, B., Luo, X.: Towards more accurate severity prediction and fixer recommendation of software bugs. J. Syst. Softw. 117, 166–184 (2016)CrossRefGoogle Scholar
  9. 9.
    Kanwal, J., Maqbool, O.: Managing open bug repositories through bug report prioritization using SVMs. In: Proceedings of the International Conference on Open-Source Systems and Technologies, Lahore, Pakistan (2010)Google Scholar
  10. 10.
    Kanwal, J., Maqbool, O.: Bug prioritization to facilitate bug report triage. J. Comput. Sci. Technol. 27(2), 397–412 (2012)CrossRefGoogle Scholar
  11. 11.
    Shannon, C.E.: A mathematical theory of communication. Bell Syst. Tech. J. 27(379–423), 623–656 (1948)MathSciNetCrossRefzbMATHGoogle Scholar
  12. 12.
    Hassan, A.E.: Predicting faults based on complexity of code change. In: International Conference on Software Engineering, pp. 78–88 (2009)Google Scholar
  13. 13.
    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. Manage. 5, 155–164 (2014)CrossRefGoogle Scholar
  14. 14.
    Bass, F.: A new product growth model for consumer durables. Manage. Sci. 15, 215–227 (1969)CrossRefzbMATHGoogle Scholar
  15. 15.
    Varian, H.R.: Intermediate Microeconomics — A Modern Approach. W.W. Norton & Company, New York (1991)Google Scholar
  16. 16.
    Bittanti, S., Bolzern, P., Pedrotti, E., Pozzi, M., Scattolini, R.: A flexible modelling approach for software reliability growth. In: Bittanti, S. (ed.) Software Reliability Modelling and Identification. LNCS, vol. 341, pp. 101–140. Springer, Heidelberg (1988). doi: 10.1007/BFb0034288 CrossRefGoogle Scholar
  17. 17.
    Zimmermann, T., Nagappan, N., Gall, H., Giger, E., Murphy, B.: Cross-project defect prediction: a large scale experiment on data vs. domain vs. process. In: Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (ESEC/FSE), pp. 91–100 (2009)Google Scholar
  18. 18.
    Turhan, B., Menzies, T., Bener, A.: On the relative value of cross-company and within-company data for defect prediction. Empirical Softw. Eng. 14(5), 540–578 (2009)CrossRefGoogle Scholar
  19. 19.
    Ma, Y., Luo, G., Zeng, X., Chen, A.: Transfer learning for cross-company software defect prediction. Inf. Softw. Technol. 54(3), 248–256 (2011). Science Direct, ElsevierCrossRefGoogle Scholar
  20. 20.
    He, Z., Fengdi, S., Ye, Y., Mingshu, L., Qing, W.: An investigation on the feasibility of cross-project defect prediction. Autom. Softw. Eng. 19, 167–199 (2012). SpringerCrossRefGoogle Scholar
  21. 21.
    Peters, F., Menzies, T., Marcus, A.: Better cross company defect prediction. In: 10th IEEE Working Conference on Mining Software Repositories (MSR), pp. 409–418. IEEE (2013)Google Scholar
  22. 22.
    Yu, L., Tsai, W., Zhao, W., Wu, F.: Predicting defect priority based on neural networks. In: 6th International Proceedings on Advanced Data Mining and Applications, pp. 356–367, Wuhan, China (2010)Google Scholar
  23. 23.
    Basili, V.R.: Qualitative software complexity models: a summary. In: Tutorial on Models and Methods for Software Management and Engineering. IEEE Computer Society Press, Los Alamitos, California (1980)Google Scholar
  24. 24.
    Jacobson, I., Christerson, M., Jonsson, P., Overgaard, G.: Object Oriented Software Engineering: A Use Case Driven Approach. ACM Press, Addison Wesley, pp. 69–70 (1992)Google Scholar
  25. 25.
    Inoue, S., Yamada, S.: Two-dimensional software reliability measurement technologies. In: IEEE IEEM, pp. 223–227 (2009)Google Scholar
  26. 26.
    Kapur, P.K., Pham, H., Gurjeet, A.G.: Two dimensional multi-release software reliability modeling and optimal release planning. IEEE Trans. Reliab. 61(3), 758–768 (2012)CrossRefGoogle Scholar
  27. 27.
    Singh, V.B., Misra, S., Sharma, M.: Bug severity in cross project context and identifying training candidates. J. Inf. Knowl. Manage. 16(1), 30 (2017). World Scientific PublishingGoogle Scholar
  28. 28.
    Sharma, M., Kumari, M., Singh, V.B.: The way ahead for bug-fix time prediction. In: 3rd International Workshop on Quantitative Approaches to Software Quality (QuASoQ), co-located with 22nd Asia-Pacific Software Engineering Conference (APSEC 2015), New Delhi, India, pp. 31–38, 1–4 December 2015Google Scholar
  29. 29.
    Sharma, M., Bedi, P., Singh, V.B.: An empirical evaluation of cross project priority prediction. Int. J. Syst. Assur. Eng. Manage. 5(4), 651–663 (2014). SpringerCrossRefGoogle Scholar
  30. 30.
    Sharma, M., Singh, V.B.: Clustering-based association rule mining for bug assignee prediction. Int. J. Bus. Intell. Data Min. 11(2), 130–150 (2016)CrossRefGoogle Scholar
  31. 31.
    Sharma, M., Kumari, M., Singh, V.B.: Bug assignee prediction using association rule mining. In: Gervasi, O., Murgante, B., Misra, S., Gavrilova, M.L., Rocha, A.M.A.C., Torre, C., Taniar, D., Apduhan, B.O. (eds.) ICCSA 2015. LNCS, vol. 9158, pp. 444–457. Springer, Cham (2015). doi: 10.1007/978-3-319-21410-8_35 CrossRefGoogle Scholar
  32. 32.
    Singh, V.B., Sharma, M.: Prediction of the complexity of code changes based on number of open bugs, new feature and feature improvement. In: 25th IEEE International Symposium on Software Reliability Engineering (ISSRE), WOSD, Neples, Italy, pp. 478–483 (2014)Google Scholar
  33. 33.
    Sharma, M., Bedi, P., Chaturvedi, K.K., Singh, V.B.: Predicting the priority of a reported bug using machine learning techniques and cross project validation. In: International Conference on Intelligent Systems Design and Applications (ISDA), pp. 539–545. IEEE (2012)Google Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  1. 1.Department of Computer ScienceUniversity of DelhiDelhiIndia
  2. 2.SSCBSUniversity of DelhiDelhiIndia

Personalised recommendations