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

基于一种设计最优规则的OO设计度量分析研究
引用本文:李新叶,宋雨,曾林娜.基于一种设计最优规则的OO设计度量分析研究[J].微机发展,2005,15(11):118-119.
作者姓名:李新叶  宋雨  曾林娜
作者单位:华北电力大学 河北保定071003 (李新叶,宋雨),华北电力大学 河北保定071003(曾林娜)
摘    要:面向对象软件设计最优规则能够指导设计出优化结构,提高OO设计的结构质量,使设计更易维护。Riel规则是其中一种重要的设计最优规则。链接分析度量是针对OO类图模型质量的一种度量方法。文中研究了Riel规则及链接分析度量方法,并分析了链接分析度量方法与Riel规则及OO模型质量的关系。结论表明Riel规则指出了OO设计应避免创建“上帝”(God)类,链接分析度量能够识别出具有上帝(“God”)角色的类,指导设计者的设计遵守Riel规则。有效地使用链接分析度量,使OO设计符合Riel规则,可以及早发现问题,提出改进意见,从而提高OO软件的质量。

关 键 词:OO度量  可维护性  设计最优规则  OO模型质量
文章编号:1005-3751(2005)11-0118-02
收稿时间:2005-01-28
修稿时间:2005年1月28日

Research on Object- Oriented Design Metrics Based on a Specific Design Heuristics
LI Xin-ye, SONG Yu, ZENG Lin-na.Research on Object- Oriented Design Metrics Based on a Specific Design Heuristics[J].Microcomputer Development,2005,15(11):118-119.
Authors:LI Xin-ye  SONG Yu  ZENG Lin-na
Affiliation:North China Electric Power University, Baoding 071003, China
Abstract:OO design heuristics can direct to design a good structure and improve OO design,so that it can be maintained easily.Riel heuristics is one of the important design heuristics.The link-analysis metric is a kind of design metric to the quality of OO class diagram.In this paper,Riel heuristic is researched,then the link-analysis metric is introduced,the relation between link-analysis metric,Riel heuristic and the OO model quality is analyzed.The result is that Riel heuristic imposes OO design should avoid creating God class,the link-analysis metric can recognize God class and direct a design to abide to Riel heuristic.Using the link-analysis metric efficiently may find the design question early and improve OO design quality.
Keywords:object-oriented metrics  maintainability  design heuristics  object-oriented model quality
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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