Cohesion is one of the most important factors for software quality aswell as maintainability, reliability and reusability. Cohesion isdefined as a quality attribute that seeks to measure the singleness ofthe purpose of a module. A coincidental cohesion is the lowest degreeof cohesion in a module. A functional cohesion is the highest degreeof cohesion in a module. For software managers and engineers, it willbe inevitable to introduce a well-defined and well-examined cohesionmetrics to produce desirable cohesion software. In this paper, wepropose a function-oriented cohesion metrics based on the analysis oflive variables and live span. They will be developed in a mathematicalmodel, and be experimented using typical cohesion examples. As of theresults of experiments, the proposed cohesion metrics not only matchesthe Fenton's cohesion strength spectrum but also meets nonlinear scalethat is asserted by Pressman and Somerville in their literatures.
關聯:
全國計算機會議論文集(一)=Proceedings of the 1999 National Computer Symposium ( I ),頁A171-A178