paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Incremental Program Analysis in the Wild: An Empirical Study on Real-World Program Changes

真实世界中的增量程序分析:关于真实程序变更的实证研究
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 4/10 · 论文属于程序分析与抽象解释领域,聚焦增量程序分析工具在真实程序变更上的实证评估与基准构建,与用户核心方向(LLM/Agent 与静态分析交叉、浮点程序分析、贝叶斯程序分析)无直接关联,仅在静态分析工程实践层面有间接参考价值。引用 0 inbox
Xizao Wang, Xiangrong Bin, Lanxin Huang, Shangqing Liu, Jianhua Zhao, Lei Bu
crossref: 2026-09-12

AI 速览

一句话:构建真实程序变更基准与统一评估框架,实证揭示增量程序分析工具的效率优势与内存、一致性缺陷。

增量程序分析(IPA)利用已有分析结果应对程序变更,以维持分析结果的时效性,近年来涌现出多种算法与工具,但其在真实场景下的实证表现仍缺乏深入研究。本文指出当前评估存在两个关键局限:缺乏反映真实程序变更的标准化基准,以及评估指标不足且分布不均衡。为此,作者提出自动构建真实程序变更基准的流水线,并开发统一的增量评估框架,以系统评估 IPA 工具。基于该流水线,他们从 20 个 Java 项目的 4,084 次 commit 构建大规模基准,并系统评估了两个面向 Java 的 IPA 工具。结果表明:增量分析相比全量分析显著提升效率,但现有 IPA 工具表现出不一致性,且峰值内存消耗明显更高。最后,作者提炼了若干实践洞见,以指导增量程序分析领域的未来研究与开发。

问题
增量程序分析工具在真实程序变更场景下的实际效果缺乏系统实证,且缺少标准化真实变更基准与均衡的评估指标。
方法
提出自动构建真实程序变更基准的流水线,并开发统一的增量评估框架,用于系统评估增量程序分析工具。
评估
基于 20 个 Java 项目、4,084 次 commit 构建大规模真实变更基准,对两个 Java 增量程序分析工具进行实证评估,比较增量与全量分析的效率、一致性与峰值内存消耗。
原文摘要(Abstract)

Incremental program analysis (IPA) has gained increasing attention as an effective approach for maintaining up-to-date analysis results by leveraging previously computed results in response to program changes. Consequently, a variety of IPA algorithms and tools have been proposed. However, their empirical performance in practical, real-world scenarios remains insufficiently investigated. To address this gap, this study presents a comprehensive examination of the current state-of-the-art in IPA evaluation. Specifically, we identify two key limitations: (1) the lack of standardized benchmarks reflecting real-world program changes, and (2) the inadequacy and imbalanced distribution of evaluation metrics.To overcome these challenges, we propose an automated pipeline for constructing real-world program change benchmarks and develop a unified incremental evaluation framework for systematically evaluating IPA tools. Using the proposed evaluation pipeline, we constructed large-scale benchmarks of real-world program changes—sourced from 4,084 commits across 20 Java projects—and systematically evaluated two IPA tools for Java. The results demonstrate that, although incremental analysis substantially improves efficiency compared to exhaustive analysis, existing IPA tools exhibit inconsistencies and markedly higher peak memory consumption. Finally, we distill practical insights from our findings to inform future research and development in the field of incremental program analysis.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9248,
  title = {Incremental Program Analysis in the Wild: An Empirical Study on Real-World Program Changes},
  author = {Xizao Wang and Xiangrong Bin and Lanxin Huang and Shangqing Liu and Jianhua Zhao and Lei Bu},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00194}
}