DocumentCode :
1986281
Title :
A New Cohesion Metric and Restructuring Technique for Object Oriented Paradigm
Author :
Kaya, Mehmet ; Fawcett, James W.
Author_Institution :
Dept. of Comput. Sci. & Electr. Eng., Syracuse Univ., Syracuse, NY, USA
fYear :
2012
fDate :
16-20 July 2012
Firstpage :
296
Lastpage :
301
Abstract :
When software systems grow large during development and maintenance, they may lose their quality and become complex to read, understand and maintain. A software component should be of good quality for the readers of the code to find its intents clear and the code behavior obvious. When this is the case it will be less costly to maintain the code and when its intent is clear, the code will be reusable, which is one of the key features of object oriented programming. Several software quality metrics have been proposed to measure overall or partial quality of software units such as classes or procedures. Cohesion is one of the most widely used metrics to measure quality of a software unit in terms of the relatedness of its components. This work presents a new cohesion metric based on program slicing and graph theory for units using object oriented paradigm. One can make a judgment on clarity of intent of the code using the metric we propose here. We aim to find out if a class is cohesive, handling one specific operation. We identify all program statements which constitute operations in the same abstraction domain. When a class has more than one abstraction, this technique suggests a restructuring for generating more cohesive units based on this new cohesion metric.
Keywords :
graph theory; object-oriented programming; program compilers; program slicing; software maintenance; software metrics; software quality; software reusability; abstraction domain; code generation; code maintenance; code reusability; cohesion metric; graph theory; object oriented programming; program slicing; program statement identification; restructuring technique; software component; software development; software maintenance; software quality measure; software quality metrics; software system; software unit; Conferences; Maintenance engineering; Object oriented programming; Software; Software measurement; Code Restructuring; Extract Class; Graph Theory; Object Oriented Cohesion Metric; Program Slicing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference Workshops (COMPSACW), 2012 IEEE 36th Annual
Conference_Location :
Izmir
Print_ISBN :
978-1-4673-2714-5
Electronic_ISBN :
978-0-7695-4758-9
Type :
conf
DOI :
10.1109/COMPSACW.2012.61
Filename :
6341591
Link To Document :
بازگشت