首页> 外文会议>36th Annual IEEE International Computer Software and Applications Conference.;vol. 1.;Main Conference >An Effective Defect Detection and Warning Prioritization Approach for Resource Leaks
【24h】

An Effective Defect Detection and Warning Prioritization Approach for Resource Leaks

机译:一种有效的资源泄漏缺陷检测和警告优先级排序方法

获取原文
获取原文并翻译 | 示例

摘要

Failing to release unneeded system resources such as I/O streams can result in resource leaks, which can lead to performance degradation and system crashes. Existing resource-leak detectors are usually based on predefined defect patterns to detect resource leaks in software. However, they typically report too many false positives and negatives, and also lack effective warning prioritization. Our empirical investigation shows that, their predefined defect patterns are not precise enough, and moreover, their used defect detection processes are not suitable enough for the defect patterns. In our approach, we introduce a novel Expressive Defect Pattern Specification Notation (EDPSN). With EDPSN, a resource-leak defect pattern can be defined more precisely by specifying conditional method calls and more expressively by including guiding information for the defect detection and warning prioritization process, such as the characteristics of its preferred defect detection process and the effective prioritization impact factors for its related warnings. Based on the EDPSN-based defect pattern, our approach tries to flexibly tune out a suitable defect detection and warning prioritization process. Through evaluations on three real-world projects (Eclipse-3.0.1, JBoss-3.0.6, and Weka-3.6.4), we show that our approach achieves high average precision (96%) and recall (74%), 26% and 49% higher than existing approaches, respectively.
机译:未能释放不需要的系统资源(例如I / O流)可能会导致资源泄漏,从而导致性能下降和系统崩溃。现有的资源泄漏检测器通常基于预定义的缺陷模式来检测软件中的资源泄漏。但是,他们通常会报告过多的错误肯定和否定,也缺乏有效的警告优先级。我们的经验研究表明,它们的预定义缺陷模式不够精确,此外,它们使用的缺陷检测过程还不足以适合缺陷模式。在我们的方法中,我们引入了一种新颖的表达缺陷模式规范表示法(EDPSN)。使用EDPSN,可以通过指定条件方法调用来更精确地定义资源泄漏缺陷模式,并且可以通过包括缺陷检测和警告优先级处理过程的指导信息(例如其首选缺陷检测过程的特征和有效优先级影响)来更精确地定义资源泄漏缺陷模式相关警告的因素。基于基于EDPSN的缺陷模式,我们的方法试图灵活地调整出合适的缺陷检测和警告优先级排序过程。通过对三个实际项目(Eclipse-3.0.1,JBoss-3.0.6和Weka-3.6.4)的评估,我们表明我们的方法实现了较高的平均精度(96%)和召回率(74%),26分别比现有方法高%和49%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号