• Home
  • Search
  • An Effective Defect Detection and Warning Prioritization Approach for Resource Leaks
  • Cite Icon15
  • https://doi.org/10.1109/compsac.2012.22Copy DOI Icon

An Effective Defect Detection and Warning Prioritization Approach for Resource Leaks

  • Jul 1, 2012
  • Guangtai Liang +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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.

Similar Papers
  • Research Article
  • Citations32

DroidLeaks: a comprehensive database of resource leaks in Android apps

  • May 16, 2019
  • Empirical Software Engineering
  • Yepang Liu +7
  • Research Article

Cylinder Block and Cylinder Liners of Internal Combustion Engines: Materials and Features of Defect Detection During Repair

  • Dec 11, 2025
  • Наука та прогрес транспорту
  • V V Krivda +2
  • Research Article
  • Citations95

Defect detection method for rail surface based on line-structured light

  • Mar 23, 2020
  • Measurement
  • Xiaohui Cao +3
  • PDF
  • Research Article
  • Citations6

Research on Surface Defect Detection Method of E-TPU Midsole Based on Machine Vision

  • Jan 01, 2020
  • Journal of Computer and Communications
  • Ruizhi Li +2
  • Research Article
  • Citations6

Defect detection of capacitive touch panel using a nonnegative matrix factorization and tolerance model.

  • Mar 17, 2016
  • Applied optics
  • Changcheng Jiang +2
  • Research Article
  • Citations12

SEPDNet: simple and effective PCB surface defect detection method

  • Mar 29, 2025
  • Scientific Reports
  • Du Lang +1
  • Research Article
  • Citations19

Integral images-based approach for fabric defect detection

  • Oct 30, 2021
  • Optics & Laser Technology
  • Yasser M Fouda
  • Conference Article
  • Citations4

Smart Defect Detection and Sortation through Image Processing for Corn

  • Nov 16, 2020
  • John Joshua F Montanez
  • Conference Article
  • Citations1

Design of the Detection Probe Based on ACFM

  • Jan 01, 2019
  • Jianyu Li +3
  • PDF
  • Research Article
  • Citations30

Fabric Defect Detection Based on Pattern Template Correction

  • Jan 01, 2018
  • Mathematical Problems in Engineering
  • Xingzhi Chang +3
  • Research Article
  • Citations39

Simulation of Laser Ultrasonics for Detection of Surface-Connected Rail Defects

  • Sep 26, 2017
  • Journal of Nondestructive Evaluation
  • Zhong Yunjie +4
  • Research Article

Fabric Defect Detection Using Deep Learning

  • May 31, 2023
  • International Journal for Research in Applied Science and Engineering Technology
  • Mr P Durgaprasad
  • Conference Article

The consequences of statistical tests on proxy variables, an application to short-TE as an estimation for MEGA-edited GABA

  • Sep 16, 2025
  • Proceedings on CD-ROM - International Society for Magnetic Resonance in Medicine. Scientific Meeting and Exhibition/Proceedings of the International Society for Magnetic Resonance in Medicine, Scientific Meeting and Exhibition
  • Karl Landheer +2
  • Research Article
  • Citations6

BAND: BAgging noise detectors with application to semiconductor wafer denoising

  • Aug 14, 2023
  • Applied Soft Computing
  • Taeheung Kim +1
  • Research Article
  • Citations24

Cascaded detection method for surface defects of lead frame based on high-resolution detection images

  • Dec 07, 2023
  • Journal of Manufacturing Systems
  • Tingrui Sun +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.