Work

A characterization study of contributors and their testing contributions in open source projects

Year: 2023
Type: dissertation
Abstract: Even though open-source software projects exhibit some distinct characteristics from industry projects, the dedication of maintainers and contributors to achieving a high level of software quality remains constant. To this end, testing is among the primary practices in these communities. During the development activity, most repositories emphasize the need to submit, along with the developed code, tests that ensure the quality and accuracy of the coded item. We observed that the contribution of tests during development is not as common. In this work, we aim to characterize test contributors in open-source software projects and determine the percentage of pull requests containing bug fixes that also include automated tests. For this purpose, we conducted a quantitative study - characterizing projects, contributors, and their contributions - and a qualitative study with selected contributors identified from the characterization. We found that only 7.87% of bug fix PRs contain some form of test scenario improvement. Furthermore, we identified five test contributor profiles: Contributor in Motion, Scenario Updater, Library Specialist, Comment Analyst and the strategic Evolution Contributor. To reach these conclusions, we developed the PRAnalyzer tool, which allows for the analysis of code in PRs, extracting critical information such as the quantity of asserts, imports, blank lines, and contributed code. Additionally, as a valuable resource for the academic community, we provide a comprehensive dataset containing information on over 400,000 PRs and their characteristics.
Language: Portuguese
Open Access status: green
OpenAlex ID: W7120394061
Cites: 72
Cited by:
Related to: 10