Skip to main content

Sentiment Analysis of Software Project Code Commits

  • Conference paper
  • First Online:
Next Generation of Internet of Things

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

Abstract

Sentiment analysis is used to analyze the impact of Git commit on various open-source Java projects. In order to understand the positive, negative, and neutral impact of sentiment on developer community, we have reviewed many research paper based on real-time projects. It is observed that emotion is having a wide impact on software product quality by considering different factors like software requirement, team management, and work distribution which contributes toward negative commit comments. Code commit analysis is either done on daily or weekly basis by considering 8 classifications of emotions. In order to do a detailed survey, different open-source projects like Eclipse, JEdit, ArgoUML, and JUnit are considered for commit analysis based on software refactoring activities. In order to give an exact statistical result on sentiment analysis, different machine learning and deep Learning classifiers can be used. Based on the survey, it is also concluded that code refactoring is highly influenced by positive or negative impact of developer’s emotions.

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

Similar content being viewed by others

References

  1. Paul R, Bosu A, Sultana KZ (Feb 2019) Expressions of sentiments during code reviews: male versus female. In: 2019 IEEE 26th international conference on software analysis, evolution and reengineering (SANER). IEEE, pp 26–37

    Google Scholar 

  2. Ronchieri E, Juric R, Canaparo M (2019) Sentiment analysis for software code assessment. In: 2019 IEEE nuclear science symposium and medical imaging conference (NSS/MIC). IEEE pp 1–2

    Google Scholar 

  3. Guzman E, Azócar D, Li Y (May 2014) Sentiment analysis of commit comments in GitHub: an empirical study. In: Proceedings of the 11th working conference on mining software repositories, pp 352–355

    Google Scholar 

  4. Venigalla ASM, Chimalakonda S (May 2021) Understanding emotions of developer community towards software documentation. In: 2021 IEEE/ACM 43rd international conference on software engineering: software engineering in society (ICSE-SEIS). IEEE, pp 87–91

    Google Scholar 

  5. Islam MR, Zibran MF (2018) Sentiment analysis of software bug related commit messages. Network 740:740

    Google Scholar 

  6. Jongeling R, Sarkar P, Datta S, Serebrenik A (2017) On negative results when using sentiment analysis tools for software engineering research. Empir Softw Eng 22(5):2543–2584

    Article  Google Scholar 

  7. Singh N, Singh P (Dec 2017) How do code refactoring activities impact software developers’ sentiments? An empirical investigation into GitHub commits. In: 2017 24th Asia-Pacific software engineering conference (APSEC). IEEE, pp 648–653

    Google Scholar 

  8. Ahmed T, Bosu A, Iqbal A, Rahimi S (Oct 2017) SentiCR: a customized sentiment analysis tool for code review interactions. In: 2017 32nd IEEE/ACM international conference on automated software engineering (ASE). IEEE, pp 106–111

    Google Scholar 

  9. Freira M, Caetano J, Oliveira J, Marques-Neto H, Analyzing the impact of feedback in GitHub on the software developer’s mood

    Google Scholar 

  10. Huang Z, Shao Z, Fan G, Gao J, Zhou Z, Yang K, Yang X (2021) Predicting community smells’ occurrence on individual developers by sentiments. arXiv preprint arXiv:2103.07090

  11. Huq SF, Sadiq AZ, Sakib K (Feb 2020) Is developer sentiment related to software bugs: an exploratory study on github commits. In: 2020 IEEE 27th international conference on software analysis, evolution and reengineering (SANER). IEEE, pp 527–531

    Google Scholar 

  12. Sinha V, Lazar A, Sharif B (May 2016) Analyzing developer sentiment in commit logs. In: Proceedings of the 13th international conference on mining software repositories, pp 520–523

    Google Scholar 

  13. Hajhmida MB, Oueslati O (2021) Predicting mobile application breakout using sentiment analysis of facebook posts. J Inf Sci 47(4):502–516

    Article  Google Scholar 

  14. Sagar PS, AlOmar EA, Mkaouer MW, Ouni A, Newman CD (2021) Comparing commit messages and source code metrics for the prediction refactoring activities. Algorithms 14(10):289

    Article  Google Scholar 

  15. AlOmar E, Mkaouer MW, Ouni A (May 2019) Can refactoring be self-affirmed? An exploratory study on how developers document their refactoring activities in commit messages. In 2019 IEEE/ACM 3rd international workshop on refactoring (IWoR). IEEE, pp 51–58

    Google Scholar 

  16. Alomar EA, Peruma A, Mkaouer MW, Newman CD, Ouni A (2021) Behind the scenes: on the relationship between developer experience and refactoring. J Softw: Evol Process e2395

    Google Scholar 

  17. Patnaik A, Panigrahi R, Padhy N (March 2020) Prediction of accuracy on open source java projects using class level refactoring. In: 2020 international conference on computer science, engineering and applications (ICCSEA). IEEE, pp 1–6

    Google Scholar 

  18. Patnaik A, Padhy N (2021) A hybrid approach to identify code smell using machine learning algorithms. Int J Open Sour Softw Processes (IJOSSP) 12(2):21–35

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Archana Patnaik .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Patnaik, A., Padhy, N. (2023). Sentiment Analysis of Software Project Code Commits. In: Kumar, R., Pattnaik, P.K., R. S. Tavares, J.M. (eds) Next Generation of Internet of Things. Lecture Notes in Networks and Systems, vol 445. Springer, Singapore. https://doi.org/10.1007/978-981-19-1412-6_7

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-1412-6_7

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-1411-9

  • Online ISBN: 978-981-19-1412-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics