Exception Handling Defects: An Empirical Study

Exception handling mechanisms are a feature common in many programming languages. Improper handling of exceptions can cause failures in software systems. This is especially critical for high-assurance systems where software failures may have severe consequences. Understanding the impact of misusing...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sawadpong, P., Allen, E. B., Williams, B. J.
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 97
container_issue
container_start_page 90
container_title
container_volume
creator Sawadpong, P.
Allen, E. B.
Williams, B. J.
description Exception handling mechanisms are a feature common in many programming languages. Improper handling of exceptions can cause failures in software systems. This is especially critical for high-assurance systems where software failures may have severe consequences. Understanding the impact of misusing exception handling is important for better utilization of these constructs. This paper presents an exploratory study to determine whether using exception handling is relatively risky by analyzing the defect densities of exception handling code and the overall source code. Also, statistics representing the prevalence of exception handling code are proposed. The study was conducted with six major Eclipse releases. Essential data was collected using custom scripts to extract exception handling information from the source code and exception handling defects information from bug reports. We found that the density of defects that are closely related to exception handling constructs is relatively high compared to the overall defect density. This implies a relationship between the use of exception handling constructs and the risk of defects. Further studies should be conducted to better determine proper ways to implement exception handling and the root causes of exception defects in the software systems.
doi_str_mv 10.1109/HASE.2012.24
format Conference Proceeding
fullrecord <record><control><sourceid>ieee_6IE</sourceid><recordid>TN_cdi_ieee_primary_6375642</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>6375642</ieee_id><sourcerecordid>6375642</sourcerecordid><originalsourceid>FETCH-LOGICAL-i90t-2da36d6714b7837f91d6cb13bbc1bfa8935668e32e0276746c2ee06ec6c622783</originalsourceid><addsrcrecordid>eNotjD1PwzAUAM2XRCjZ2FjyBxKen-1nmy1qA0GqxNDuleM4yCgNURIk-u-pBNMtd8fYA4eCc7BPdbmrCgSOBcoLdgearJKWo7lkCZKEXCvQVyy12nBJWkgtka5ZwpWAHEHZW5bO8ycAcBBn1SSsqH58GJf4NWS1G9o-Dh_ZJnTBL_NzVg5ZdRzjFL3rs93y3Z7u2U3n-jmk_1yx_Uu1X9f59v31bV1u82hhybF1glrSXDbaCN1Z3pJvuGgaz5vOGSsUkQkCA6AmLcljCEDBkyfEc7Jij3_bGEI4jFM8uul0IKEVSRS_7slFGA</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>Exception Handling Defects: An Empirical Study</title><source>IEEE Electronic Library (IEL) Conference Proceedings</source><creator>Sawadpong, P. ; Allen, E. B. ; Williams, B. J.</creator><creatorcontrib>Sawadpong, P. ; Allen, E. B. ; Williams, B. J.</creatorcontrib><description>Exception handling mechanisms are a feature common in many programming languages. Improper handling of exceptions can cause failures in software systems. This is especially critical for high-assurance systems where software failures may have severe consequences. Understanding the impact of misusing exception handling is important for better utilization of these constructs. This paper presents an exploratory study to determine whether using exception handling is relatively risky by analyzing the defect densities of exception handling code and the overall source code. Also, statistics representing the prevalence of exception handling code are proposed. The study was conducted with six major Eclipse releases. Essential data was collected using custom scripts to extract exception handling information from the source code and exception handling defects information from bug reports. We found that the density of defects that are closely related to exception handling constructs is relatively high compared to the overall defect density. This implies a relationship between the use of exception handling constructs and the risk of defects. Further studies should be conducted to better determine proper ways to implement exception handling and the root causes of exception defects in the software systems.</description><identifier>ISSN: 1530-2059</identifier><identifier>ISBN: 9781467347426</identifier><identifier>ISBN: 1467347426</identifier><identifier>EISSN: 2640-7507</identifier><identifier>EISBN: 0769549128</identifier><identifier>EISBN: 9780769549125</identifier><identifier>DOI: 10.1109/HASE.2012.24</identifier><identifier>CODEN: IEEPAD</identifier><language>eng</language><publisher>IEEE</publisher><subject>Communities ; defects ; Density measurement ; Eclipse ; empirical study ; Equations ; exception handling ; Java ; Mathematical model ; measurement ; Software systems</subject><ispartof>2012 IEEE 14th International Symposium on High-Assurance Systems Engineering, 2012, p.90-97</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/6375642$$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/6375642$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Sawadpong, P.</creatorcontrib><creatorcontrib>Allen, E. B.</creatorcontrib><creatorcontrib>Williams, B. J.</creatorcontrib><title>Exception Handling Defects: An Empirical Study</title><title>2012 IEEE 14th International Symposium on High-Assurance Systems Engineering</title><addtitle>hase</addtitle><description>Exception handling mechanisms are a feature common in many programming languages. Improper handling of exceptions can cause failures in software systems. This is especially critical for high-assurance systems where software failures may have severe consequences. Understanding the impact of misusing exception handling is important for better utilization of these constructs. This paper presents an exploratory study to determine whether using exception handling is relatively risky by analyzing the defect densities of exception handling code and the overall source code. Also, statistics representing the prevalence of exception handling code are proposed. The study was conducted with six major Eclipse releases. Essential data was collected using custom scripts to extract exception handling information from the source code and exception handling defects information from bug reports. We found that the density of defects that are closely related to exception handling constructs is relatively high compared to the overall defect density. This implies a relationship between the use of exception handling constructs and the risk of defects. Further studies should be conducted to better determine proper ways to implement exception handling and the root causes of exception defects in the software systems.</description><subject>Communities</subject><subject>defects</subject><subject>Density measurement</subject><subject>Eclipse</subject><subject>empirical study</subject><subject>Equations</subject><subject>exception handling</subject><subject>Java</subject><subject>Mathematical model</subject><subject>measurement</subject><subject>Software systems</subject><issn>1530-2059</issn><issn>2640-7507</issn><isbn>9781467347426</isbn><isbn>1467347426</isbn><isbn>0769549128</isbn><isbn>9780769549125</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2012</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><sourceid>RIE</sourceid><recordid>eNotjD1PwzAUAM2XRCjZ2FjyBxKen-1nmy1qA0GqxNDuleM4yCgNURIk-u-pBNMtd8fYA4eCc7BPdbmrCgSOBcoLdgearJKWo7lkCZKEXCvQVyy12nBJWkgtka5ZwpWAHEHZW5bO8ycAcBBn1SSsqH58GJf4NWS1G9o-Dh_ZJnTBL_NzVg5ZdRzjFL3rs93y3Z7u2U3n-jmk_1yx_Uu1X9f59v31bV1u82hhybF1glrSXDbaCN1Z3pJvuGgaz5vOGSsUkQkCA6AmLcljCEDBkyfEc7Jij3_bGEI4jFM8uul0IKEVSRS_7slFGA</recordid><startdate>201210</startdate><enddate>201210</enddate><creator>Sawadpong, P.</creator><creator>Allen, E. B.</creator><creator>Williams, B. J.</creator><general>IEEE</general><scope>6IE</scope><scope>6IL</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIL</scope></search><sort><creationdate>201210</creationdate><title>Exception Handling Defects: An Empirical Study</title><author>Sawadpong, P. ; Allen, E. B. ; Williams, B. J.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-i90t-2da36d6714b7837f91d6cb13bbc1bfa8935668e32e0276746c2ee06ec6c622783</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2012</creationdate><topic>Communities</topic><topic>defects</topic><topic>Density measurement</topic><topic>Eclipse</topic><topic>empirical study</topic><topic>Equations</topic><topic>exception handling</topic><topic>Java</topic><topic>Mathematical model</topic><topic>measurement</topic><topic>Software systems</topic><toplevel>online_resources</toplevel><creatorcontrib>Sawadpong, P.</creatorcontrib><creatorcontrib>Allen, E. B.</creatorcontrib><creatorcontrib>Williams, B. J.</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>Sawadpong, P.</au><au>Allen, E. B.</au><au>Williams, B. J.</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>Exception Handling Defects: An Empirical Study</atitle><btitle>2012 IEEE 14th International Symposium on High-Assurance Systems Engineering</btitle><stitle>hase</stitle><date>2012-10</date><risdate>2012</risdate><spage>90</spage><epage>97</epage><pages>90-97</pages><issn>1530-2059</issn><eissn>2640-7507</eissn><isbn>9781467347426</isbn><isbn>1467347426</isbn><eisbn>0769549128</eisbn><eisbn>9780769549125</eisbn><coden>IEEPAD</coden><abstract>Exception handling mechanisms are a feature common in many programming languages. Improper handling of exceptions can cause failures in software systems. This is especially critical for high-assurance systems where software failures may have severe consequences. Understanding the impact of misusing exception handling is important for better utilization of these constructs. This paper presents an exploratory study to determine whether using exception handling is relatively risky by analyzing the defect densities of exception handling code and the overall source code. Also, statistics representing the prevalence of exception handling code are proposed. The study was conducted with six major Eclipse releases. Essential data was collected using custom scripts to extract exception handling information from the source code and exception handling defects information from bug reports. We found that the density of defects that are closely related to exception handling constructs is relatively high compared to the overall defect density. This implies a relationship between the use of exception handling constructs and the risk of defects. Further studies should be conducted to better determine proper ways to implement exception handling and the root causes of exception defects in the software systems.</abstract><pub>IEEE</pub><doi>10.1109/HASE.2012.24</doi><tpages>8</tpages></addata></record>
fulltext fulltext_linktorsrc
identifier ISSN: 1530-2059
ispartof 2012 IEEE 14th International Symposium on High-Assurance Systems Engineering, 2012, p.90-97
issn 1530-2059
2640-7507
language eng
recordid cdi_ieee_primary_6375642
source IEEE Electronic Library (IEL) Conference Proceedings
subjects Communities
defects
Density measurement
Eclipse
empirical study
Equations
exception handling
Java
Mathematical model
measurement
Software systems
title Exception Handling Defects: An Empirical Study
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-14T00%3A03%3A02IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-ieee_6IE&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=Exception%20Handling%20Defects:%20An%20Empirical%20Study&rft.btitle=2012%20IEEE%2014th%20International%20Symposium%20on%20High-Assurance%20Systems%20Engineering&rft.au=Sawadpong,%20P.&rft.date=2012-10&rft.spage=90&rft.epage=97&rft.pages=90-97&rft.issn=1530-2059&rft.eissn=2640-7507&rft.isbn=9781467347426&rft.isbn_list=1467347426&rft.coden=IEEPAD&rft_id=info:doi/10.1109/HASE.2012.24&rft_dat=%3Cieee_6IE%3E6375642%3C/ieee_6IE%3E%3Curl%3E%3C/url%3E&rft.eisbn=0769549128&rft.eisbn_list=9780769549125&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=6375642&rfr_iscdi=true