Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1109/CHASE.2019.00022acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Investigating the social representations of code smell identification: a preliminary study

Published: 27 May 2019 Publication History

Abstract

Context: The identification of code smells is one of the most subjective tasks in software engineering. A key reason is the influence of collective aspects of communities working on this task, such as their beliefs regarding the relevance of certain smells. However, collective aspects are often neglected in the context of smell identification. For this purpose, we can use the social representations theory. Social representations comprise the set of values, behaviors and practices of communities associated with a social object, such as the task of identifying smells. Aim: To characterize the social representations behind smell identification. Method: We conducted a preliminary study on the social representations of smell identification by two communities. One community is composed of postgraduate students involved in various investigations related to code smells. The other community is composed of practitioners from industry, with experience in code reviews. We analyzed the associations made by the study participants about smell identification, i.e., what immediately comes to their minds when they think about this task. Results: One of the key findings is that only the community of practitioners strongly associates this task with semantic smells. This finding suggests research directions on code smells may be revisited, as they focus mostly on measurable or structural smells. Considering the novelty of using the social representations theory in software engineering, we also compiled a set of lessons learned. For instance, we observed some key challenges we faced in using the theory. These challenges include: (i) the predominance of associations with technical rather than non-technical concepts, and (ii) the fuzzy definitions of key concepts in our field. Conclusion: We found initial evidence that social representations analysis is a useful instrument to reveal discrepancies and commonalities on how different communities deal with a subjective task. Thus, we expect the experience reported in this paper may encourage and contribute to future studies of social representations in the field.

References

[1]
P. Lenberg, R. Feldt, and L. G. Wallgren, "Behavioral software engineering: A definition and systematic literature review," J. Syst. Softw. (JSS), vol. 107, pp. 15--37, 2015.
[2]
M. Hozano, A. Garcia, B. Fonseca, and E. Costa, "Are you smelling it? investigating how similar developers detect code smells," Inform. Softw. Tech. (IST), vol. 93, pp. 130--146, 2018.
[3]
G. Bavota, A. De Lucia, M. Di Penta, R. Oliveto, and F. Palomba, "An experimental investigation on the innate relationship between quality and refactoring," J. Syst. Softw. (JSS), vol. 107, pp. 1--14, 2015.
[4]
F. Palomba, G. Bavota, M. Di Penta, R. Oliveto, and A. De Lucia, "Do they really smell bad?" in 30th ICSME, 2014, pp. 101--110.
[5]
R. M. de Mello, R. F. Oliveira, and A. F. Garcia, "On the influence of human factors for identifying code smells: A multi-trial empirical study," in 11th ESEM, 2017, pp. 68--77.
[6]
R. Oliveira, L. Sousa, R. de Mello, N. Valentim, A. Lopes, T. Conte, A. Garcia, E. Oliveira, and C. Lucena, "Collaborative identification of code smells: A multi-case study," in 39th ICSE, SEIP Track, 2017, pp. 33--42.
[7]
A. Yamashita and L. Moonen, "Do developers care about code smells?" in 20th WCRE, 2013, pp. 242--251.
[8]
H. Joffe and N. Bettega, "Social representation of aids among zambian adolescents," J. Health Psychol. (JHP), vol. 8, no. 5, pp. 616--631, 2003.
[9]
C. Howarth, "A social representation is not a quiet thing: Exploring the critical potential of social representations theory," Br. J. Soc. Psychol. (BJSP), vol. 45, no. 1, pp. 65--86, 2006.
[10]
S. Moscovici, "Notes towards a description of social representations," Eur. J. Soc. Psychol. (EJSP), vol. 18, no. 3, pp. 211--250, 1988.
[11]
E. Fernandes, J. Oliveira, G. Vale, T. Paiva, and E. Figueiredo, "A review-based comparative study of bad smell detection tools," in 20th EASE, 2016, pp. 1--18.
[12]
C. Wohlin, P. Runeson, M. Höst, M. C. Ohlsson, B. Regnell, and A. Wesslén, Experimentation in software engineering. Springer Science & Business Media, 2012.
[13]
M. Torchiano, D. M. Fernández, G. H. Travassos, and R. M. de Mello, "Lessons learnt in conducting survey research," in 5th CESI, 2017, pp. 33--39.
[14]
P. Runeson and M. Höst, "Guidelines for conducting and reporting case study research in software engineering," Emp. Softw. Eng. (ESE), vol. 14, no. 2, p. 131, 2009.
[15]
P. S. M. dos Santos and G. H. Travassos, "Action research use in software engineering: An initial survey," in 3rd ESEM, 2009, pp. 414--417.
[16]
G. E. Moreira and A. L. Manrique, "Challenges in inclusive mathematics education: Representations by professionals who teach mathematics to students with disabilities," Creative Education, vol. 5, no. 7, pp. 470--483, 2014.
[17]
H. Räty, K. Komulainen, and L. Hirva, "Social representations of educability in finland: 20 years of continuity and change," Social Psychology of Education, vol. 15, no. 3, pp. 395--409, 2012.
[18]
L. Dany, I. Urdapilleta, and G. L. Monaco, "Free associations and social representations: some reflections on rank-frequency and importance-frequency methods," Quality & Quantity, vol. 49, no. 2, pp. 489--507, 2015.
[19]
R. de Mello, R. Oliveira, L. Sousa, and A. Garcia, "Towards effective teams for the identification of code smells," in 10th CHASE, 2017, pp. 62--65.
[20]
M. Lanza and R. Marinescu, Object-oriented metrics in practice. Springer Science & Business Media, 2006.
[21]
M. Fowler, Refactoring. Addison-Wesley Professional, 1999.
[22]
N. Moha, Y.-G. Gueheneuc, L. Duchien, and A.-F. Le Meur, "Decor: A method for the specification and detection of code and design smells," IEEE Trans. Softw. Eng. (TSE), vol. 36, no. 1, pp. 20--36, 2010.
[23]
S. Zaman, B. Adams, and A. E. Hassan, "Security versus performance bugs: a case study on firefox," in 8th MSR, 2011, pp. 93--102.
[24]
M. Ohira, Y. Kashiwa, Y. Yamatani, H. Yoshiyuki, Y. Maeda, N. Limsettho, K. Fujino, H. Hata, A. Ihara, and K. Matsumoto, "A dataset of high impact bugs: Manually-classified issue reports," in 12th MSR, 2015, pp. 518--521.
[25]
A. Nistor, T. Jiang, and L. Tan, "Discovering, reporting, and fixing performance bugs," in 10th MSR, 2013, pp. 237--246.
[26]
R. M. de Mello, P. C. da Silva, and G. H. Travassos, "Sampling improvement in software engineering surveys," in 8th ESEM, 2014, p. 13.
[27]
M. V. Mäntylä, J. Vanhanen, and C. Lassenius, "Bad smells-humans as code critics," in 20th ICSM, 2004, pp. 399--408.

Cited By

View all
  • (2019)Investigating the Social Representations of the Identification of Code Smells by Practitioners and Students from BrazilProceedings of the XXXIII Brazilian Symposium on Software Engineering10.1145/3350768.3351794(457-466)Online publication date: 23-Sep-2019

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
CHASE '19: Proceedings of the 12th International Workshop on Cooperative and Human Aspects of Software Engineering
May 2019
159 pages

Sponsors

Publisher

IEEE Press

Publication History

Published: 27 May 2019

Check for updates

Author Tags

  1. code smells
  2. qualitative research
  3. social representation

Qualifiers

  • Research-article

Conference

ICSE '19
Sponsor:

Acceptance Rates

Overall Acceptance Rate 47 of 70 submissions, 67%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Investigating the Social Representations of the Identification of Code Smells by Practitioners and Students from BrazilProceedings of the XXXIII Brazilian Symposium on Software Engineering10.1145/3350768.3351794(457-466)Online publication date: 23-Sep-2019

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media