• DocumentCode
    2416634
  • Title

    DRC: a dependence relationships based cohesion measure for classes

  • Author

    Zhou, Yuming ; Wen, Lijie ; Wang, Jianmin ; Chen, Yujian ; Lu, Hongmin ; Xu, Baowen

  • Author_Institution
    Sch. of Software, Tsinghua Univ., Beijing, China
  • fYear
    2003
  • fDate
    10-12 Dec. 2003
  • Firstpage
    215
  • Lastpage
    223
  • Abstract
    A large number of cohesion measures based on method-attribute references have been proposed. However, virtually no attention has been paid to the abstract representation that objectively depicts the relationships among the members of a class. Specially, the flow dependence relationship among attributes, the indirect and potential dependence relationships among class members, and the direction of method-attribute references are ignored. To address this problem, we first identifies four types of basic dependence relationships and uses a class member dependence graph to represent all dependences among the members of a class. Then, a dependence relationships based measure for measuring the class cohesiveness is proposed. Finally, we compare our class cohesion measure with typical cohesion measures.
  • Keywords
    data encapsulation; inheritance; object-oriented programming; structured programming; class member dependence graph; dependence relationships based cohesion measure; indirect dependence relationship; method-attribute references; potential dependence relationship; Aggregates; Computer science; Encapsulation; Software engineering; Software measurement; Time measurement;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2003. Tenth Asia-Pacific
  • Print_ISBN
    0-7695-2011-1
  • Type

    conf

  • DOI
    10.1109/APSEC.2003.1254374
  • Filename
    1254374