This research paper explores the usage and characteristics of GitHub templates in open-source projects. We examined a dataset of 538 repositories with both Issue and Pull Request templates using the GitHub API. We discovered some valuable insights for effective communication among the community. On average, repositories had ≈ 2.68 and 1 issue and pull request templates respectively. Contents of Templates contained labels such as welcoming contributors, project guidelines, and additional data. We also investigated variations and differences in templates across different languages. Javascript and Go repositories exhibited distinct trends, whereas Assembly language despite fewer repositories, had the highest average number of issue templates. This research analysis gives us an understanding of templates for better effective communication. Future directions include evaluating the impact of templates, template customization, and understanding the coherence between template usage and community engagement.
We have created a dataset using GitHub API, please refer data-creation.ipynb
which resulting dataset comprised 538 repositories, a total of 6574 individual issue files and 2601 pull request templates.
- Clone the repository.
- Install the dependencies using
pip install -r requirements.txt
- Add
.env
file withGITHUB_TOKEN
variable. - For data collection, run
data-creation.ipynb
notebook. - For Research Questions, run
RQ-{number}.ipynb
notebook.