构造基于构件依赖关系矩阵的元数据模型  

Construct Metadata Model Based on Component Dependency Relationship Matrix

在线阅读下载全文

作  者:马良荔[1] 刘杰生 李娟[1] 

机构地区:[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.

关 键 词:构件 构件集成测试 构件依赖关系 构件元数据 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论] O158[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象