Loading [MathJax]/extensions/MathZoom.js
Measuring Package Cohesion Based on Context | IEEE Conference Publication | IEEE Xplore

Measuring Package Cohesion Based on Context


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 qu...Show More

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.
Date of Conference: 14-15 July 2008
Date Added to IEEE Xplore: 22 July 2008
CD:978-0-7695-3316-2
Conference Location: Huangshan, China
No metrics found for this document.

1. Introduction

A package is a set of components for providing a high level of abstraction to comprehend and design softwares, generally corresponding to a physical directory. And a component is the basic unit of organizing codes, such as a. py file in Python, a. class file in Java, a pair of. h (.hpp) file and. cpp (.cxx) file in C++, etc. In the practical development, the package structure is the critical part of the software architecture. It is much easier for engineers to understand the architecture by browsing the package structure rather than reading the codes. Therefore, reasonable package structure improves not only the team development efficiency, but also the reusability, understandability, maintainability, and extensibility of softwares [1]–[3]

Usage
Select a Year
2024

View as

Total usage sinceJan 2011:110
012345JanFebMarAprMayJunJulAugSepOctNovDec000040001000
Year Total:5
Data is updated monthly. Usage includes PDF downloads and HTML views.
Contact IEEE to Subscribe

References

References is not available for this document.