Inicio  /  Applied Sciences  /  Vol: 10 Par: 17 (2020)  /  Artículo
ARTÍCULO
TITULO

An External Client-Based Approach for the Extract Class Refactoring: A Theoretical Model and an Empirical Approach

Musaad Alzahrani and Saad Alqithami    

Resumen

A commonly observed ambiguity of a class is simply a reflection of multiple methods? implementation within an individual class. The process of Extract Class refactoring is, therefore, used to separate the different responsibilities of a class into different classes. A major limitation in existing approaches of the Extract Class refactoring is based on factors that are internal to the class, i.e., structural and semantic relationships between methods, in order to identify and separate the responsibilities of the class which are inadequate in many cases. Thus, we propose a novel approach that exploits the clients of the class to support the Extract Class refactoring. The importance of this approach lies in its usefulness to support existing approaches since it involves factors external to the class, i.e., the clients. Moreover, an extensive empirical evaluation is presented to support the proposed method through the utilization of real classes selected from two open source systems. The result shows the potential of our proposed approach and usefulness that leads to an improvement in the quality of the considered classes.

 Artículos similares

       
 
M. Domaneschi, R. Cucuzza, L. Sardone, S. Londoño Lopez, M. Movahedi and G. C. Marano    
Random vibration analysis is a mathematical tool that offers great advantages in predicting the mechanical response of structural systems subjected to external dynamic loads whose nature is intrinsically stochastic, as in cases of sea waves, wind pressur... ver más
Revista: Computation

 
Grigorios Kostopoulos, Konstantinos Stamoulis, Vaios Lappas and Stelios K. Georgantzinos    
This study explores the shape-morphing behavior of 4D-printed structures made from Polylactic Acid (PLA), a prominent bio-sourced shape-memory polymer. Focusing on the response of these structures to thermal stimuli, this research investigates how variou... ver más
Revista: Aerospace

 
Chrysanthi Charatsari, Anastasios Michailidis, Martina Francescone, Marcello De Rosa, Dimitrios Aidonis, Luca Bartoli, Giuseppe La Rocca, Luca Camanzi and Evagelos D. Lioutas    
The digitalization of agriculture generates a new environment for the actors involved in agrifood production. In such a context, Agricultural Knowledge and Innovation Systems (AKISs) face the challenge of reconsidering their operational paradigms, redefi... ver más
Revista: Information

 
Zereng Chen, Qinghe Zhang, Guoquan Ran and Yang Nie    
A wetting and drying treatment for a three-dimensional discontinuous Galerkin hydrodynamic model without mode splitting (external and internal modes) was developed. In this approach, computing elements are classified into wet, dry, and semidry elements, ... ver más

 
Oscar Scussel, Michael J. Brennan, Jennifer M. Muggleton, Fabrício C. L. de Almeida, Phillip F. Joseph and Yan Gao    
In buried plastic water pipes, the predominantly fluid-borne wave is of particular interest, as it plays a key role in the propagation of leak noise. Consequently, it has been studied by several researchers to determine the speed of wave propagation and ... ver más
Revista: Acoustics