On the Investigation of Exception Pull Request Characteristics: Exploring the Apache Ecosystem

Robustness is critical for ensuring that software functions correctly under adverse conditions. Exception-handling mechanisms in programming languages enable developers to deal with these adverse conditions. However, implementing exception-related code can present significant challenges to developer...

Full description

Saved in:
Bibliographic Details
Published inProceedings / IEEE International Working Conference on Source Code Analysis and Manipulation pp. 143 - 153
Main Authors Correia, JoAo, Coutinho, Daniel, Garcia, Alessandro, de Mello, Rafael, Barbosa, Caio, Oliveira, Anderson, Assuncao, Wesley K. G., Pereira, Juliana Alves, Steinmacher, Igor, Gerosa, Marco, Souza, Jairo, Arriel, Johny
Format Conference Proceeding
LanguageEnglish
Published IEEE 07.10.2024
Subjects
Online AccessGet full text
ISSN2470-6892
DOI10.1109/SCAM63643.2024.00023

Cover

Loading…
Abstract Robustness is critical for ensuring that software functions correctly under adverse conditions. Exception-handling mechanisms in programming languages enable developers to deal with these adverse conditions. However, implementing exception-related code can present significant challenges to developers. We investigated exception-related code contributions across Java projects in the Apache ecosystem. We analyzed exception-related pull requests (exception-PRs), which were detected using a validated heuristic. We produced a comprehensive dataset of 988 exception-PRs. We observed no statistically significant differences in complexity metrics between exception-PRs and non-exception-PRs. We also found no significant differences in developers' behavior metrics, indicating consistent engagement regardless of whether the pull request addressed exception-related code. A manual analysis revealed that most exception-PRs focused on system improvements rather than bug fixes, suggesting proactive efforts to enhance software robustness. Moreover, the most frequently addressed aspects of exceptional code in these exception-PRs were: (i) the external representation of adverse situations to end-users (more than 40% of the PRs) and (ii) the implementation of effective error-handling actions (nearly 35% of the PRs) to promote program recoverability. Interestingly, a significant proportion of exception-PRs simultaneously addressed multiple aspects. By understanding the nature and characteristics of exception-PRs, we expect to better support developers in managing erroneous conditions and improving software robustness.
AbstractList Robustness is critical for ensuring that software functions correctly under adverse conditions. Exception-handling mechanisms in programming languages enable developers to deal with these adverse conditions. However, implementing exception-related code can present significant challenges to developers. We investigated exception-related code contributions across Java projects in the Apache ecosystem. We analyzed exception-related pull requests (exception-PRs), which were detected using a validated heuristic. We produced a comprehensive dataset of 988 exception-PRs. We observed no statistically significant differences in complexity metrics between exception-PRs and non-exception-PRs. We also found no significant differences in developers' behavior metrics, indicating consistent engagement regardless of whether the pull request addressed exception-related code. A manual analysis revealed that most exception-PRs focused on system improvements rather than bug fixes, suggesting proactive efforts to enhance software robustness. Moreover, the most frequently addressed aspects of exceptional code in these exception-PRs were: (i) the external representation of adverse situations to end-users (more than 40% of the PRs) and (ii) the implementation of effective error-handling actions (nearly 35% of the PRs) to promote program recoverability. Interestingly, a significant proportion of exception-PRs simultaneously addressed multiple aspects. By understanding the nature and characteristics of exception-PRs, we expect to better support developers in managing erroneous conditions and improving software robustness.
Author Arriel, Johny
Barbosa, Caio
Steinmacher, Igor
Pereira, Juliana Alves
Souza, Jairo
Coutinho, Daniel
Correia, JoAo
Oliveira, Anderson
Gerosa, Marco
de Mello, Rafael
Garcia, Alessandro
Assuncao, Wesley K. G.
Author_xml – sequence: 1
  givenname: JoAo
  surname: Correia
  fullname: Correia, JoAo
  email: jcorreia@inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
– sequence: 2
  givenname: Daniel
  surname: Coutinho
  fullname: Coutinho, Daniel
  email: dcoutinho@inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
– sequence: 3
  givenname: Alessandro
  surname: Garcia
  fullname: Garcia, Alessandro
  email: afgarcia@inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
– sequence: 4
  givenname: Rafael
  surname: de Mello
  fullname: de Mello, Rafael
  email: rafaelmello@ic.ufrj.br
  organization: Federal University of Rio de Janeiro,Brazil
– sequence: 5
  givenname: Caio
  surname: Barbosa
  fullname: Barbosa, Caio
  email: csilva@inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
– sequence: 6
  givenname: Anderson
  surname: Oliveira
  fullname: Oliveira, Anderson
  email: aoliveira@inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
– sequence: 7
  givenname: Wesley K. G.
  surname: Assuncao
  fullname: Assuncao, Wesley K. G.
  email: wguezas@ncsu.edu
  organization: North Carolina State University,USA
– sequence: 8
  givenname: Juliana Alves
  surname: Pereira
  fullname: Pereira, Juliana Alves
  email: juliana@inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
– sequence: 9
  givenname: Igor
  surname: Steinmacher
  fullname: Steinmacher, Igor
  email: igor.steinmacher@nau.edu
  organization: Federal University of Pernambuco,Brazil
– sequence: 10
  givenname: Marco
  surname: Gerosa
  fullname: Gerosa, Marco
  email: marco.gerosa@nau.edu
  organization: Federal University of Pernambuco,Brazil
– sequence: 11
  givenname: Jairo
  surname: Souza
  fullname: Souza, Jairo
  email: jrmcs@cin.ufpe.br
  organization: Northern Arizona University,USA
– sequence: 12
  givenname: Johny
  surname: Arriel
  fullname: Arriel, Johny
  email: johny.arriel@les.inf.puc-rio.br
  organization: Pontifical Catholic University of Rio de Janeiro,Brazil
BookMark eNotjN1OwjAYQKvRREDegIu9wLBf_9Z6tywTSTAY5VrSlW9QM7a5DiNv74JenZzk5IzJTd3USMgM6ByAmof3LH1RXAk-Z5SJOaWU8SsyNYnRnINkWlJ9TUZMJDRW2rA7Mg7hk1IFSpgR-VjXUX_AaFl_Y-j93va-qaOmjPIfh-1FXk9VFb3h12kIouxgO-t67PxQu_A4dG3VdL7eXzZpa92A3DXhHHo83pPb0lYBp_-ckM1Tvsme49V6sczSVewN9DFIiQwpyMJopaRGcKoUXPBdspNc7KQpOVNQaEAsC1twI5QsJbjCAKNJwSdk9rf1iLhtO3-03XkLNDGSq4T_AltDVn4
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/SCAM63643.2024.00023
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Proceedings Order Plan All Online (POP All Online) 1998-present by volume
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9798331528508
EISSN 2470-6892
EndPage 153
ExternalDocumentID 10795367
Genre orig-research
GrantInformation_xml – fundername: FAPERJ
  grantid: 200.510/2023,211.033/2019,202.621/2019,202073/2020
  funderid: 10.13039/501100004586
– fundername: NSF
  grantid: 2236198,2247929,2303042,2303612,IEEA-RJ001/2021
  funderid: 10.13039/100000001
– fundername: FAPESP
  grantid: 2023/00811-0
  funderid: 10.13039/501100001807
– fundername: CNPq
  grantid: 404027/2023-7,140770/2021-6,315711/2020-5,141180/2021-8,141276/2020-7,141054/2019-0
  funderid: 10.13039/501100003593
– fundername: CAPES
  grantid: 175956,88887.900069/2023-00,88881.879016/2023-01,88887.373933/2019-00,88887.899310/2023-00
  funderid: 10.13039/501100002322
GroupedDBID 6IE
6IF
6IL
6IN
AAJGR
AAWTH
ABLEC
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
IEGSK
OCL
RIE
RIL
ID FETCH-LOGICAL-i91t-155e2e015b986658e1c6f4343d7d534d59f3261b81eefbab39465f51cb91207b3
IEDL.DBID RIE
IngestDate Wed Dec 25 05:51:34 EST 2024
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i91t-155e2e015b986658e1c6f4343d7d534d59f3261b81eefbab39465f51cb91207b3
PageCount 11
ParticipantIDs ieee_primary_10795367
PublicationCentury 2000
PublicationDate 2024-Oct.-7
PublicationDateYYYYMMDD 2024-10-07
PublicationDate_xml – month: 10
  year: 2024
  text: 2024-Oct.-7
  day: 07
PublicationDecade 2020
PublicationTitle Proceedings / IEEE International Working Conference on Source Code Analysis and Manipulation
PublicationTitleAbbrev SCAM
PublicationYear 2024
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0061649
Score 1.8875909
Snippet Robustness is critical for ensuring that software functions correctly under adverse conditions. Exception-handling mechanisms in programming languages enable...
SourceID ieee
SourceType Publisher
StartPage 143
SubjectTerms Codes
Computer bugs
Ecosystems
evolution
exception handling
exceptions
Java
maintenance
Manuals
Measurement
Reviews
Robustness
Software
software robustness
System improvement
Title On the Investigation of Exception Pull Request Characteristics: Exploring the Apache Ecosystem
URI https://ieeexplore.ieee.org/document/10795367
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PS8MwFA5uJ0_zx8Tf5OC1s9matPE2ysYQNodO2MnRJC8gQjukA_Gv9yVt5xQEbyWHtuSRvO8l3_c9Qm6YwQpNxjoQBpIg0pkNlGaO4w4hZIk13GthpjMxeY7ul3xZi9W9FgYAPPkMeu7R3-WbQm_cURmu8NjdNsYt0sLKrRJrNduuQNwva20cC-XtUzqcigHmW6wB-84hO3QdiXY6qPgEMu6QWfPpijfy1tuUqqc_f7ky_vvfDkj3W6tH59ssdEj2ID8inaZZA63X7jF5ecgpgj26Y6xR5LSwdPRRM1voHMtR-gg-U9D0p5PzHd2y9fxrhmvnBE1Huqi8oLtkMR4t0klQN1cIXiUrA4QR0AfEAko6x7sEmBbWqUxNbPggMlxaBHZMJQzAqgzjGQluOdNKsn4Yq8EJaedFDqeEChUqI6zbKE2EBaOCMMukiRTPkshYcUa6brpW68o-Y9XM1Pkf4xdk34XMM-biS9Iu3zdwhZm_VNc-4l_7DbBp
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PS8MwFA46D3qaPyb-Ngevnc2WpI23MTambnPohJ0cTfICIrRDOhD_epO0nVMQvJUc2pJH8r6XfN_3ELoi2lZoIlIB1xAHVCUmkIo4jjuEkMRGM6-FGY354JnezdisFKt7LQwAePIZNN2jv8vXmVq6ozK7wiN32xhtoi2b-Bkp5FrVxsst8helOo6E4vqp2xnxts24tgpsOY_s0PUkWuuh4lNIv47G1ccL5shbc5nLpvr85cv477_bRY1vtR6erPLQHtqAdB_Vq3YNuFy9B-jlIcUW7uE1a40sxZnBvY-S24IntiDFj-BzBe7-9HK-wSu-nn9NZ-G8oHFPZYUbdANN-71pdxCU7RWCV0HywAIJaIFFA1I4z7sYiOLG6Ux1pFmbaiaMhXZExgTAyMRGlHJmGFFSkFYYyfYhqqVZCkcIcxlKzY3bKjW1JaOEMEmEppIlMdWGH6OGm675ojDQmFczdfLH-CXaHkxHw_nwdnx_inZc-Dx_LjpDtfx9CecWB-Tywkf_C1yhs7I
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+%2F+IEEE+International+Working+Conference+on+Source+Code+Analysis+and+Manipulation&rft.atitle=On+the+Investigation+of+Exception+Pull+Request+Characteristics%3A+Exploring+the+Apache+Ecosystem&rft.au=Correia%2C+JoAo&rft.au=Coutinho%2C+Daniel&rft.au=Garcia%2C+Alessandro&rft.au=de+Mello%2C+Rafael&rft.date=2024-10-07&rft.pub=IEEE&rft.eissn=2470-6892&rft.spage=143&rft.epage=153&rft_id=info:doi/10.1109%2FSCAM63643.2024.00023&rft.externalDocID=10795367