Constrained Feature Selection for Localizing Faults
Developers often take much time and effort to find buggy program elements. To help developers debug, many past studies have proposed spectrum-based fault localization techniques. These techniques compare and contrast correct and faulty execution traces and highlight suspicious program elements. In t...
Saved in:
Main Authors: | , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2015
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/3088 https://ink.library.smu.edu.sg/context/sis_research/article/4088/viewcontent/icsme15.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-4088 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-40882020-12-07T08:00:58Z Constrained Feature Selection for Localizing Faults LE, Tien-Duy B. LO, David LI, Ming Developers often take much time and effort to find buggy program elements. To help developers debug, many past studies have proposed spectrum-based fault localization techniques. These techniques compare and contrast correct and faulty execution traces and highlight suspicious program elements. In this work, we propose constrained feature selection algorithms that we use to localize faults. Feature selection algorithms are commonly used to identify important features that are helpful for a classification task. By mapping an execution trace to a classification instance and a program element to a feature, we can transform fault localization to the feature selection problem. Unfortunately, existing feature selection algorithms do not perform too well, and we extend its performance by adding a constraint to the feature selection formulation based on a specific characteristic of the fault localization problem. We have performed experiments on a popular benchmark containing 154 faulty versions from 8 programs and demonstrate that several variants of our approach can outperform many fault localization techniques proposed in the literature. Using Wilcoxon rank-sum test and Cliff's d effect size, we also show that the improvements are both statistically significant and substantial. 2015-10-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/3088 info:doi/10.1109/ICSM.2015.7332502 https://ink.library.smu.edu.sg/context/sis_research/article/4088/viewcontent/icsme15.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Software Engineering |
spellingShingle |
Software Engineering LE, Tien-Duy B. LO, David LI, Ming Constrained Feature Selection for Localizing Faults |
description |
Developers often take much time and effort to find buggy program elements. To help developers debug, many past studies have proposed spectrum-based fault localization techniques. These techniques compare and contrast correct and faulty execution traces and highlight suspicious program elements. In this work, we propose constrained feature selection algorithms that we use to localize faults. Feature selection algorithms are commonly used to identify important features that are helpful for a classification task. By mapping an execution trace to a classification instance and a program element to a feature, we can transform fault localization to the feature selection problem. Unfortunately, existing feature selection algorithms do not perform too well, and we extend its performance by adding a constraint to the feature selection formulation based on a specific characteristic of the fault localization problem. We have performed experiments on a popular benchmark containing 154 faulty versions from 8 programs and demonstrate that several variants of our approach can outperform many fault localization techniques proposed in the literature. Using Wilcoxon rank-sum test and Cliff's d effect size, we also show that the improvements are both statistically significant and substantial. |
format |
text |
author |
LE, Tien-Duy B. LO, David LI, Ming |
author_facet |
LE, Tien-Duy B. LO, David LI, Ming |
author_sort |
LE, Tien-Duy B. |
title |
Constrained Feature Selection for Localizing Faults |
title_short |
Constrained Feature Selection for Localizing Faults |
title_full |
Constrained Feature Selection for Localizing Faults |
title_fullStr |
Constrained Feature Selection for Localizing Faults |
title_full_unstemmed |
Constrained Feature Selection for Localizing Faults |
title_sort |
constrained feature selection for localizing faults |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2015 |
url |
https://ink.library.smu.edu.sg/sis_research/3088 https://ink.library.smu.edu.sg/context/sis_research/article/4088/viewcontent/icsme15.pdf |
_version_ |
1770572805865209856 |