Title:
|
AN ORDINAL METRIC FOR INTRA-METHOD CLASS COHESION |
Author(s):
|
Frank Tsui , Challa Bonja , Sheryl Duggins , Orlando Karam |
ISBN:
|
978-972-8924-56-0 |
Editors:
|
Nuno Guimarães and Pedro Isaías |
Year:
|
2008 |
Edition:
|
Single |
Keywords:
|
cohesion metrics, inter-method cohesion, intra-method cohesion |
Type:
|
Short Paper |
First Page:
|
333 |
Last Page:
|
338 |
Language:
|
English |
Cover:
|
|
Full Contents:
|
click to dowload
|
Paper Abstract:
|
Cohesion has been studied by numerous researchers and linked to good quality. More recently, the study of cohesion has
extended to object oriented design and programming. Many of the cohesion metrics in object oriented design address the
cohesion of a class through tracking the interactions of methods within the class and the accessing of instance variables in
the class and may be classified as inter-method cohesion metrics of a class. The individual methods within the class need
also be cohesive. That is, intra-method cohesion is also important.
In this paper, we propose an extension to the Bieman and Ott (1994) metrics and Bieman and Kang (1995, 1998) metrics,
which are based on the notion of data slices and may be used for either inter-method or intra-method cohesion. We also
propose an ordinal scale level intra-method cohesion metric, ITRA-C, which covers a broader set of situations and is in
turn based on the attributes of Effect and Proximity. |
|
|
|
|