Improving the effectiveness of spectra-based fault localization using specifications

Fault localization i.e., locating faulty lines of code, is a key step in removing bugs and often requires substantial manual effort. Recent years have seen many automated localization techniques, specifically using the program’s passing and failing test runs, i.e., test spectra. However, the effecti...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gopinath, Divya, Zaeem, Razieh Nokhbeh, Khurshid, Sarfraz
Format: Tagungsbericht
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 49
container_issue
container_start_page 40
container_title
container_volume
creator Gopinath, Divya
Zaeem, Razieh Nokhbeh
Khurshid, Sarfraz
description Fault localization i.e., locating faulty lines of code, is a key step in removing bugs and often requires substantial manual effort. Recent years have seen many automated localization techniques, specifically using the program’s passing and failing test runs, i.e., test spectra. However, the effectiveness of these approaches is sensitive to factors such as the type and number of faults, and the quality of the test-suite. This paper presents a novel technique that applies spectra-based localization in synergy with specification-based analysis to more accurately locate faults. Our insight is that unsatisfiability analysis of violated specifications, enabled by SAT technology, could be used to (1) compute unsatisfiable cores that contain likely faulty statements and (2) generate tests that help spectra-based localization. Our technique is iterative and driven by a feedback loop that enables more precise fault localization. SAT-TAR is a framework that embodies our technique for Java programs, including those with multiple faults. An experimental evaluation using a suite of widely-studied data structure programs, including the ANTLR and JTopas parser applications, shows that our technique localizes faults more accurately than state-of-the-art approaches.
doi_str_mv 10.1145/2351676.2351683
format Conference Proceeding
fullrecord <record><control><sourceid>acm_6IE</sourceid><recordid>TN_cdi_ieee_primary_6494904</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>6494904</ieee_id><sourcerecordid>acm_books_10_1145_2351676_2351683</sourcerecordid><originalsourceid>FETCH-LOGICAL-a247t-c9d49fc6a2fe17b26c9e1ab28e263904bd569dae14428e9fe216eb999c3d48eb3</originalsourceid><addsrcrecordid>eNqNUD1PwzAUNEJIQOnMwOKRJcHPdpx6RBWUSpVYymzZzjMY0qSK00rw60naDoxMp_scjpBbYDmALB64KECVKj_gTJyR60FlAjiT5flfckmmKX0yxgB4oaC4IuvlZtu1-9i80_4DKYaAvo97bDAl2gaatgPvbOZswooGu6t7Wrfe1vHH9rFt6C6N3TEWQ_QHLd2Qi2DrhNMTTsjb89N6_pKtXhfL-eMqs1yWfeZ1JXXwyvKAUDquvEawjs-QK6GZdFWhdGURpBw0HZCDQqe19qKSM3RiQu6OuxERzbaLG9t9GyW1HNqDe390rd8Y17ZfyQAz42HmdJg5HTZE839GjesiBvELB_lqxQ</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>Improving the effectiveness of spectra-based fault localization using specifications</title><source>IEEE Electronic Library (IEL) Conference Proceedings</source><creator>Gopinath, Divya ; Zaeem, Razieh Nokhbeh ; Khurshid, Sarfraz</creator><creatorcontrib>Gopinath, Divya ; Zaeem, Razieh Nokhbeh ; Khurshid, Sarfraz</creatorcontrib><description>Fault localization i.e., locating faulty lines of code, is a key step in removing bugs and often requires substantial manual effort. Recent years have seen many automated localization techniques, specifically using the program’s passing and failing test runs, i.e., test spectra. However, the effectiveness of these approaches is sensitive to factors such as the type and number of faults, and the quality of the test-suite. This paper presents a novel technique that applies spectra-based localization in synergy with specification-based analysis to more accurately locate faults. Our insight is that unsatisfiability analysis of violated specifications, enabled by SAT technology, could be used to (1) compute unsatisfiable cores that contain likely faulty statements and (2) generate tests that help spectra-based localization. Our technique is iterative and driven by a feedback loop that enables more precise fault localization. SAT-TAR is a framework that embodies our technique for Java programs, including those with multiple faults. An experimental evaluation using a suite of widely-studied data structure programs, including the ANTLR and JTopas parser applications, shows that our technique localizes faults more accurately than state-of-the-art approaches.</description><identifier>ISBN: 1450312047</identifier><identifier>ISBN: 9781450312042</identifier><identifier>EISBN: 1450312047</identifier><identifier>EISBN: 9781450312042</identifier><identifier>DOI: 10.1145/2351676.2351683</identifier><identifier>CODEN: IEEPAD</identifier><language>eng</language><publisher>New York, NY, USA: ACM</publisher><subject>Alloy ; Automated Debugging ; Fault Localization ; Kodkod ; Minimal UNSAT cores ; Software and its engineering -- Software creation and management -- Software verification and validation -- Software defect analysis -- Software testing and debugging ; Tarantula</subject><ispartof>2012 Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering, 2012, p.40-49</ispartof><rights>2012 ACM</rights><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/6494904$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,780,784,789,790,2056,27923,54918</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/6494904$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Gopinath, Divya</creatorcontrib><creatorcontrib>Zaeem, Razieh Nokhbeh</creatorcontrib><creatorcontrib>Khurshid, Sarfraz</creatorcontrib><title>Improving the effectiveness of spectra-based fault localization using specifications</title><title>2012 Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering</title><addtitle>ase</addtitle><description>Fault localization i.e., locating faulty lines of code, is a key step in removing bugs and often requires substantial manual effort. Recent years have seen many automated localization techniques, specifically using the program’s passing and failing test runs, i.e., test spectra. However, the effectiveness of these approaches is sensitive to factors such as the type and number of faults, and the quality of the test-suite. This paper presents a novel technique that applies spectra-based localization in synergy with specification-based analysis to more accurately locate faults. Our insight is that unsatisfiability analysis of violated specifications, enabled by SAT technology, could be used to (1) compute unsatisfiable cores that contain likely faulty statements and (2) generate tests that help spectra-based localization. Our technique is iterative and driven by a feedback loop that enables more precise fault localization. SAT-TAR is a framework that embodies our technique for Java programs, including those with multiple faults. An experimental evaluation using a suite of widely-studied data structure programs, including the ANTLR and JTopas parser applications, shows that our technique localizes faults more accurately than state-of-the-art approaches.</description><subject>Alloy</subject><subject>Automated Debugging</subject><subject>Fault Localization</subject><subject>Kodkod</subject><subject>Minimal UNSAT cores</subject><subject>Software and its engineering -- Software creation and management -- Software verification and validation -- Software defect analysis -- Software testing and debugging</subject><subject>Tarantula</subject><isbn>1450312047</isbn><isbn>9781450312042</isbn><isbn>1450312047</isbn><isbn>9781450312042</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2012</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><sourceid>RIE</sourceid><recordid>eNqNUD1PwzAUNEJIQOnMwOKRJcHPdpx6RBWUSpVYymzZzjMY0qSK00rw60naDoxMp_scjpBbYDmALB64KECVKj_gTJyR60FlAjiT5flfckmmKX0yxgB4oaC4IuvlZtu1-9i80_4DKYaAvo97bDAl2gaatgPvbOZswooGu6t7Wrfe1vHH9rFt6C6N3TEWQ_QHLd2Qi2DrhNMTTsjb89N6_pKtXhfL-eMqs1yWfeZ1JXXwyvKAUDquvEawjs-QK6GZdFWhdGURpBw0HZCDQqe19qKSM3RiQu6OuxERzbaLG9t9GyW1HNqDe390rd8Y17ZfyQAz42HmdJg5HTZE839GjesiBvELB_lqxQ</recordid><startdate>20120903</startdate><enddate>20120903</enddate><creator>Gopinath, Divya</creator><creator>Zaeem, Razieh Nokhbeh</creator><creator>Khurshid, Sarfraz</creator><general>ACM</general><scope>6IE</scope><scope>6IL</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIL</scope></search><sort><creationdate>20120903</creationdate><title>Improving the effectiveness of spectra-based fault localization using specifications</title><author>Gopinath, Divya ; Zaeem, Razieh Nokhbeh ; Khurshid, Sarfraz</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a247t-c9d49fc6a2fe17b26c9e1ab28e263904bd569dae14428e9fe216eb999c3d48eb3</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2012</creationdate><topic>Alloy</topic><topic>Automated Debugging</topic><topic>Fault Localization</topic><topic>Kodkod</topic><topic>Minimal UNSAT cores</topic><topic>Software and its engineering -- Software creation and management -- Software verification and validation -- Software defect analysis -- Software testing and debugging</topic><topic>Tarantula</topic><toplevel>online_resources</toplevel><creatorcontrib>Gopinath, Divya</creatorcontrib><creatorcontrib>Zaeem, Razieh Nokhbeh</creatorcontrib><creatorcontrib>Khurshid, Sarfraz</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan All Online (POP All Online) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE Electronic Library (IEL)</collection><collection>IEEE Proceedings Order Plans (POP All) 1998-Present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Gopinath, Divya</au><au>Zaeem, Razieh Nokhbeh</au><au>Khurshid, Sarfraz</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>Improving the effectiveness of spectra-based fault localization using specifications</atitle><btitle>2012 Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering</btitle><stitle>ase</stitle><date>2012-09-03</date><risdate>2012</risdate><spage>40</spage><epage>49</epage><pages>40-49</pages><isbn>1450312047</isbn><isbn>9781450312042</isbn><eisbn>1450312047</eisbn><eisbn>9781450312042</eisbn><coden>IEEPAD</coden><abstract>Fault localization i.e., locating faulty lines of code, is a key step in removing bugs and often requires substantial manual effort. Recent years have seen many automated localization techniques, specifically using the program’s passing and failing test runs, i.e., test spectra. However, the effectiveness of these approaches is sensitive to factors such as the type and number of faults, and the quality of the test-suite. This paper presents a novel technique that applies spectra-based localization in synergy with specification-based analysis to more accurately locate faults. Our insight is that unsatisfiability analysis of violated specifications, enabled by SAT technology, could be used to (1) compute unsatisfiable cores that contain likely faulty statements and (2) generate tests that help spectra-based localization. Our technique is iterative and driven by a feedback loop that enables more precise fault localization. SAT-TAR is a framework that embodies our technique for Java programs, including those with multiple faults. An experimental evaluation using a suite of widely-studied data structure programs, including the ANTLR and JTopas parser applications, shows that our technique localizes faults more accurately than state-of-the-art approaches.</abstract><cop>New York, NY, USA</cop><pub>ACM</pub><doi>10.1145/2351676.2351683</doi><tpages>10</tpages></addata></record>
fulltext fulltext_linktorsrc
identifier ISBN: 1450312047
ispartof 2012 Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering, 2012, p.40-49
issn
language eng
recordid cdi_ieee_primary_6494904
source IEEE Electronic Library (IEL) Conference Proceedings
subjects Alloy
Automated Debugging
Fault Localization
Kodkod
Minimal UNSAT cores
Software and its engineering -- Software creation and management -- Software verification and validation -- Software defect analysis -- Software testing and debugging
Tarantula
title Improving the effectiveness of spectra-based fault localization using specifications
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-14T10%3A09%3A13IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-acm_6IE&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=Improving%20the%20effectiveness%20of%20spectra-based%20fault%20localization%20using%20specifications&rft.btitle=2012%20Proceedings%20of%20the%2027th%20IEEE/ACM%20International%20Conference%20on%20Automated%20Software%20Engineering&rft.au=Gopinath,%20Divya&rft.date=2012-09-03&rft.spage=40&rft.epage=49&rft.pages=40-49&rft.isbn=1450312047&rft.isbn_list=9781450312042&rft.coden=IEEPAD&rft_id=info:doi/10.1145/2351676.2351683&rft_dat=%3Cacm_6IE%3Eacm_books_10_1145_2351676_2351683%3C/acm_6IE%3E%3Curl%3E%3C/url%3E&rft.eisbn=1450312047&rft.eisbn_list=9781450312042&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=6494904&rfr_iscdi=true