A Refactoring Architecture for Measuring and Identifying Spots of Design Patterns Insertion in Source Code

Luan Bukowitz Beluzzo, Simone Nasser Matos, Thyago Henrique Pacher

2018

Abstract

This work presents an architecture for detecting insertion spots of design patterns in an object-oriented source code. The proposed architecture contains a Service that implements Detection Methods (DMS) present in the literature such as identification of precursors, prolog rules and facts, among others. The DMS notifies the Metrics Service (MS) which patterns can be used. The evaluation of the application of the patterns undertaken by the MS is performed by means of quality metrics such as maintainability, flexibility, and so forth. The MS notifies the Client App (CA) of the advantages and disadvantages of using the eligible patterns. The CA interacts with the user to retrieve decisions about which changes to perform in source code according to the design pattern real benefit and notifies the Applier Service (AS), that applies the patterns in the source code. The difference between the proposed architecture and the literature is that it allows a thorough interaction with the user and it creates an extendable environment to cover several pattern detection/insertion methods. The architecture allows automated support to users engaged in the refactoring process based on design patterns.

Download


Paper Citation


in Harvard Style

Bukowitz Beluzzo L., Nasser Matos S. and Henrique Pacher T. (2018). A Refactoring Architecture for Measuring and Identifying Spots of Design Patterns Insertion in Source Code.In Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-320-9, pages 632-639. DOI: 10.5220/0006868006320639


in Bibtex Style

@conference{icsoft18,
author={Luan Bukowitz Beluzzo and Simone Nasser Matos and Thyago Henrique Pacher},
title={A Refactoring Architecture for Measuring and Identifying Spots of Design Patterns Insertion in Source Code},
booktitle={Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,},
year={2018},
pages={632-639},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006868006320639},
isbn={978-989-758-320-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - A Refactoring Architecture for Measuring and Identifying Spots of Design Patterns Insertion in Source Code
SN - 978-989-758-320-9
AU - Bukowitz Beluzzo L.
AU - Nasser Matos S.
AU - Henrique Pacher T.
PY - 2018
SP - 632
EP - 639
DO - 10.5220/0006868006320639