Understanding Evolutionary Coupling by Fine-grained Co-change Relationship Analysis

被引:13
|
作者
Zhou, Daihong [1 ,2 ,3 ]
Wu, Yijian [1 ,2 ]
Xiao, Lu [4 ]
Cai, Yuanfang [5 ]
Peng, Xin [1 ,2 ,3 ]
Fan, Jinrong [1 ]
Huang, Lu [1 ]
Chen, Heng [1 ]
机构
[1] Fudan Univ, Sch Comp Sci, Shanghai, Peoples R China
[2] Fudan Univ, Shanghai Key Lab Data Sci, Shanghai, Peoples R China
[3] Shanghai Inst Intelligent Elect & Syst, Shanghai, Peoples R China
[4] Stevens Inst Technol, Sch Syst & Enterprises, Hoboken, NJ 07030 USA
[5] Drexel Univ, Dept Comp Sci, Philadelphia, PA 19104 USA
基金
上海市科技启明星计划;
关键词
Co-change Analysis; Evolutionary Coupling; Co-change Relationship; Change Types; Empirical Study;
D O I
10.1109/ICPC.2019.00046
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Frequent co-changes to multiple files, i.e., evolutionary coupling, can demonstrate active relations among files, explicit or implicit. Although evolutionary coupling has been used to analyze software quality, there is no systematic study on the categorization of frequent co-changes between files which may used for characterizing various quality problems. In this paper, we report an empirical study on 27,087 co-change commits of 6 open-source systems with the purpose of understanding the observed evolutionary coupling. We extracted fine-grained change information from version control system to investigate whether two files exhibit particular kinds of co-change relationships. We consider code changes on 5 types of program entities (i.e., field, method, control statement, non-control statement, and class) and identified 6 types of dominating co-change relationships. Our manual analysis showed that each of the 6 types can be explained by structural coupling, semantic coupling, or implicit dependencies. Temporal analysis further shows that files may exhibit different co-change relationships at different phases in the evolution history. Finally, we investigated co-changes among multiple files by combining co-change relationships between related file pairs and showed with live examples that rich information embedded in the fine-grained co-change relationships may help developers to change code at multiple locations. Moreover, we analyzed how these co-change relationship types can be used to facilitate change impact analysis and to pinpoint design problems.
引用
收藏
页码:271 / 282
页数:12
相关论文
共 50 条
  • [21] Student understanding of DC circuits: fine-grained issues
    John, Ignatius
    Allie, Saalih
    PROCEEDINGS OF SAIP2014: THE 59TH ANNUAL CONFERENCE OF THE SOUTH AFRICAN INSTITUTE OF PHYSICS, 2014, : 430 - 435
  • [22] VOLUNTARY IMAGINATION: A FINE-GRAINED ANALYSIS
    Canavotto, Ilaria
    Berto, Francesco
    Giordani, Alessandro
    REVIEW OF SYMBOLIC LOGIC, 2022, 15 (02): : 362 - 387
  • [23] Phase-based fine-grained change detection
    Wang, Xuzhi
    Wan, Liang
    Lin, Di
    Feng, Wei
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 227
  • [24] Thirty years of climate change research: A fine-grained analysis of geographical specialization
    Debernardi, Carlo
    Seeber, Marco
    Cattaneo, Mattia
    ENVIRONMENTAL SCIENCE & POLICY, 2024, 152
  • [25] Fine-Grained Change Impact Analysis for Component-Based Product Families
    Yazdanshenas, Amir Reza
    Moonen, Leon
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 119 - 128
  • [26] Enhancing History-Based Concern Mining With Fine-Grained Change Analysis
    Hashimoto, Masatomo
    Mori, Akira
    2012 16TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2012, : 75 - 84
  • [27] Visual Analysis System for Fine-Grained Inline Relationship of Air Quality Data
    Tian D.
    Li G.
    Cheng S.
    Kong L.
    Tang X.
    Zhao Q.
    Gao Y.
    Shan G.
    Chi X.
    Shan, Guihua (sgh@cnic.cn), 1600, Institute of Computing Technology (33): : 1326 - 1336
  • [28] Mining Fine-Grained Code Change Patterns Using Multiple Feature Analysis
    Liu, Di
    Feng, Yang
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2025, 35 (01) : 111 - 138
  • [29] Fine-grained WC-VC-Co hardmetal
    Luyckx, S
    Osborne, C
    Cornish, LA
    Whitefield, D
    ADVANCES IN HARD MATERIALS PRODUCTION, 1996, : 211 - 217
  • [30] Novel Dataset for Fine-grained Abnormal Behavior Understanding in Crowd
    Rabiee, Hamidreza
    Haddadnia, Javad
    Mousavi, Hossein
    Kalantarzadeh, Maziyar
    Nabi, Moin
    Murino, Vittorio
    2016 13TH IEEE INTERNATIONAL CONFERENCE ON ADVANCED VIDEO AND SIGNAL BASED SURVEILLANCE (AVSS), 2016, : 95 - 101