首页 | 本学科首页   官方微博 | 高级检索  
     

面向对象软件度量中的内聚缺乏度分析
引用本文:刘宗田. 面向对象软件度量中的内聚缺乏度分析[J]. 计算机研究与发展, 2001, 38(2): 138-143
作者姓名:刘宗田
作者单位:上海大学计算机工程与科学学院
基金项目:国家机械发展基金资助! (96 JA0 2 0 5 )
摘    要:从理论和实验两方面对面向对象软件度量中内聚缺乏度本质与表现进行了较深入的分析 ,给出了内聚缺乏度的 3种定义 :α,β和γ,比较了它们的优点和缺点 .理论与实验均表明 ,α内聚缺乏度 (也就是 C& K内聚缺乏度 )和β内聚缺乏度均没有“度”的含义 .而γ内聚缺乏度有较好的特性 ,但对于方法数特别少的类 ,稳定性差 .还简要分析了基于α内聚缺乏度 (C& K内聚缺乏度 )派生出的两种内聚缺乏度定义 ,即β′和γ′内聚缺乏度 ,它们与β和γ内聚缺乏度有相同的性质 .并指出 ,内聚缺乏度研究应当与程序员心理学研究相结合 .

关 键 词:软件度量 面向对象 内聚缺乏度分析 图论 软件开发 软件工程

ANALYSIS OF LACK OF COHESION IN METHODS IN OBJECT ORIENTED SOFTWARE METRICS
Liu Zong-tian. ANALYSIS OF LACK OF COHESION IN METHODS IN OBJECT ORIENTED SOFTWARE METRICS[J]. Journal of Computer Research and Development, 2001, 38(2): 138-143
Authors:Liu Zong-tian
Abstract:A deep analysis is made of the essence and behaviors of lack of cohesion in methods (LCOM) in object-oriented software metrics from both theoretic and experimental aspects. Three kinds of LCOM definitions are given. They are α-LCOM, β-LOCM, and γ-LCOM. Their advantages and disadvantages are compared. Theory and experiment show that there is a lack of meanings of degree in α-LOCM (i. e. C&K LOCM) and in β-LCOM, γ-LCOM has better characteristics but poor stability in a class with a few of methods. Also analyzed are two kinds of LCOM definitions derived from α-LCOM, i. e. β′-LCOM and γ′-LOCM. They have the same characteristics as β-LCOM and γ-LOCM. It is indicated that the research on LCOM should be combined with the research on psychology about programmers.
Keywords:software metrics   lack of cohesion in methods   object oriented design
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号