Utilize este identificador para referenciar este registo: http://hdl.handle.net/10400.11/2121
Título: Removing code duplication with roles
Autor: Barbosa, F.S.R.B.M.
Aguiar, Ademar
Palavras-chave: Roles
Code duplication
Data: Set-2013
Editora: IEEE
Citação: BARBOSA, 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-6
Resumo: The 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.
Peer review: yes
URI: http://hdl.handle.net/10400.11/2121
Aparece nas colecções:ESTCB - Comunicações em encontros científicos e técnicos

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
SOMET2013_RemovingCodeDupWithRoles (cr).pdf100,84 kBAdobe PDFVer/Abrir    Acesso Restrito. Solicitar cópia ao autor!

FacebookTwitterDeliciousLinkedInDiggGoogle BookmarksMySpace
Formato BibTex MendeleyEndnote Degois 

Todos os registos no repositório estão protegidos por leis de copyright, com todos os direitos reservados.