检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:余双双[1] 曾一[1,2] 刘慧君[1,2] 杨燕宁[1]
机构地区:[1]重庆大学计算机学院,重庆400030 [2]软件理论与技术重庆市重点实验室,重庆400030
出 处:《计算机应用与软件》2017年第2期8-13,47,共7页Computer Applications and Software
基 金:国家自然科学基金项目(61272194)
摘 要:UML模型是面向对象系统开发常用的建模语言,在由模型生成代码的过程中常常出现不一致问题,从而造成系统后期测试成本以及维护成本的增加。而UML模型中的多态性因执行路径的不确定性会对模型与代码的一致性产生重要影响,因此针对此问题提出以UML模型为基准,针对多态特性,对UML模型类图、时序图以及Java接口代码信息进行解析预处理从而获取时序调用图以及代码调用图,并对其进行多态性扩展。根据模型的信息来对代码的信息进行检测,如果出现不一致问题时根据模型信息对代码信息进行修改。通过以上提出的方法能够更加完善模型与代码的一致性检测,使检测更为有效、精准。UML is a common modeling language for object-oriented system development. When the code is generated from the model,the inconsistent problem always exist and it will increase the later test cost and the maintenance cost.Since uncertainty of execution paths of polymorphism in UML model which makes important impact on consistency detection of the model and the code,using the UML model as the benchmark and the polymorphism(Overloading and Overriding) as the key elements,the Sequence Diagram-Call Graph(SD-CG) and Code Call Graph(CCG) is able to be obtained by analyzing and preprocessing the class diagram,sequence diagram and the Java interface code information,which should be treated with polymorphic extension. The code information is detected according to the information of the model,if there are inconsistent problems,the code information will be modified according to the model information. The proposed method can improve the consistency detection of the model and the code,getting more effective and accurate detection.
分 类 号:TP3[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.227