检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]海军工程大学计算机工程系,武汉430033 [2]武汉7423信箱,武汉430074
出 处:《计算机科学》2008年第7期269-273,共5页Computer Science
基 金:湖北省自然科学基金资助(编号2005ABA266)
摘 要:构件集成到应用环境中实施集成测试时,会与其它构件产生相应的依赖关系。本文在对这些依赖关系进行概述的基础上,给出了构件直接依赖图、构件间接依赖图和构件依赖图的定义,并依据这些定义,提出了构件依赖矩阵(CmDM)的概念,用以描述构件Cm与构件系统中其它构件之间的依赖关系,接着进一步定义了复杂依赖关系矩阵(CmDDM),用以对依赖关系矩阵(CmDM)进行更为详细的描述。对依赖矩阵方法在回归测试、构件变更处理和软件重用的应用方法进行了形式化的描述,进一步将基于依赖关系矩阵的方法应用于学校内部开发的构件Register-StuGrade中,并另外选取了三个与之有关的构件,对其依赖关系进行分析,建立相应的构件依赖关系矩阵和复杂依赖关系矩阵,并与Orso方法、Spec方法(基于规范说明的方法)所生成的测试用例对于构件RegisterStuGrade源代码的覆盖情况进行了对比,从而证明了本方法的有效性。When a software component is integrated into application environment and implemented integrated testing, it may create the dependency relationship with other components. Based on summarizing these dependency relationships, definitions of component direct dependency graph, component indirect dependency graph and component dependency graph are given. According to these definitions, the concept of component dependency matrix(CmDM) is presented to describe the dependency relations between component Cm and other components in component system. And component detailed dependency matrix(CmDDM) is further presented to describe CmDM in detail. Based on these, the application methods of CmDM to regression testing, change processing and software reusing are formally described. Lastly, the above methods are applied to component RegisterStuGrade developed by ourselves before, and other three relevant components are chose. After analyzing the dependency relationships among them, component dependency matrix and component detailed dependency matrix are constructed. And our method is compared with Orso method and Spee method(the method only based on component specification)on the cover percentage to source code of component RegisterStuGrade, presenting the comparison results. The results illustrate that our method is more effectively.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222