Measuring Class Cohesion Based on Dependence Analysis

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:xjw308
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Classes are the basic modules in object-oriented (OO) software, which consist of attributes and methods. Thus, in OO environment, the cohesion is mainly about the tightness of the attributes and methods of classes. This paper discusses the relationships between attributes and attributes, attributes and methods, methods and methods of a class based on dependence analysis. Then the paper presents methods to compute these dependencies. Based on these, the paper proposes a method to measure the class cohesion, which satisfies the properties that a good measurement should have. The approach overcomes the limitations of previous class cohesion measures, which consider only one or two of the three relationships in a class.
其他文献
为探究吕家坨井田地质构造格局,根据钻孔勘探资料,采用分形理论和趋势面分析方法,研究了井田7
An ultraviolet (UV) laser lift-off (LLO) technique was presented to form a roughened surface morphology on GaN membrane grown by metalorganic chemical vapor dep
This paper concerns the number and distributions of limit cycles in a Z2-equivariant quintic planar vector field. 25 limit cycles are found in this special plan
This study used the sequence of the mitochondrial Cytochrome b (Cytb) to estimate phylogenetic relationships among host Hepialidae insects of Cordyceps sinensis
Hf isotope measurement has been carried out for UHP metamorphic eclogite from Xindian by using LA-MC-ICP-MS technique. The result indicates that metamorphic gro
目前全球的经济处于一体化的发展的趋势,各地的科技和信息技术也得到了快速的发展,现阶段计算机网络技术也正在蓬勃的发展,多媒体技术也被逐渐应用到各种教学之中。目前,在体育项
The pure phases of alkaline earth molybdates MMoO4, where M=Mg, Ca, Sr or Ba, were synthesized via the calcination of the related citrato oxomolybdate complexes
A single-layer double-walled carbon nanotube (DWNT) membrane, with 100 cm2 in area, 50 nm in thickness, was spread by adding a few drops of ethanol (or acetone)
IntroductionSince the first discovery of Surface-Enhanced Raman Scattering(SERS) from pyridine molecules adsorbed at roughened silver electrodes in 1974 by Flei
Spherical microfossils are present in the Hindeodus parvus zone of the Lower Triassic in Ziyun, Guizhou Province. They generally range from 0.15 to 0.30 mm acro