paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How well are regular expressions tested in the wild?

真实世界中的正则表达式测试得有多充分?
FSE Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2018匹配度 2/10 · 该论文研究开源项目中正则表达式的测试充分性,属于软件测试与经验研究,与用户的静态分析、Agentic/LLM 交叉、浮点程序分析或贝叶斯程序分析等核心方向无直接关联;仅在“程序分析与测试”这一大领域下有微弱背景相关性。引用 27 inbox
Peipei Wang, Kathryn T. Stolee
crossref: 2026-09-12

AI 速览

一句话:通过考察开源项目,实证评估真实开发中正则表达式的测试充分程度。

正则表达式广泛用于文本处理,但开发者报告称,他们对正则表达式的测试少于对代码其余部分的测试。本文关注这一现象,通过考察开源项目,实证研究真实世界中的正则表达式究竟被测试得有多充分。作者以开源项目为对象,分析正则表达式相关测试的存在与覆盖情况,以刻画其测试程度。摘要未报告具体度量结果或改进方案,其核心贡献在于系统性地揭示真实开发中正则表达式的测试实践与充分性,为后续开发更有效的正则测试方法和工具提供经验依据。

问题
开发者对正则表达式的测试少于对代码其余部分的测试,论文探究真实开源项目中正则表达式的测试充分程度。
方法
通过检查开源项目中的正则表达式及其相关测试实践,进行实证分析,以评估其测试充分性。
评估
以开源项目为对象开展实证研究,考察正则表达式在真实开发中的测试情况;摘要未给出具体量化结果。
原文摘要(Abstract)

Developers report testing their regular expressions less than the rest of their code. In this work, we explore how thoroughly tested regular expressions are by examining open source projects.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4634,
  title = {How well are regular expressions tested in the wild?},
  author = {Peipei Wang and Kathryn T. Stolee},
  booktitle = {FSE},
  year = {2018},
  doi = {10.1145/3236024.3236072}
}