DocumentCode
2223442
Title
Measuring Package Cohesion Based on Context
Author
Zhou, Tianlin ; Xu, Baowen ; Shi, Liang ; Zhou, Yuming ; Chen, Lin
Author_Institution
Sch. of Comput. Sci. & Eng., Southeast Univ., Nanjing
fYear
2008
fDate
14-15 July 2008
Firstpage
127
Lastpage
132
Abstract
Packages play a critical role to understand, construct and maintain large-scale software systems. As an important design attribute, cohesion can be used to predict the quality of packages. Although a number of package cohesion metrics have been proposed in the last decade, they mainly converge on intra-package data dependences between components, which are inadequate to represent the semantics of packages in many cases. To address this problem, we propose a new cohesion metric for package called SCC on the assumption that two components are related tightly if they have similar contexts. Compared to existing works, SCC uses the common context of two components to infer whether they have close relation or not, which involves both inter- and intra- package data dependences. It is hence able to reveal semantic relations between components. We demonstrate the effectiveness of SCC by case studies.
Keywords
object-oriented programming; software maintenance; software metrics; software packages; software quality; SCC package cohesion metrics; large-scale software system maintenance; package quality; software component; Computer science; Conferences; Design engineering; Large-scale systems; Maintenance engineering; Packaging; Software maintenance; Software measurement; Software packages; Software systems; Cohesion; Package; Software measurement;
fLanguage
English
Publisher
ieee
Conference_Titel
Semantic Computing and Systems, 2008. WSCS '08. IEEE International Workshop on
Conference_Location
Huangshan
Print_ISBN
978-0-7695-3316-2
Electronic_ISBN
978-0-7695-3316-2
Type
conf
DOI
10.1109/WSCS.2008.23
Filename
4570828
Link To Document