Revealing the Social Aspects of Design Decay: A Retrospective Study of Pull Requests

  • Caio Barbosa PUC-Rio
  • Anderson Uchôa PUC-Rio
  • Daniel Coutinho PUC-Rio
  • Filipe Falcão UFAL
  • Hyago Brito UFAL
  • Guilherme Amaral UFAL
  • Vinicius Soares PUC-Rio
  • Alessandro Garcia PUC-Rio
  • Baldoino Fonseca UFAL
  • Marcio Ribeiro UFAL
  • Leonardo Sousa Carnegie Mellon University

Resumo


The pull-based development model is widely used in source-code environments like GitHub. In this model, developers actively communicate and share their knowledge or opinions through the exchange of comments. Their goal is to improve the change under development, including its positive impact on design structure. In this context, two central social aspects may contribute to combating or adversely amplifying design decay. First, design decay may be avoided, reduced or accelerated depending whether the communication dynamics among developers - who play specific roles - is fluent and consistent along a change. Second, the discussion content itself may be decisive to either improve or deteriorate the structural design of a system. Unfortunately, there is no study on the the role that key social aspects play on avoiding or amplifying design decay. Previous work either investigates technical aspects of design decay or confirms the high frequency of design discussions in pull-based software development. This paper reports a retrospective study aimed at understanding the role of communication dynamics and discussion content on design decay. We focused our analysis on 11 social metrics related to these two aspects as well as 4 control technical metrics typically used as indicators of design decay. We analyzed more than 11k pull request discussions mined from five large open-source software systems. Our findings reveal that many social metrics can be used to discriminate between design impactful and unimpactful pull requests. Second, various factors of communication dynamics are related to design decay. However, temporal factors of communication dynamics outperformed the participant roles' factors as indicators of design decay. Finally, we noticed certain social metrics tend to be indicators of design decay when analyzing both aspects together.
Palavras-chave: social metrics, social aspects, pull request, design decay
Publicado
21/10/2020
BARBOSA, Caio et al. Revealing the Social Aspects of Design Decay: A Retrospective Study of Pull Requests. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 34. , 2020, Natal. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2020 .