Investigating Developers’ Sentiments Associated with Software Cloning Practices

  • Sarveshwar BhartiEmail author
  • Hardeep Singh
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 955)


Researchers through empirical observations have established that efficiency of software development tasks and their output relies upon software developer’s associated persuasions. Thus, empathizing software developer’s sentiments has now become one of the goals of an effective Software Engineering. This paper presents the developers’ sentiments associated with software cloning practices. SentiStrength, a frequently used Sentiment Analysis tool in software engineering is used to explore the sentiment polarity of the developers during programming tasks. 39 responses collected via online industrial survey were analyzed with SentiStrength tool. Sentiment Analysis performed on the developer responses mainly indicate the neutral polarity i.e. developers under study don’t think clones and cloning practices as good or bad practice, instead 71.79% expressed neutral sentiments. The collected opinions indicate neither the acceptance nor rejection of harmfulness or benefits of clones, rather depicted the neutral opinion of software developers towards clones.


Developers’ behavior Sentiment analysis Software cloning 



We present our sincere gratitude to UGC, Government of India for Senior Research Fellowship to the first author and also would like to thank Department of Computer Science, Guru Nanak Dev University, Amritsar for the infrastructural and scholastic support towards the ongoing research.


  1. 1.
    Roy, C.K., Cordy, J.R., Koschke, R.: Comparison and evaluation of code clone detection techniques and tools: a quantitative approach. Sci. Comput. Programm. 74(7), 470–495 (2009)CrossRefGoogle Scholar
  2. 2.
    Roy, C.K., Cordy, J.R.: A survey on software clone detection research. Technical report 2007-541, Queen’s University, Kingston (2007)Google Scholar
  3. 3.
    Rattan, D., Bhatia, R., Singh, M.: Software clone detection: a systematic review. Inf. Softw. Technol. 55(7), 1165–1199 (2013)CrossRefGoogle Scholar
  4. 4.
    Zhang, G., Peng, X., Xing, Z., Zhao, W.: Cloning practices: why developers clone and what can be changed. In: 28th IEEE International Conference on Software Maintenance (ICSM), Trento, Italy, pp. 285–294 (2012)Google Scholar
  5. 5.
    Kim, M., Bergman, L., Lau, T., Notkin, D.: An ethnographic study of copy and paste programming practices in OOPL. In: Proceedings of the 2004 International Symposium on Empirical Software Engineering (ISESE 2004), Redondo Beach, CA, USA (2004)Google Scholar
  6. 6.
    Lesiuk, T.: The effect of music listening on work performance. Psychol. Music 33(2), 173–191 (2005)CrossRefGoogle Scholar
  7. 7.
    Khan, I.A., Brinkman, W.-P., Hierons, R.M.: Do moods affect programmers’ debug performance? Cogn. Technol. Work. 13(4), 245–258 (2011)Google Scholar
  8. 8.
    Murgia, A., Tourani, P., Adams, B., Ortu, M.: Do developers feel emotions? An exploratory analysis of emotions in software artifacts. In: Proceedings of the 11th Working Conference on Mining Software Repositories, Hyderabad, India, pp. 262–271 (2014)Google Scholar
  9. 9.
    Guzman, E., Azócar, D., Li, Y.: Sentiment analysis of commit comments in GitHub: an empirical study. In: Proceedings of the 11th Working Conference on Mining Software Repositories, Hyderabad, India, pp. 352–355 (2014)Google Scholar
  10. 10.
    Sinha, V., Lazar, A., Sharif, B.: Analyzing developer sentiment in commit logs. In: Proceedings of the 13th International Conference on Mining Software Repositories, Austin, Texas, pp. 520–523 (2016)Google Scholar
  11. 11.
    Singh, N., Singh, P.: How do code refactoring activities impact software developers’ sentiments? - An empirical investigation into GitHub commits. In: 24th Asia-Pacific Software Engineering Conference (APSEC), Nanjing, China, pp. 648–653 (2017)Google Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2019

Authors and Affiliations

  1. 1.Department of Computer ScienceGuru Nanak Dev UniversityAmritsarIndia

Personalised recommendations