Repository logo
 
Publication

Removing code duplication with roles

dc.contributor.authorBarbosa, F.S.
dc.contributor.authorAguiar, Ademar
dc.date.accessioned2013-12-02T11:29:47Z
dc.date.available2013-12-02T11:29:47Z
dc.date.issued2013
dc.description.abstractThe existence of replicated code in a system makes that system harder to maintain and evolve. To remove replicated code the usual way is to use refactorings. However there are always clones that cannot be removed by refactorings alone. Some are due to lack of composition mechanisms in the underlying programming language. We propose the use of roles to remove such clones since roles provide a finer degree of composition. We sketch four role refactorings to remove code clones and apply them in a case study using the JHotDraw framework. Results show that roles have a positive impact in clone reduction as they were able to remove almost all clones traditional refactorings could not.por
dc.identifier.citationBARBOSA, Fernando Sérgio; AGUIAR, Ademar (2013) - Removing code duplication with roles. In International conference on Intelligent Software Methodologies, Tools and Techniques, 12, Budapeste, 22-24 de setembro. [S.l.]: IEEE. p. 1-6por
dc.identifier.urihttp://hdl.handle.net/10400.11/2121
dc.language.isoengpor
dc.peerreviewedyespor
dc.publisherIEEEpor
dc.subjectRolespor
dc.subjectCode duplicationpor
dc.subjectRefactoringpor
dc.titleRemoving code duplication with rolespor
dc.typeconference object
dspace.entity.typePublication
oaire.citation.conferencePlaceBudapest, Hungarypor
oaire.citation.title12th International conference on Intelligent Software Methodologies, Tools and Techniques (SoMeT13)por
person.familyNameAguiar
person.givenNameAdemar
person.identifierAAA-1740-2020
person.identifier.ciencia-idC71D-0BB3-C261
person.identifier.ciencia-id1C1D-15E0-1F48
person.identifier.orcid0000-0003-3683-5803
person.identifier.orcid0000-0002-4046-4729
person.identifier.scopus-author-id35753041400
rcaap.rightsrestrictedAccesspor
rcaap.typeconferenceObjectpor
relation.isAuthorOfPublicatione2f584dc-62c5-4b2c-ac37-41011b1245ac
relation.isAuthorOfPublication6b71ec83-5a1c-4f6e-9021-6eec52df70e6
relation.isAuthorOfPublication.latestForDiscoverye2f584dc-62c5-4b2c-ac37-41011b1245ac

Files

Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
SOMET2013_RemovingCodeDupWithRoles (cr).pdf
Size:
100.84 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
2.02 KB
Format:
Item-specific license agreed upon to submission
Description: