DRC: A Dependence Relationships Based Cohesion Measure for Classes

  • Authors:
  • Yuming Zhou;Lijie Wen;Jianmin Wang;Yujian Chen;Hongmin Lu;Baowen Xu

  • Affiliations:
  • -;-;-;-;-;-

  • Venue:
  • APSEC '03 Proceedings of the Tenth Asia-Pacific Software Engineering Conference Software Engineering Conference
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

In last decade, a large number of cohesion measuresbased on method-attribute references have beenproposed. However, virtually no attention has been paidto the abstract representation that objectively depicts therelationships among the members of a class. Specially,the flow dependence relationship among attributes, theindirect and potential dependence relationships amongclass members, and the direction of method-attributereferences are ignored. To address this problem, thispaper first identifies four types of basic dependencerelationships and uses a class member dependence graphto represent all dependences among the members of aclass. Then, a dependence relationships based measurefor measuring the class cohesiveness is proposed. Finally,this paper compares our class cohesion measure withtypical cohesion measures.