A Technique to Detect Change-Coupled Files Using the Similarity of Change Types and Commit Time


KIPS Transactions on Software and Data Engineering, Vol. 3, No. 2, pp. 65-72, Feb. 2014
10.3745/KTSDE.2014.3.2.65,   PDF Download:

Abstract

Change coupling is a measure to show how strongly change-related two entities are. When two source files have been frequently changed together, they are regarded as change-coupled files and they will probably be changed together in the near future. In the previous studies, the change coupling between two files is defined with the number of common changed time, that is, common commit time of the files. However, the frequency-based technique has limitations because of ‘tangled changes’, which frequently happens in the development environments with version control systems. The tangled change means that several code hunks have been changed at the same time, though they have no relation with each other. In this paper, the change types of the code hunks are also used to define change coupling, in addition to the common commit time of target files. First, the frequency vector based on change types are defined with the extracted change types, and then, the similarity of change patterns are calculated using the cosine similarity measure. We conducted experiments on open source project Eclipse JDT and CDT for case studies. The result shows that the applicability of the proposed method, compared to the previous studies.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
J. I. Kim and E. J. Lee, "A Technique to Detect Change-Coupled Files Using the Similarity of Change Types and Commit Time," KIPS Transactions on Software and Data Engineering, vol. 3, no. 2, pp. 65-72, 2014. DOI: 10.3745/KTSDE.2014.3.2.65.

[ACM Style]
Jung Il Kim and Eun Joo Lee. 2014. A Technique to Detect Change-Coupled Files Using the Similarity of Change Types and Commit Time. KIPS Transactions on Software and Data Engineering, 3, 2, (2014), 65-72. DOI: 10.3745/KTSDE.2014.3.2.65.