Logo do repositório
 
Publicação

Trends on empty exception handlers for Java open source libraries

dc.contributor.authorNogueira, Ana Filipa
dc.contributor.authorRibeiro, José
dc.contributor.authorZenha-Rela, Mario A.
dc.date.accessioned2025-07-17T15:30:35Z
dc.date.available2025-07-17T15:30:35Z
dc.date.issued2017-03-23
dc.description.abstractException-handling structures provide a means to recover from unexpected or undesired flows that occur during software execution, allowing the developer to put the program in a valid state. Still, the application of proper exception-handling strategies is at the bottom of priorities for a great number of developers. Studies have already discussed this subject pinpointing that, frequently, the implementation of exception-handling mechanisms is enforced by compilers. As a consequence, several anti-patterns about Exception-handling are already identified in literature. In this study, we have picked several releases from different Java programs and we investigated one of the most well-known anti-patterns: the empty catch handlers. We have analysed how the empty handlers evolved through several releases of a software product. We have observed some common approaches in terms of empty catches’ evolution. For instance, often an empty catch is transformed into a empty catch with a comment. Moreover, for the majority of the programs, the percentage of empty handlers has decreased when comparing the first and last releases. Future work includes the automation of the analysis allowing the inclusion of data collected from other software artefacts: test suites and data from issue tracking systems.eng
dc.identifier.citationA. F. Nogueira, J. C. B. Ribeiro and M. A. Zenha-Rela, "Trends on empty exception handlers for Java open source libraries," 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER), Klagenfurt, Austria, 2017, pp. 412-416, doi: 10.1109/SANER.2017.7884644
dc.identifier.doi10.1109/saner.2017.7884644
dc.identifier.urihttp://hdl.handle.net/10400.8/13706
dc.language.isoeng
dc.peerreviewedyes
dc.publisherIEEE
dc.relation.hasversionhttps://ieeexplore.ieee.org/document/7884644
dc.relation.ispartof2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER)
dc.rights.uriN/A
dc.subjectException-Handling
dc.subjectOpen-Source
dc.subjectSoftware Evolution
dc.titleTrends on empty exception handlers for Java open source librarieseng
dc.typeconference paper
dspace.entity.typePublication
oaire.citation.conferenceDate2017-02-20
oaire.citation.conferencePlaceKlagenfurt, Austria
oaire.citation.endPage416
oaire.citation.startPage412
oaire.citation.titleIEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER)
oaire.versionhttp://purl.org/coar/version/c_970fb48d4fbd8a85
person.familyNameRibeiro
person.givenNameJosé
person.identifier662638
person.identifier.ciencia-id0C1B-5E3F-6830
person.identifier.orcid0000-0003-3019-1330
person.identifier.scopus-author-id55947747200
relation.isAuthorOfPublication4ad743c6-5db7-4208-be72-c182c7b0f8ef
relation.isAuthorOfPublication.latestForDiscovery4ad743c6-5db7-4208-be72-c182c7b0f8ef

Ficheiros

Principais
A mostrar 1 - 1 de 1
Miniatura indisponível
Nome:
Trends_on_empty_exception_handlers_for_Java_open_source_libraries.pdf
Tamanho:
230.89 KB
Formato:
Adobe Portable Document Format
Licença
A mostrar 1 - 1 de 1
Miniatura indisponível
Nome:
license.txt
Tamanho:
1.32 KB
Formato:
Item-specific license agreed upon to submission
Descrição: