基于多态性的UML时序图度量研究

被引:2
作者
周航 [1 ]
黄志球 [1 ]
王莉 [2 ]
机构
[1] 南京航空航天大学信息科学与技术学院
[2] 中国人民解放军工程兵指挥学院
关键词
度量; UML; 时序图; 多态性;
D O I
10.16356/j.1005-2615.2006.06.021
中图分类号
TP311.52 [];
学科分类号
081202 ; 0835 ;
摘要
目前对于时序图度量的研究没有考虑到面向对象软件的多态性特点,度量不够准确。本文结合面向对象多态性的特点和UML(Unified mode ling language)类图、时序图,运用图论的方法构建了有向无环图,并在此基础上提出了相适应的度量集,最后通过实例分析说明时序图的多态性扩展和度量集的有效性。同时,本文的研究也为软件测试用例的设计提供了指导。
引用
收藏
页码:759 / 763
页数:5
相关论文
共 9 条
[1]  
Com p lex ity m easures for ob-ject-orien ted program based on the en tropy. K im t K,,Sh in Y,W u C. A s ia-Pac ific Softw are Eng ineering Con ference . 1995
[2]  
R igoroustesting by m erg ing structura l and behav iora l UM Lrepresen tations. P ilska lns O,,A ndrew s A,F rance R,et a l. UM L Con ference . 2003
[3]  
O b ject-orien ted softw are construction. M eyer B. . 1997
[4]  
D efin ingm a in ta inab le com ponen ts in the des ign phase. P ilska lns O,,W illiam s D,A ndrew s A. P roceed ings of the 21st IEEE In ternationa l Con fer-ence on Softw are M a in tenance . 2005
[5]  
T esting po lym orph ic in-teractions in UM L sequence d iagram s. Supav ita S,Suw annasart T. P roceed-ings of the In ternationa l Con ference on In form ationT echno logy:Cod ing and Com pu ting(ITCC . 2005
[6]  
G raph theoretica l ind icators and refac-toring. Z imm er J A. Ex trem e P rogram ing and A g ile M eth-ods-XP/A g ile U n iverse . 2003
[7]  
OM G un ified m ode l-ing language. T he O b jectM anagem en t G roup. h ttp://www.um l.org . 2006
[8]  
UM L 2.0 in a nu tshe ll. P ilone D,,P itm an N. . 2005
[9]  
D es ign pat-terns. G amm a E,H e lm R,Johnson R,et a l. . 1995