Next Article in Journal
Tongue Posture, Tongue Movements, Swallowing, and Cerebral Areas Activation: A Functional Magnetic Resonance Imaging Study
Next Article in Special Issue
Product Development Using Online Customer Reviews: A Case Study of the South Korean Subcompact Sport Utility Vehicles Market
Previous Article in Journal
Thermodynamics and Magnetism of YCo5 Compound Doped with Fe and Ni: An Ab Initio Study
Previous Article in Special Issue
Comparison on Search Failure between Hash Tables and a Functional Bloom Filter
Article

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

Department of Computer Science, Albaha University, Albaha 65799, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2020, 10(17), 6038; https://doi.org/10.3390/app10176038
Received: 22 July 2020 / Revised: 23 August 2020 / Accepted: 26 August 2020 / Published: 31 August 2020
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. View Full-Text
Keywords: software maintenance; extract class refactoring; client-based similarity; class cohesion software maintenance; extract class refactoring; client-based similarity; class cohesion
Show Figures

Figure 1

MDPI and ACS Style

Alzahrani, M.; Alqithami, S. An External Client-Based Approach for the Extract Class Refactoring: A Theoretical Model and an Empirical Approach. Appl. Sci. 2020, 10, 6038. https://doi.org/10.3390/app10176038

AMA Style

Alzahrani M, Alqithami S. An External Client-Based Approach for the Extract Class Refactoring: A Theoretical Model and an Empirical Approach. Applied Sciences. 2020; 10(17):6038. https://doi.org/10.3390/app10176038

Chicago/Turabian Style

Alzahrani, Musaad, and Saad Alqithami. 2020. "An External Client-Based Approach for the Extract Class Refactoring: A Theoretical Model and an Empirical Approach" Applied Sciences 10, no. 17: 6038. https://doi.org/10.3390/app10176038

Find Other Styles
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Access Map by Country/Region

1
Back to TopTop