Investigating Developers’ Sentiments Associated with Software Cloning Practices
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.
KeywordsDevelopers’ 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.
- 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
- 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.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
- 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.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.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.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.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