Identifying and analyzing Java exception handling guidelines: a developers point-of-view

Detalhes bibliográficos
Ano de defesa: 2019
Autor(a) principal: Melo, Hugo Faria
Orientador(a): Não Informado pela instituição
Banca de defesa: Não Informado pela instituição
Tipo de documento: Tese
Tipo de acesso: Acesso aberto
Idioma: por
Instituição de defesa: Universidade Federal do Rio Grande do Norte
Brasil
UFRN
PROGRAMA DE PÓS-GRADUAÇÃO EM SISTEMAS E COMPUTAÇÃO
Programa de Pós-Graduação: Não Informado pela instituição
Departamento: Não Informado pela instituição
País: Não Informado pela instituição
Palavras-chave em Português:
Link de acesso: https://repositorio.ufrn.br/handle/123456789/30645
Resumo: The exception handling mechanism is a feature present in most modern programming languages which helps the development of fault tolerant systems. Despite being an old feature of the Java language, developers still struggle to use exception handling for even the most basic problems. Although the exception handling of a system is essentially a design problem, few works are intended to investigate Java exception handling from the developers’ point of view. In this thesis we explore the decisions made and solutions adopted by Java developers for exception handling in their projects. In total we conducted 6 studies, which consulted a total of 423 developers, including interviews and surveys, and analyzed the source code of 240 Java projects hosted on GitHub. Our results show that decisions regarding Java exception handling are not usually documented, and sometimes not even discussed verbally among the development team; that developers believe their code follows the adopted solutions; that developers learn about exception handling solutions through informal meetings and code inspection; that the adopted solutions in the project are verified in the source code through code review. We analyzed Java source code from 240 projects to verify compliance of 6 of the 31 Java exception handling solutions we identified, and found that the code often fails to deliver what was planned. Our research reveals a weakness in the design, implementation, and verification of Java exception handling that will help researchers and the community to design tools and other solutions that help developers to apply exception handling effectively.
id UFRN_b57e8795e5182f4a682852c1db763f59
oai_identifier_str oai:repositorio.ufrn.br:123456789/30645
network_acronym_str UFRN
network_name_str Repositório Institucional da UFRN
repository_id_str
spelling Identifying and analyzing Java exception handling guidelines: a developers point-of-viewTratamento de exceções; Linguagem Java; Estudo qualitativo.Java Exception HandlingException Handling DesignQualitative studyThe exception handling mechanism is a feature present in most modern programming languages which helps the development of fault tolerant systems. Despite being an old feature of the Java language, developers still struggle to use exception handling for even the most basic problems. Although the exception handling of a system is essentially a design problem, few works are intended to investigate Java exception handling from the developers’ point of view. In this thesis we explore the decisions made and solutions adopted by Java developers for exception handling in their projects. In total we conducted 6 studies, which consulted a total of 423 developers, including interviews and surveys, and analyzed the source code of 240 Java projects hosted on GitHub. Our results show that decisions regarding Java exception handling are not usually documented, and sometimes not even discussed verbally among the development team; that developers believe their code follows the adopted solutions; that developers learn about exception handling solutions through informal meetings and code inspection; that the adopted solutions in the project are verified in the source code through code review. We analyzed Java source code from 240 projects to verify compliance of 6 of the 31 Java exception handling solutions we identified, and found that the code often fails to deliver what was planned. Our research reveals a weakness in the design, implementation, and verification of Java exception handling that will help researchers and the community to design tools and other solutions that help developers to apply exception handling effectively.O mecanismo de tratamento de exceções é um recurso presente na maioria das linguagens de programação modernas para o desenvolvimento de sistemas tolerantes à falhas. Apesar de ser um recurso já antigo da linguagem Java, os desenvolvedores ainda sentem dificuldades em usar o tratamento de exceções até para os problemas mais básicos. Apesar do tratamento de exceções de um sistema ser essencialmente um problema de design, poucos trabalhos se propõem a investigar o tratamento de exceções Java do ponto de vista dos desenvolvedores. Nesta tese nós exploramos as decisões tomadas e soluções adotadas por desenvolvedores Java para o tratamento de exceções em seus projetos. Ao todo realizamos 6 estudos, que consultaram um total de 423 desenvolvedores, entre entrevistas e surveys, e analisou o código-fonte de 240 projetos Java hospedados no GitHub. Nossos resultados mostram que as decisões relacionadas ao tratamento de exceções Java não costumam ser documentadas, e por vezes não são sequer discutidas verbalmente entre a equipe de desenvolvedores; que os desenvolvedores acreditam que seus código-fonte seguem as soluções adotadas; que os desenvolvedores aprendem sobre as soluções para tratamento de exceções através de reuniões informais e inspeção de código; que as soluções adotadas no projeto são verificadas no código-fonte através de revisão de código. Analisamos código-fonte Java de 240 projetos para verificar o cumprimento de 7 das 31 soluções para o tratamento de exceções Java que identificamos, e constatamos que muitas vezes o código não cumpre o pretendido. Nossa pesquisa revela uma fragilidade na implementação e verificação do tratamento de exceções Java que ajudará pesquisadores e comunidade na elaboração de ferramentas e outras soluções que auxiliem desenvolvedores a aplicarem o tratamento de exceções com eficácia.Universidade Federal do Rio Grande do NorteBrasilUFRNPROGRAMA DE PÓS-GRADUAÇÃO EM SISTEMAS E COMPUTAÇÃOCoelho, Roberta de SouzaTreude, ChristophKulesza, UiráBarbosa, Eiji Adachi MedeirosFilho, Fernando José Castor de LimaAlmeida, Rodrigo Bonifacio deMelo, Hugo Faria2020-11-24T12:49:22Z2020-11-24T12:49:22Z2019-11-29info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/doctoralThesisapplication/pdfMELO, Hugo Faria. Identifying and analyzing Java exception handling guidelines: a developers point-of-view. 2019. 98f. Tese (Doutorado em Ciência da Computação) - Centro de Ciências Exatas e da Terra, Universidade Federal do Rio Grande do Norte, Natal, 2019.https://repositorio.ufrn.br/handle/123456789/30645ark:/41046/00130000001rcinfo:eu-repo/semantics/openAccessporreponame:Repositório Institucional da UFRNinstname:Universidade Federal do Rio Grande do Norte (UFRN)instacron:UFRN2020-11-29T07:44:44Zoai:repositorio.ufrn.br:123456789/30645Repositório InstitucionalPUBhttp://repositorio.ufrn.br/oai/repositorio@bczm.ufrn.bropendoar:2020-11-29T07:44:44Repositório Institucional da UFRN - Universidade Federal do Rio Grande do Norte (UFRN)false
dc.title.none.fl_str_mv Identifying and analyzing Java exception handling guidelines: a developers point-of-view
title Identifying and analyzing Java exception handling guidelines: a developers point-of-view
spellingShingle Identifying and analyzing Java exception handling guidelines: a developers point-of-view
Melo, Hugo Faria
Tratamento de exceções; Linguagem Java; Estudo qualitativo.
Java Exception Handling
Exception Handling Design
Qualitative study
title_short Identifying and analyzing Java exception handling guidelines: a developers point-of-view
title_full Identifying and analyzing Java exception handling guidelines: a developers point-of-view
title_fullStr Identifying and analyzing Java exception handling guidelines: a developers point-of-view
title_full_unstemmed Identifying and analyzing Java exception handling guidelines: a developers point-of-view
title_sort Identifying and analyzing Java exception handling guidelines: a developers point-of-view
author Melo, Hugo Faria
author_facet Melo, Hugo Faria
author_role author
dc.contributor.none.fl_str_mv Coelho, Roberta de Souza


Treude, Christoph

Kulesza, Uirá

Barbosa, Eiji Adachi Medeiros

Filho, Fernando José Castor de Lima

Almeida, Rodrigo Bonifacio de

dc.contributor.author.fl_str_mv Melo, Hugo Faria
dc.subject.por.fl_str_mv Tratamento de exceções; Linguagem Java; Estudo qualitativo.
Java Exception Handling
Exception Handling Design
Qualitative study
topic Tratamento de exceções; Linguagem Java; Estudo qualitativo.
Java Exception Handling
Exception Handling Design
Qualitative study
description The exception handling mechanism is a feature present in most modern programming languages which helps the development of fault tolerant systems. Despite being an old feature of the Java language, developers still struggle to use exception handling for even the most basic problems. Although the exception handling of a system is essentially a design problem, few works are intended to investigate Java exception handling from the developers’ point of view. In this thesis we explore the decisions made and solutions adopted by Java developers for exception handling in their projects. In total we conducted 6 studies, which consulted a total of 423 developers, including interviews and surveys, and analyzed the source code of 240 Java projects hosted on GitHub. Our results show that decisions regarding Java exception handling are not usually documented, and sometimes not even discussed verbally among the development team; that developers believe their code follows the adopted solutions; that developers learn about exception handling solutions through informal meetings and code inspection; that the adopted solutions in the project are verified in the source code through code review. We analyzed Java source code from 240 projects to verify compliance of 6 of the 31 Java exception handling solutions we identified, and found that the code often fails to deliver what was planned. Our research reveals a weakness in the design, implementation, and verification of Java exception handling that will help researchers and the community to design tools and other solutions that help developers to apply exception handling effectively.
publishDate 2019
dc.date.none.fl_str_mv 2019-11-29
2020-11-24T12:49:22Z
2020-11-24T12:49:22Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/doctoralThesis
format doctoralThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv MELO, Hugo Faria. Identifying and analyzing Java exception handling guidelines: a developers point-of-view. 2019. 98f. Tese (Doutorado em Ciência da Computação) - Centro de Ciências Exatas e da Terra, Universidade Federal do Rio Grande do Norte, Natal, 2019.
https://repositorio.ufrn.br/handle/123456789/30645
dc.identifier.dark.fl_str_mv ark:/41046/00130000001rc
identifier_str_mv MELO, Hugo Faria. Identifying and analyzing Java exception handling guidelines: a developers point-of-view. 2019. 98f. Tese (Doutorado em Ciência da Computação) - Centro de Ciências Exatas e da Terra, Universidade Federal do Rio Grande do Norte, Natal, 2019.
ark:/41046/00130000001rc
url https://repositorio.ufrn.br/handle/123456789/30645
dc.language.iso.fl_str_mv por
language por
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Universidade Federal do Rio Grande do Norte
Brasil
UFRN
PROGRAMA DE PÓS-GRADUAÇÃO EM SISTEMAS E COMPUTAÇÃO
publisher.none.fl_str_mv Universidade Federal do Rio Grande do Norte
Brasil
UFRN
PROGRAMA DE PÓS-GRADUAÇÃO EM SISTEMAS E COMPUTAÇÃO
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFRN
instname:Universidade Federal do Rio Grande do Norte (UFRN)
instacron:UFRN
instname_str Universidade Federal do Rio Grande do Norte (UFRN)
instacron_str UFRN
institution UFRN
reponame_str Repositório Institucional da UFRN
collection Repositório Institucional da UFRN
repository.name.fl_str_mv Repositório Institucional da UFRN - Universidade Federal do Rio Grande do Norte (UFRN)
repository.mail.fl_str_mv repositorio@bczm.ufrn.br
_version_ 1846688645479661568