There is a newer version of the record available.

Published December 7, 2021 | Version v2
Dataset Open

What Makes a Good Commit Message?

  • 1. tianyc10@foxmail.com
  • 2. yuxiazh@bit.edu.cn
  • 3. kjstol@gmail.com
  • 4. jianglin17@bit.edu.cn
  • 5. liuhui08@bit.edu.cn

Description

What-Makes-a-Good-Commit-Message?

This repository contains the main data and scripts used in "What Makes a Good Commit Message"

Dataset:

The folder dataset contains the following files.

  • literature survery.xlsx

    • It contains the data of 46 relevant literature reviewed in this study (Section 3.2).
  • Questionnaire.pdf

    • It is the questionnaire sent to experienced contributors.
    • It contains three questions.
    • It also contains an example of the initialized questionnaire.
  • Frequency.pdf
    • It describes the number and proportion of occurrences of a category/subcategory.
  • posts list.xlsx

    • It contains all posts we studied in Sec. 3.2.
  • sampled messages.csv

    • It contains meta-information of 1649 labeled commit messages.
    • label = 0 means a commit message contains "Why and What".
    • label = 1 means a commit message contains "Neither Why nor What".
    • label = 2 means a commit message contains "No What".
    • label = 3 means a commit message contains "No Why".
    • if_mulit_commit = 1 means a commit is non-atomic.
    • new_message1 means a message after preprocessing.
  • maintenance type and expression way.xlsx

    • It contains the results of our RQ2: the expression ways of Why and What, as well as links to maintenance types.

CommitMessage (Scripts):

The folder contains the following scripts files.

  • Preprocessor

    • It contains the preprocessing of commit messages, including the replacement of token in the message, etc.
  • ModelTraining

    • It contains the code for our model training, that is, the implementation of different classification techniques.

Files

What-Makes-a-Good-Commit-Message.zip

Files (711.8 kB)

Name Size Download all
md5:87627146c16e7ae3ae0d0630c0a08e18
711.8 kB Preview Download