计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2010年
12期
64-67,71
,共5页
曾─%柴艳欣%吴光金%程全良%王艳丽%李娟
曾─%柴豔訢%吳光金%程全良%王豔麗%李娟
증─%시염흔%오광금%정전량%왕염려%리연
面向对象软件%复杂性度量%复杂性分解
麵嚮對象軟件%複雜性度量%複雜性分解
면향대상연건%복잡성도량%복잡성분해
简要分析了已有的几种面向对象软件复杂性度量方法,指出了这些方法在反映类复杂性方面存在的不足,运用软件复杂性分解的思想,提出了一种新的类复杂性度量方法.该方法将类复杂性分解为类成员复杂性、类成员关系复杂性和封装复杂性三个复杂性分量,对各分量分别度量,进而得出总复杂性.其中,类成员复杂性采用类所实现的成员的复杂性SIMC、类接口复杂性之和SCIC反映;类成员关系复杂性通过对文中提出的伪二部图进行分析反映;封装复杂性采用成员可见率反映.最后,通过实例验证了该方法的有效性和可行性.
簡要分析瞭已有的幾種麵嚮對象軟件複雜性度量方法,指齣瞭這些方法在反映類複雜性方麵存在的不足,運用軟件複雜性分解的思想,提齣瞭一種新的類複雜性度量方法.該方法將類複雜性分解為類成員複雜性、類成員關繫複雜性和封裝複雜性三箇複雜性分量,對各分量分彆度量,進而得齣總複雜性.其中,類成員複雜性採用類所實現的成員的複雜性SIMC、類接口複雜性之和SCIC反映;類成員關繫複雜性通過對文中提齣的偽二部圖進行分析反映;封裝複雜性採用成員可見率反映.最後,通過實例驗證瞭該方法的有效性和可行性.
간요분석료이유적궤충면향대상연건복잡성도량방법,지출료저사방법재반영류복잡성방면존재적불족,운용연건복잡성분해적사상,제출료일충신적류복잡성도량방법.해방법장류복잡성분해위류성원복잡성、류성원관계복잡성화봉장복잡성삼개복잡성분량,대각분량분별도량,진이득출총복잡성.기중,류성원복잡성채용류소실현적성원적복잡성SIMC、류접구복잡성지화SCIC반영;류성원관계복잡성통과대문중제출적위이부도진행분석반영;봉장복잡성채용성원가견솔반영.최후,통과실례험증료해방법적유효성화가행성.