Skip to main content

Software Cost Estimation for Python Projects Using Genetic Algorithm

  • Conference paper
  • First Online:
Book cover Communication and Intelligent Systems (ICCIS 2019)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 120))

Included in the following conference series:

  • The original version of this chapter was revised: The incorrect affiliation of authors “Dr. Neha Chaudhary” and “Amrita Sharma” has now been replaced with the correct one. The correction to this chapter is available at https://doi.org/10.1007/978-981-15-3325-9_40

Abstract

Software cost estimation is a process of planning, risk analysis, and decision making for project management in software development. Cost of project development encompasses a software project’s effort and development time. One popular model of software cost estimation is constructive cost model (COCOMO) model, which is a mathematical model proposed by Boehm, used for estimate the software effort and development time. The objective of this paper is to improve the basic COCOMO model’s coefficients for modern programming languages like Python, R, C++, etc. Many techniques were presented in the past for effort and time estimation using machine learning. But all these techniques were trained and tested for older programming languages. In order to improve the accuracy of COCOMO for modern programming languages, six Python projects have been considered and genetic algorithm (GA) is applied in these projects to define new values for basic COCOMO coefficients and the development time is calculated for Python projects. The time estimated using GA coefficients is compared with the original COCOMO and actual time. Using mean magnitude relative error, the error from the original COCOMO time is 54.49% and error from GA time is 21.23%.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Change history

  • 19 August 2020

    In the original version of the book, the following belated correction has been incorporated: The affiliation of Dr. Neha Chaudhary and Amrita Sharma has been changed from “Department of Computer Science and Engineering, Manipal University, Jaipur, India” to “Department of Computer Science and Engineering, Manipal University Jaipur, Jaipur, India”. The erratum chapter and the book have been updated with the change.

References

  1. Saeed, A., Butt, W.H., Kazmi, F., Arif, M.: Survey of software development effort estimation techniques. In: Proceedings of the 2018 7th International Conference on Software and Computer Applications, pp. 82–86. ACM (2018)

    Google Scholar 

  2. Pal, G., Kumar, M., Barala, K.: A review paper on COCOMO model. J. Comput. Sci. Eng. 4, 83–87 (2015)

    Google Scholar 

  3. Idri, A., Amazal, F.A., Abran, A.: Analogy-based software development effort estimation: a systematic mapping and review. Inf. Softw. Technol. 58, 206–230 (2015)

    Article  Google Scholar 

  4. Pospieszny, P., Czarnacka-Chrobot, B., Kobylinski, A.: An effective approach for software project effort and duration estimation with machine learning algorithms. J. Syst. Softw. 137, 184–196 (2018)

    Article  Google Scholar 

  5. Azzeh, M., Nassif, A.B.: A hybrid model for estimating software project effort from use case points. Appl. Soft Comput. J. 49, 981–989 (2016)

    Google Scholar 

  6. Nassif, A.B., Ho, D., Capretz, L.F.: Towards an early software estimation using log-linear regression and a multilayer perceptron model. J. Syst. Softw. 86(1), 144–160 (2013)

    Article  Google Scholar 

  7. Kaur, J., Sindhu, R.: Parameter estimation of COCOMO II using Tabu search. Int. J. Comput. Sci. Inf. Technol. 5(3), 4463–4465 (2014)

    Google Scholar 

  8. Gupta, N., Sharma, K.: Optimizing intermediate COCOMO model using BAT algorithm. In: 2nd International Conference on Computing for Sustainable Global Development, pp. 1649–1653 (2003)

    Google Scholar 

  9. Boehm, B.W.: Software engineering economics. IEEE Trans. Softw. Eng. 10(1), 4–21 (1984)

    Google Scholar 

  10. Dhiman, A., Diwaker, C.: Optimization of COCOMO II effort estimation using genetic algorithm. Am. Int. J. Res. Sci. Technol. Eng. Math. 13(278), 208–212 (2013)

    Google Scholar 

  11. Manalif, E.: Fuzzy expert-COCOMO risk assessment and effort contingency model in software project management. Electronic thesis and dissertation repository, 1159, The University of Western Ontario, Apr 2013

    Google Scholar 

  12. Galinina, A., Burceva, O., Parshutin, S.: The optimization of COCOMO model coefficients using genetic algorithms. Inf. Technol. Manag. Sci. 15(1), 45–51 (2013)

    Google Scholar 

  13. Sheta, A.F.: Estimation of the COCOMO model parameters using genetic algorithms for NASA software projects. J. Comput. Sci. 2(2), 118–123 (2006)

    Article  Google Scholar 

  14. Huang, X., Ho, D., Ren, J., Capretz, L.F.: Improving the COCOMO model using a neuro-fuzzy approach. Appl. Soft Comput. J. 7(1), 29–40 (2007)

    Google Scholar 

  15. Shirabad, J.S., Menzies, T.J.: The PROMISE Repository of Software Engineering Databases. School of Information Technology and Engineering, University of Ottawa, Canada. Retrieved from http://promise.site.uottawa.ca/SERepository (2005)

  16. Do, C.: Python allows us to produce maintainable features in record times, with a minimum of developers. Retrieved from https://www.python.org/success-stories/

  17. Martin, C.L., Pasquier, J.L., Yanez, C.M., Tornes, A.G.: Software development effort estimation using fuzzy logic: a case study. In: Sixth Mexican International Conference on Computer Science (ENC’05), pp. 113–120. IEEE (2005)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Amrita Sharma .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sharma, A., Chaudhary, N. (2020). Software Cost Estimation for Python Projects Using Genetic Algorithm. In: Bansal, J., Gupta, M., Sharma, H., Agarwal, B. (eds) Communication and Intelligent Systems. ICCIS 2019. Lecture Notes in Networks and Systems, vol 120. Springer, Singapore. https://doi.org/10.1007/978-981-15-3325-9_11

Download citation

Publish with us

Policies and ethics