FCA-CIA: An approach of using FCA to support cross-level change impact analysis for object oriented Java']Java programs

被引:16
|
作者
Li, Bixin [1 ,3 ]
Sun, Xiaobing [1 ,2 ]
Keung, Jacky [4 ]
机构
[1] Southeast Univ, Sch Comp Sci & Engn, Nanjing, Jiangsu, Peoples R China
[2] Yangzhou Univ, Sch Informat Engn, Yangzhou, Peoples R China
[3] Chinese Acad Sci, State Key Lab Comp Sci, Inst Software, Beijing 100864, Peoples R China
[4] City Univ Hong Kong, Dept Comp Sci, Hong Kong, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
Formal concept analysis; Change impact analysis; Lattice of class and method dependence; Impact factor; FORMAL CONCEPT ANALYSIS; SOURCE CODE; FRAMEWORK;
D O I
10.1016/j.infsof.2013.02.003
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Background: Software Change Impact Analysis (CIA) is an essential technique in software engineering to identifying the potential influences of a change, or determining change entities to accomplish such a change. The results derived, in many cases, ambiguous for the software maintainers, introduces the problem of unclear starting point of these impacted entities. Objective: In an attempt to address this issue, this work proposes a novel approach for cross-level CIA, producing a ranked list of potentially impacted methods derived from class-level changes. Moreover, the approach of ranking the impact results is expected to be effective for maintainers to distinguish the probability of the impacted methods to be false-positives. Such results provide an eclectic approach for CIA. Method: The approach, FCA-CIA, uses formal concept analysis (FCA) to produce an intermediate representation of the program based on the static analysis of the source code. The representation is called Lattice of Class and Method Dependence (LoCMD). FCA-CIA takes the changed classes in the change set as a whole, and determines the reachable set from the changed classes on the LoCMD. Based on the hierarchical property of the LoCMD, the impacted methods are ranked according to the impact factor metric which corresponds to the priority of these methods to be inspected. Result: Empirical evaluations on four real-world software projects demonstrate the effectiveness of the impact factor metric and the FCA-CIA technique. The result shows the predicted impacted methods with higher impact factor values are more likely to be affected by the changes. Our study also shows that the FCA-CIA technique generates more accurate impact set than the JRipples and ICP coupling based CIA technique. (C) 2013 Elsevier B.V. All rights reserved.
引用
下载
收藏
页码:1437 / 1449
页数:13
相关论文
共 5 条
  • [1] HSM-based Change Impact Analysis of Object-Oriented Java']Java Programs
    Sun Xiaobing
    Li Bixin
    Tao Chuanqi
    Zhang Sai
    CHINESE JOURNAL OF ELECTRONICS, 2011, 20 (02): : 247 - 251
  • [2] An Approach for Test Impact Analysis on the Integration Level in Java Programs
    Shahbaz, Muzammil
    Lecture Notes in Networks and Systems, 2023, 694 LNNS : 171 - 188
  • [3] An approach for Test Impact Analysis on the Integration Level in Java programs
    Shahbaz, Muzammil
    arXiv, 2022,
  • [4] A Change Proposal Driven Approach for Changeability Assessment Using FCA-based Impact Analysis
    Sun, Xiaobing
    Li, Bixin
    Zhang, Qiandong
    2012 IEEE 36TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2012, : 328 - 333
  • [5] A visual approach to support Change Impact Analysis in object-oriented source code
    Biazini, Renan Pereira
    Messias Correia, Ronaldo Celso
    Eler, Danilo Medeiros
    Garcia, Rogerio Eduardo
    2020 15TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI'2020), 2020,