Impact Analysis Based on a Global Hierarchical Object Graph

被引:0
|
作者
Abi-Antoun, Marwan [1 ]
Wang, Yibin [1 ]
Khalaj, Ebrahim [1 ]
Giang, Andrew [1 ]
Rajlich, Vaclav [1 ]
机构
[1] Wayne State Univ, Dept Comp Sci, Detroit, MI 48202 USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
During impact analysis on object-oriented code, statically extracting dependencies is often complicated by subclassing, programming to interfaces, aliasing, and collections, among others. When a tool recommends a large number of types or does not rank its recommendations, it may lead developers to explore more irrelevant code. We propose to mine and rank dependencies based on a global, hierarchical points-to graph that is extracted using abstract interpretation. A previous whole-program static analysis interprets a program enriched with annotations that express hierarchy, and over-approximates all the objects that may be created at runtime and how they may communicate. In this paper, an analysis mines the hierarchy and the edges in the graph to extract and rank dependencies such as the most important classes related to a class, or the most important classes behind an interface. An evaluation using two case studies on two systems totaling 10,000 lines of code and five completed code modification tasks shows that following dependencies based on abstract interpretation achieves higher effectiveness compared to following dependencies extracted from the abstract syntax tree. As a result, developers explore less irrelevant code.
引用
收藏
页码:221 / 230
页数:10
相关论文
共 50 条
  • [1] OBJECT DETECTION USING HIERARCHICAL GRAPH-BASED SEGMENTATION
    Kim, Jungho
    Choi, Byeongho
    Kweon, In-So
    [J]. 2013 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2013, : 1923 - 1926
  • [2] Hierarchical Object-to-Zone Graph for Object Navigation
    Zhang, Sixian
    Song, Xinhang
    Bai, Yubing
    Li, Weijie
    Chu, Yakui
    Jiang, Shuqiang
    [J]. 2021 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2021), 2021, : 15110 - 15120
  • [3] A hierarchical graph model for object cosegmentation
    Yanli Li
    Zhong Zhou
    Wei Wu
    [J]. EURASIP Journal on Image and Video Processing, 2013
  • [4] A hierarchical graph model for object cosegmentation
    Li, Yanli
    Zhou, Zhong
    Wu, Wei
    [J]. EURASIP JOURNAL ON IMAGE AND VIDEO PROCESSING, 2013,
  • [5] Graph-based hierarchical video summarization using global descriptors
    Belo, Luciana
    Caetano, Carlos
    Patrocinio, Zenilton, Jr.
    Guimaraes, Silvio
    [J]. 2014 IEEE 26TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI), 2014, : 822 - 829
  • [6] A Feature Dependency Graph Analysis Method Based on Object
    Yang, Guanzhong
    Zhou, Rong
    [J]. 2016 12TH INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (ICNC-FSKD), 2016, : 1587 - 1593
  • [7] Heterogeneous Multi-object Trajectory Prediction Method Based on Hierarchical Graph Attention
    Hu, Qihui
    Cai, Yingfeng
    Wang, Hai
    Chen, Long
    Dong, Zhaozhi
    Liu, Qingchao
    [J]. Qiche Gongcheng/Automotive Engineering, 2023, 45 (08): : 1448 - 1456
  • [8] Hierarchical graph contrastive learning of local and global presentation for multimodal sentiment analysis
    Du, Jun
    Jin, Jianhang
    Zhuang, Jian
    Zhang, Cheng
    [J]. SCIENTIFIC REPORTS, 2024, 14 (01)
  • [9] Augmented Graph Neural Network with hierarchical global-based residual connections
    Rassil, Asmaa
    Chougrad, Hiba
    Zouaki, Hamid
    [J]. NEURAL NETWORKS, 2022, 150 : 149 - 166
  • [10] Global graph diffusion for interactive object extraction
    Wang, Tao
    Yang, Jian
    Sun, Quansen
    Ji, Zexuan
    Fu, Peng
    Ge, Qi
    [J]. INFORMATION SCIENCES, 2018, 460 : 103 - 114