Combining structural and semantic cohesion measures to identify extract class refactoring. (30th September 2019)
- Record Type:
- Journal Article
- Title:
- Combining structural and semantic cohesion measures to identify extract class refactoring. (30th September 2019)
- Main Title:
- Combining structural and semantic cohesion measures to identify extract class refactoring
- Authors:
- Hammad, Mustafa
Alnabhan, Mohammad
Al-Sarairah, Sarah - Abstract:
- Class cohesion is a major design factor that affects the quality of classes. Classes that have related methods are easy to comprehend and maintain. Classes with many responsibilities are refactored by extracting some methods to new classes. This paper investigates class metrics to identify extract class refactoring opportunities to increase the degree of cohesion. An approach is presented that combines both the structural and the semantic metrics of classes to determine methods that need to be extracted in new classes. A case study is presented to evaluate the proposed approach. The aim of the study is to compare results obtained from applying semantic metrics, structural metrics, and combined metrics together. Results revealed that the proposed approach can provide a valuable set of extract class refactoring suggestions to improve class cohesion.
- Is Part Of:
- International journal of computer applications technology. Volume 61:Number 3(2019)
- Journal:
- International journal of computer applications technology
- Issue:
- Volume 61:Number 3(2019)
- Issue Display:
- Volume 61, Issue 3 (2019)
- Year:
- 2019
- Volume:
- 61
- Issue:
- 3
- Issue Sort Value:
- 2019-0061-0003-0000
- Page Start:
- 198
- Page End:
- 206
- Publication Date:
- 2019-09-30
- Subjects:
- class cohesion -- extract class refactoring -- SCOM metric -- Cosine distance -- LOCM metric -- Levenshtein distance
Technology -- Data processing -- Periodicals
620.00285 - Journal URLs:
- http://www.inderscience.com/jhome.php?jcode=ijcat ↗
http://www.inderscience.com/ ↗ - Languages:
- English
- ISSNs:
- 0952-8091
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 11797.xml