Published October 17, 2022 | Version v2

Appendix of Empirical Study of Co-Renamed Identifiers

  • 1. Tokyo Institute of Technology, Japan

Description

This data contains four CSVs: Rename.csv, Rename_Ignore_Inflection.csv, Relation.csv, Relation_Ignore_Inflection.csv.

 

Rename.csv and Rename_Ignore_Inflection.csv contain renamings used in our study.

The difference between these CSVs is whether we ignored inflections. 

Each row represents a renaming.

Columns descriptions are below.

  • repository: repository name
  • commit: commit hash
  • filepath: location of the renamed identifier
  • oldname: identifier name before the renaming
  • newname: identifier name after the renaming
  • type: identifier type (Class, Method, Attribute, Parameter, Variable)
  • operational_chunk: operational chunks of the renaming
  • meaningful_rename_set_id: meaningful rename set IDs (independent for each repository)

 

Relation.csv and Relation_Ignore_Inflection.csv contain relationships detected in our study.

The difference between these CSVs is whether we ignored inflections. 

Each row represents a relationship between renamed identifier 1 and renamed identifier 2.

Columns descriptions are below.

  • repository: repository name
  • meaningful_rename_set_id: meaningful rename set IDs (independent for each repository)
  • commit: commit hash
  • relation: type of relationship
  • file{1,2}: location of the identifier
  • oldname{1,2}: identifier name before the renaming
  • newname{1,2}: identifier name after the renaming
  • type{1,2}: identifier type (Class, Method, Attribute, Parameter, Variable)

Files

apsec2022_empirical_study_of_corenamed_identifiers_dataset.zip

Files (109.9 MB)