Investigating the Social Representations of Harmful Code
-
Published:2024-04-10
Issue:1
Volume:12
Page:
-
ISSN:2195-1721
-
Container-title:Journal of Software Engineering Research and Development
-
language:
-
Short-container-title:JSERD
Author:
Lima RodrigoORCID, Souza JairoORCID, Fonseca BaldoinoORCID, Teixeira LeopoldoORCID, Mello RafaelORCID, Ribeiro MárcioORCID, Gheyi RohitORCID, Garcia AlessandroORCID
Abstract
Context. Harmful Code denotes code snippets that harm the software quality. Several characteristics can cause this, from characteristics of the source code to external issues. By example, one might associate Harmful Code with the introduction of bugs, architecture degradation, and code that is hard to comprehend. However, there is still a lack of knowledge on which code issues are considered harmful from the perspective of the software developers community. Goal. In this work, we investigate the social representations of Harmful Code among a community of software developers composed of Brazilian postgraduate students and professionals from the industry. Method. We conducted free association tasks with members from this community for characterizing what comes to their minds when they think about Harmful Code. Then, we compiled a set of associations that compose the social representations of Harmful Code. Results. We found that the investigated community strongly associates Harmful Code with a core set of undesirable characteristics of the source code, such as bugs and different types of smells. Based on these findings, we discuss each one of them to try to understand why those characteristics happen. Conclusion. Our study reveals the main characteristics of Harmful Code by a community of developers. Those characteristics can guide researchers on future works to better understand Harmful Code.
Publisher
Sociedade Brasileira de Computacao - SB
Reference32 articles.
1. Abbes, M., Khomh, F., Guéhéneuc, Y. G., and Antoniol, G. (2011). An empirical study of the impact of two antipatterns, Blob and Spaghetti Code, on program comprehension. CSMR, pages 181–190. 2. Aggarwal, K. K., Singh, Y., and Chhabra, J. K. (2002). An integrated measure of software maintainability. Proceedings of the Annual Reliability and Maintainability Symposium, pages 235–241. 3. Dany, L., Urdapilleta, I., and Lo Monaco, G. (2015). Free associations and social representations: some reflections on rank-frequency and importance-frequency methods. Quality and Quantity, 49(2):489–507. 4. de Mello, R., da Costa, J., de Oliveira, B., Ribeiro, M., Fonseca, B., Gheyi, R., Garcia, A., and Tiengo, W. (2021). Decoding confusing code: Social representations among developers. In 2021 2021 IEEE/ACM 13th CHASE, pages 11–20, Los Alamitos, CA, USA. IEEE Computer Society. 5. De Mello, R., Oizumi, W., Uchôa, A., Souza, J., Oliveira, R., Fonseca, B., Oliveira, D., and Garcia, A. (2019). Investigating the social representations of the identification of code smells by practitioners and students from Brazil. ACM International Conference Proceeding Series, pages 457–466.
|
|