Testes de design de doftware para checar recomendações arquiteturais do framework hibernate

Detalhes bibliográficos
Autor(a) principal: Silva, Taciano de Morais
Data de Publicação: 2019
Tipo de documento: Artigo de conferência
Idioma: eng
Título da fonte: Repositório Institucional da UFRN
Texto Completo: https://repositorio.ufrn.br/handle/123456789/47177
Resumo: Developers must follow some architectural recommendations in order to obtain the expected behavior of frameworks. For instance, Hibernate users must implement specific methods and annotate specific classes to properly store and retrieve elements in a database. If the code of the application fails to follow such recommendations, in extreme cases, the non-conformities with architectural rules can even lead to data loss. In this paper, we present an exploratory study on the conformity of 77 open-source projects regarding Hibernate architectural rules. We identified that 76 of 77 projects do not follow such rules and almost all persistent entities fail in at least one of them. We also found that architectural violations can cause abnormalities in the behavior during the use of the framework. We discuss the reasons and implications of the projects simply ignoring architectural recommendations.
id UFRN_6fc96eb5be49b0b2c665048bfc134e38
oai_identifier_str oai:https://repositorio.ufrn.br:123456789/47177
network_acronym_str UFRN
network_name_str Repositório Institucional da UFRN
repository_id_str
spelling Silva, Taciano de Morais2022-05-12T17:23:22Z2022-05-12T17:23:22Z2019-09-23SILVA, Taciano de Morais et al. Automated design tests to check Hibernate design recommendations. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 33., 2019, Salvador. Proceedings [...] . Porto Alegre: Sociedade Brasileira de Computação, 2019. p. 94-103. DOI: https://doi.org/10.1145/3350768.3351796. Disponível em: https://dl.acm.org/doi/10.1145/3350768.3351796. Acesso em: 12 maio 2022.978-1-4503-7651-8https://repositorio.ufrn.br/handle/123456789/4717710.1145/3350768.3351796Developers must follow some architectural recommendations in order to obtain the expected behavior of frameworks. For instance, Hibernate users must implement specific methods and annotate specific classes to properly store and retrieve elements in a database. If the code of the application fails to follow such recommendations, in extreme cases, the non-conformities with architectural rules can even lead to data loss. In this paper, we present an exploratory study on the conformity of 77 open-source projects regarding Hibernate architectural rules. We identified that 76 of 77 projects do not follow such rules and almost all persistent entities fail in at least one of them. We also found that architectural violations can cause abnormalities in the behavior during the use of the framework. We discuss the reasons and implications of the projects simply ignoring architectural recommendations.Developers must follow some architectural recommendations in order to obtain the expected behavior of frameworks. For instance, Hibernate users must implement specific methods and annotate specific classes to properly store and retrieve elements in a database. If the code of the application fails to follow such recommendations, in extreme cases, the non-conformities with architectural rules can even lead to data loss. In this paper, we present an exploratory study on the conformity of 77 open-source projects regarding Hibernate architectural rules. We identified that 76 of 77 projects do not follow such rules and almost all persistent entities fail in at least one of them. We also found that architectural violations can cause abnormalities in the behavior during the use of the framework. We discuss the reasons and implications of the projects simply ignoring architectural recommendationsdesign testsarchitectural rulesarchitectural violationsmining software repositoriesTestes de design de doftware para checar recomendações arquiteturais do framework hibernateAutomated design tests to check Hibernate design recommendationsinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/conferenceObjectengreponame:Repositório Institucional da UFRNinstname:Universidade Federal do Rio Grande do Norte (UFRN)instacron:UFRNinfo:eu-repo/semantics/openAccessORIGINALArtigo_SBES_2019___Design_Tests___Taciano.pdfArtigo_SBES_2019___Design_Tests___Taciano.pdfArtigo publicado no SBES 2019application/pdf583764https://repositorio.ufrn.br/bitstream/123456789/47177/1/Artigo_SBES_2019___Design_Tests___Taciano.pdfd4b62d54db843f942ad8fc4e95c7f747MD51LICENSElicense.txtlicense.txttext/plain; charset=utf-81484https://repositorio.ufrn.br/bitstream/123456789/47177/2/license.txte9597aa2854d128fd968be5edc8a28d9MD52123456789/471772022-05-12 14:23:23.366oai:https://repositorio.ufrn.br:123456789/47177Tk9OLUVYQ0xVU0lWRSBESVNUUklCVVRJT04gTElDRU5TRQoKCkJ5IHNpZ25pbmcgYW5kIGRlbGl2ZXJpbmcgdGhpcyBsaWNlbnNlLCBNci4gKGF1dGhvciBvciBjb3B5cmlnaHQgaG9sZGVyKToKCgphKSBHcmFudHMgdGhlIFVuaXZlcnNpZGFkZSBGZWRlcmFsIFJpbyBHcmFuZGUgZG8gTm9ydGUgdGhlIG5vbi1leGNsdXNpdmUgcmlnaHQg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UgZG9jdW1lbnQgZGVsaXZlcmVkLgoKSWYgdGhlIGRvY3VtZW50IHN1Ym1pdHRlZCBpcyBiYXNlZCBvbiBmdW5kZWQgb3Igc3VwcG9ydGVkIHdvcmsKYnkgYW5vdGhlciBpbnN0aXR1dGlvbiBvdGhlciB0aGFuIHRoZSBVbml2ZXJzaWRhZGUgRmVkZXJhbCBkbyBSaW8gR3JhbmRlIGRvIE5vcnRlLCBkZWNsYXJlcyB0aGF0IGl0IGhhcyBmdWxmaWxsZWQgYW55IG9ibGlnYXRpb25zIHJlcXVpcmVkIGJ5IHRoZSByZXNwZWN0aXZlIGFncmVlbWVudCBvciBhZ3JlZW1lbnQuCgpUaGUgVW5pdmVyc2lkYWRlIEZlZGVyYWwgZG8gUmlvIEdyYW5kZSBkbyBOb3J0ZSB3aWxsIGNsZWFybHkgaWRlbnRpZnkgaXRzIG5hbWUgKHMpIGFzIHRoZSBhdXRob3IgKHMpIG9yIGhvbGRlciAocykgb2YgdGhlIGRvY3VtZW50J3MgcmlnaHRzCmRlbGl2ZXJlZCwgYW5kIHdpbGwgbm90IG1ha2UgYW55IGNoYW5nZXMsIG90aGVyIHRoYW4gdGhvc2UgcGVybWl0dGVkIGJ5CnRoaXMgbGljZW5zZQo=Repositório de PublicaçõesPUBhttp://repositorio.ufrn.br/oai/opendoar:2022-05-12T17:23:23Repositório Institucional da UFRN - Universidade Federal do Rio Grande do Norte (UFRN)false
dc.title.pt_BR.fl_str_mv Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
dc.title.alternative.pt_BR.fl_str_mv Automated design tests to check Hibernate design recommendations
title Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
spellingShingle Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
Silva, Taciano de Morais
design tests
architectural rules
architectural violations
mining software repositories
title_short Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
title_full Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
title_fullStr Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
title_full_unstemmed Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
title_sort Testes de design de doftware para checar recomendações arquiteturais do framework hibernate
author Silva, Taciano de Morais
author_facet Silva, Taciano de Morais
author_role author
dc.contributor.author.fl_str_mv Silva, Taciano de Morais
dc.subject.por.fl_str_mv design tests
architectural rules
architectural violations
mining software repositories
topic design tests
architectural rules
architectural violations
mining software repositories
description Developers must follow some architectural recommendations in order to obtain the expected behavior of frameworks. For instance, Hibernate users must implement specific methods and annotate specific classes to properly store and retrieve elements in a database. If the code of the application fails to follow such recommendations, in extreme cases, the non-conformities with architectural rules can even lead to data loss. In this paper, we present an exploratory study on the conformity of 77 open-source projects regarding Hibernate architectural rules. We identified that 76 of 77 projects do not follow such rules and almost all persistent entities fail in at least one of them. We also found that architectural violations can cause abnormalities in the behavior during the use of the framework. We discuss the reasons and implications of the projects simply ignoring architectural recommendations.
publishDate 2019
dc.date.issued.fl_str_mv 2019-09-23
dc.date.accessioned.fl_str_mv 2022-05-12T17:23:22Z
dc.date.available.fl_str_mv 2022-05-12T17:23:22Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/conferenceObject
format conferenceObject
status_str publishedVersion
dc.identifier.citation.fl_str_mv SILVA, Taciano de Morais et al. Automated design tests to check Hibernate design recommendations. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 33., 2019, Salvador. Proceedings [...] . Porto Alegre: Sociedade Brasileira de Computação, 2019. p. 94-103. DOI: https://doi.org/10.1145/3350768.3351796. Disponível em: https://dl.acm.org/doi/10.1145/3350768.3351796. Acesso em: 12 maio 2022.
dc.identifier.uri.fl_str_mv https://repositorio.ufrn.br/handle/123456789/47177
dc.identifier.isbn.none.fl_str_mv 978-1-4503-7651-8
dc.identifier.doi.none.fl_str_mv 10.1145/3350768.3351796
identifier_str_mv SILVA, Taciano de Morais et al. Automated design tests to check Hibernate design recommendations. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 33., 2019, Salvador. Proceedings [...] . Porto Alegre: Sociedade Brasileira de Computação, 2019. p. 94-103. DOI: https://doi.org/10.1145/3350768.3351796. Disponível em: https://dl.acm.org/doi/10.1145/3350768.3351796. Acesso em: 12 maio 2022.
978-1-4503-7651-8
10.1145/3350768.3351796
url https://repositorio.ufrn.br/handle/123456789/47177
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
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
bitstream.url.fl_str_mv https://repositorio.ufrn.br/bitstream/123456789/47177/1/Artigo_SBES_2019___Design_Tests___Taciano.pdf
https://repositorio.ufrn.br/bitstream/123456789/47177/2/license.txt
bitstream.checksum.fl_str_mv d4b62d54db843f942ad8fc4e95c7f747
e9597aa2854d128fd968be5edc8a28d9
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
repository.name.fl_str_mv Repositório Institucional da UFRN - Universidade Federal do Rio Grande do Norte (UFRN)
repository.mail.fl_str_mv
_version_ 1814832657626824704