paperbot · PL 论文追踪

全部论文 待读 收藏

P2 The symptom, cause and repair of workaround

Workaround 的症状、成因与修复
ASE Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering2020匹配度 1/10 · 该论文是对 Apache 项目中 workaround 解决方式的实证研究,属于软件工程中的缺陷修复与开发者行为分析,与用户关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析均无直接关联。引用 5 inbox
Daohan Song, Hao Zhong, Li Jia
crossref: 2026-09-12

AI 速览

一句话:首个实证研究分析 Apache 项目中 221 个 workaround,揭示其涉及的缺陷、成因与修复方式。

在缺陷跟踪系统中,缺陷通常以 fixed、invalid、duplicated 或 won’t fix 等状态关闭,而 workaround(临时规避方案)的定义更模糊,围绕哪些缺陷会以 workaround 解决、为何如此以及其修复是什么仍缺乏系统认识。本文是首个针对该问题的实证研究,作者从 Apache 项目中收集并分析了 221 个真实 workaround。结果显示,多数缺陷之所以被标记为 workaround,是因为问题位于库(24.43%)、设置(18.55%)和客户端(10.41%),其中不少缺陷难以被完整、完美地修复。作为 late breaking result,本文仅简要介绍研究,并给出扩展为完整论文的计划。

问题
缺陷跟踪系统中的 workaround 决议定义模糊,尚不清楚哪些缺陷会以 workaround 解决、原因是什么以及对应修复是什么。
方法
从 Apache 项目收集 221 个真实 workaround,并进行实证分类分析。
评估
通过统计缺陷类型、原因与修复分布回答研究问题,报告库、设置、客户端等主要成因及难以完整修复的发现。
原文摘要(Abstract)

In software development, issue tracker systems are widely used to manage bug reports. In such a system, a bug report can be filed, diagnosed, assigned, and fixed. In the standard process, a bug can be resolved as fixed, invalid, duplicated or won't fix. Although the above resolutions are well-defined and easy to understand, a bug report can end with a less known resolution, i.e., workaround. Compared with other resolutions, the definition of workarounds is more ambiguous. Besides the problem that is reported in a bug report, the resolution of a workaround raises more questions. Some questions are important for users, especially those programmers who build their projects upon others (e.g., libraries). Although some early studies have been conducted to analyze API workarounds, many research questions on workarounds are still open. For example, which bugs are resolved as workarounds? Why is a bug report resolved as workarounds? What are the repairs of workarounds? In this experience paper, we conduct the first empirical study to explore the above research questions. In particular, we analyzed 221 real workarounds that were collected from Apache projects. Our results lead to some interesting and useful answers to all the above questions. For example, we find that most bug reports are resolved as workarounds, because their problems reside in libraries (24.43%), settings (18.55%), and clients (10.41%). Among them, many bugs are difficult to be fixed fully and perfectly. As a late breaking result, we can only briefly introduce our study, but we present a detailed plan to extend it to a full paper.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5948,
  title = {The symptom, cause and repair of workaround},
  author = {Daohan Song and Hao Zhong and Li Jia},
  booktitle = {ASE},
  year = {2020},
  doi = {10.1145/3324884.3418910}
}