Please use this identifier to cite or link to this item: https://hdl.handle.net/10316/114668
DC FieldValueLanguage
dc.contributor.authorRodrigues, Elder-
dc.contributor.authorPereira, José D'Abruzzo-
dc.contributor.authorMontecchi, Leonardo-
dc.date.accessioned2024-04-04T10:57:59Z-
dc.date.available2024-04-04T10:57:59Z-
dc.date.issued2023-
dc.identifier.issn2169-3536pt
dc.identifier.urihttps://hdl.handle.net/10316/114668-
dc.description.abstractCoding conventions are a means to improve the reliability of software systems, and they are especially useful to avoid the introduction of known bugs or security flaws. However, coding rules typically come in the form of text written in natural language, which makes them hard to manage and to enforce. Following the model-driven engineering principles, in this paper we propose an approach for the management and enforcement of coding conventions using structured models. We define the Coding Conventions Specification Language (CCSL), a language to define coding rules as structured specifications, from which checkers are derived automatically by code generation. To evaluate our approach, we run a thorough experiment on 8 real open-source projects and 77 coding rules for the Java language, comparing the violations identified by our checkers with those reported by the PMD static analysis tool. The obtained results are promising and confirm the feasibility of the approach. The experiment also revealed that textual coding rules rarely document all the necessary information to write a reliable checker.pt
dc.language.isoengpt
dc.publisherIEEEpt
dc.relation2020.04503.BDpt
dc.relationUIDB/00326/2020pt
dc.relationUIDP/00326/2020pt
dc.rightsopenAccesspt
dc.rights.urihttp://creativecommons.org/licenses/by-nc-nd/4.0/pt
dc.subjectCoding standardspt
dc.subjectcoding conventionspt
dc.subjectmodel-driven engineeringpt
dc.subjectdomain-specific languagespt
dc.subjectstatic analysispt
dc.titleA Model-Driven Approach for the Management and Enforcement of Coding Conventionspt
dc.typearticle-
degois.publication.firstPage25735pt
degois.publication.lastPage25754pt
degois.publication.titleIEEE Accesspt
dc.peerreviewedyespt
dc.identifier.doi10.1109/ACCESS.2023.3256886pt
degois.publication.volume11pt
dc.date.embargo2023-01-01*
uc.date.periodoEmbargo0pt
item.openairetypearticle-
item.fulltextCom Texto completo-
item.languageiso639-1en-
item.grantfulltextopen-
item.cerifentitytypePublications-
item.openairecristypehttp://purl.org/coar/resource_type/c_18cf-
crisitem.project.grantnoCISUC- CENTRE FOR INFORMATICS AND SYSTEMS OF THE UNIVERSITY OF COIMBRA-
crisitem.author.orcid0000-0003-0717-3396-
Appears in Collections:FCTUC Eng.Informática - Artigos em Revistas Internacionais
I&D CISUC - Artigos em Revistas Internacionais
Files in This Item:
Show simple item record

Page view(s)

32
checked on Jul 17, 2024

Download(s)

18
checked on Jul 17, 2024

Google ScholarTM

Check

Altmetric

Altmetric


This item is licensed under a Creative Commons License Creative Commons