|Table of Contents|

[1] Zhou Yuming, Xu Baowen,. Effect of slice scope on data slice-based class cohesion metrics [J]. Journal of Southeast University (English Edition), 2008, 24 (2): 174-177. [doi:10.3969/j.issn.1003-7985.2008.02.010]
Copy

Effect of slice scope on data slice-based class cohesion metrics()
Share:

Journal of Southeast University (English Edition)[ISSN:1003-7985/CN:32-1325/N]

Volumn:
24
Issue:
2008 2
Page:
174-177
Research Field:
Computer Science and Engineering
Publishing date:
2008-06-03

Info

Title:
Effect of slice scope on data slice-based class cohesion metrics
Author(s):
Zhou Yuming Xu Baowen
School of Computer Science and Engineering, Southeast University, Nanjing 210096, China
Keywords:
cohesion class data slice metrics object-oriented
PACS:
TP311.5
DOI:
10.3969/j.issn.1003-7985.2008.02.010
Abstract:
This paper suggests that a single class rather than methods should be used as the slice scope to compute class cohesion. First, for a given attribute, the statements in all methods that last define the attribute are computed. Then, the forward and backward data slices for this attribute are generated by using the class as the slice scope and are combined to compute the corresponding class data slice. Finally, the class cohesion is computed based on all class data slices for the attributes. Compared to traditional cohesion metrics that use methods as the slice scope, the proposed metrics that use a single class as slice scope take into account the possible interactions between the methods. The experimental results show that class cohesion can be more accurately measured when using the class as the slice scope.

References:

[1] Li W, Henry S.Object-oriented metrics that predict maintainability[J].Journal of Systems and Software, 1993, 23(2):111-122.
[2] Chidamber S R, Kemerer C F.A metrics suite for object-oriented design [J].IEEE Transactions on Software Engineering, 1994, 20(6):476-593.
[3] Bieman J M, Kang B K.Cohesion and reuse in an object-oriented system [C]//Proceedings of the 1995 Symposium on Software Reusability. Seattle, USA, 1995:259-262.
[4] Briand L C, Daly J W, Wüst J K.A unified framework for cohesion measurement in object-oriented systems [J].Empirical Software Engineering, 1998, 3(1):65-117.
[5] Bansiya J, Etzkorn L, Davis C, et al.A class cohesion metric for object-oriented designs [J].Journal of Object-Oriented Program, 1999, 11(8):47-52.
[6] Counsell S, Mendes E, Swift S, et al.Evaluation of an object-oriented cohesion metric through Hamming distances, BBKCS-02-10 [R].London:Birkbeck College of University of London, 2002.
[7] Counsell S, Swift S, Cramton J.The interpretation and utility of three cohesion metrics for object-oriented design [J].ACM Transactions on Software Engineering and Methodology, 2006, 15(2):123-149.
[8] Marcus A, Poshyvanyk D.The conceptual cohesion of classes [C]//Proceedings of the 21st IEEE International Conference on Software Maintenance.Budapest, Hungary, 2005:133-142.
[9] Chae H S, Kwon Y R, Bae D H.A cohesion measure for object-oriented classes [J].Software:Practice & Experience, 2000, 30(12):1405-1431.
[10] Chen Zhenqiang, Zhou Yuming, Xu Baowen, et al.A novel approach to measuring class cohesion based on dependence analysis [C]//Proceedings of the 18th International Conference on Software Maintenance. Montreal, Canada, 2002:377-384.
[11] Ott L M, Bieman J M.Program slices as an abstraction for cohesion measurement [J].Information and Software Technology, 1998, 40(11/12):691-699.
[12] Ott L M, Bieman J, Kang B K, et al.Developing measures of class cohesion for object-oriented software [C]//Proceedings of Annual Oregon Workshop on Software Metrics. Oregon, Portland, 1995.
[13] Weiser M D.Program slices:formal, psychological, and practical investigations of an automatic program abstraction method[D].Michigan: Department of Computer and Communication Sciences of University of Michigan, 1979.
[14] Weiser M D.Program slicing [J].IEEE Transactions on Software Engineering, 1984, 10(4):352-357.
[15] Longworth H D.Slice based program metrics[D].Michigan:Department of Computer Science of Michigan Technological University, 1985.
[16] Bieman J M, Ott L M.Measuring functional cohesion [J].IEEE Transactions on Software Engineering, 1994, 20(8):644-657.
[17] Ottenstein K J, Ottenstein L M.The program dependence graph in a software development environment [J].ACM SIGPLAN Notices, 1984, 19(5):177-184.
[18] Ott L M, Thuss J J.Slice based metrics for estimating cohesion [C]//Proceedings of the 9th Conference on Software Maintenance.Baltimore, Maryland, USA, 1993:71-81.

Memo

Memo:
Biography: Zhou Yuming(1974—), male, doctor, professor, cs.zhou.yuming@seu.edu.cn.
Foundation items: The National Natural Science Foundation of China(No.60425206, 60633010), the High Technology Research and Development Program of Jiangsu Province(No.BG2005032).
Citation: Zhou Yuming, Xu Baowen.Effect of slice scope on data slice-based class cohesion metrics[J].Journal of Southeast University(English Edition), 2008, 24(2):174-177.
Last Update: 2008-06-20