five

Can Program Analysis Tools Find More Code Review Defects?

收藏
DataCite Commons2021-11-07 更新2024-08-18 收录
下载链接:
https://figshare.com/articles/dataset/Can_Program_Analysis_Tools_Find_More_Code_Review_Defects_/14925222
下载链接
链接失效反馈
官方服务:
资源简介:
Program analysis tools find defects in code, checking code against rules to reveal potential defects. Many studies have evaluated these tools by measuring their ability to detect known defects in code. But these studies measure the current state of tools rather than their future potential to find more defects. To investigate the prospects for tools to find more defects, we conducted a study where we examined the potential to create rules, which might be checked by tools, which would prevent defects found in code review. We first gathered a corpus of 1323 defects found through code review. Through a qualitative analysis process, for each defect we identified a violated rule and the type of program analysis tool (PAT) which might check this rule.We found that PATs might, in principle, be used to detect as many as 76% of code review defects, considerably more than current tools have been demonstrated to successfully detect. Among a variety of types of program analysis tools, Style Checkers and AST Pattern Checkers had the broadest coverage of defects, each with the potential to detect 25% of all code review defects. To detectable defects, existing tools require features like supporting custom and more complex rules. Defects not detectable by PATs require human judgement and are violations of rules lacking formalism.
提供机构:
figshare
创建时间:
2021-07-07
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作