Software similarity-based functional cohesion metric

被引:17
作者
Al Dallal, J. [1 ]
机构
[1] Kuwait Univ, Coll Women, Dept Informat Sci, Safat 13060, Kuwait
关键词
D O I
10.1049/iet-sen:20080054
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Cohesion is an important factor used in evaluating software design quality and modularity. The cohesion of a module refers to the relatedness of the module components. In software engineering, highly cohesive modules are highly desirable because of their high reusability and maintainability. Cohesion is classified according to levels. Functional cohesion, the strongest level, refers to how closely the module parts that contribute to different outputs are related. Here, a similarity-based functional cohesion (SBFC) metric is introduced to measure the functional cohesion of a module in a procedural or object-oriented program. The metric uses the degree of similarity between the data slices of the module as a basis to measure functional cohesion. The appropriateness of the metric is evaluated both theoretically and empirically. The evaluation results show that the metric does as well as some earlier metrics in indicating the level of cohesiveness and it does better than some in terms of providing different values for the modules of different cohesion. In addition, the SBFC metric is used as an indicator for restructuring the weakly cohesive modules.
引用
收藏
页码:46 / 57
页数:12
相关论文
共 23 条
[21]  
Ott L. M., 1993, Proceedings First International Software Metrics Symposium (Cat. No.93TH0518-1), P71, DOI 10.1109/METRIC.1993.263799
[22]   MEASURING THE QUALITY OF STRUCTURED DESIGNS [J].
TROY, DA ;
ZWEBEN, SH .
JOURNAL OF SYSTEMS AND SOFTWARE, 1981, 2 (02) :113-120
[23]   PROGRAM SLICING [J].
WEISER, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) :352-357