-
公开(公告)号:US07861229B2
公开(公告)日:2010-12-28
申请号:US11376946
申请日:2006-03-16
IPC分类号: G06F9/44
CPC分类号: G06F8/10
摘要: A schema code complexity analysis architecture that computes complexity data for output to a code designer. The complexity data can be in the form of a number and/or complexity level. A schema component is provided for processing schema code, and a metrics component, for outputting a complexity value based on complexity of the schema code. In one implementation, the schema code is based on an XML schema, and the metrics component employs a newly-defined variation of a McCabe cyclomatic complexity metric to determine the complexity value. The decisions employed for computing schema complexity can include choices, occurrence constraints, element references to substitution groups, type references to types that are extended or restricted, a multiplicity of root element declarations, and nillable elements.
摘要翻译: 一种模式代码复杂性分析架构,用于计算复杂性数据以输出到代码设计器。 复杂度数据可以是数字和/或复杂度水平的形式。 提供用于处理模式代码的模式组件,以及用于基于模式代码的复杂度来输出复杂度值的度量组件。 在一个实现中,模式代码基于XML模式,并且度量组件使用新定义的McCabe环形复杂度度量的变体来确定复杂度值。 用于计算模式复杂性的决策可以包括选择,出现限制,对替代组的元素引用,对扩展或限制的类型的引用,多个根元素声明以及可追溯元素。
-
公开(公告)号:US07454413B2
公开(公告)日:2008-11-18
申请号:US11207221
申请日:2005-08-19
申请人: Priyamvadha P. Lakshminarayanan , Avner Y. Aharoni , Henricus Johannes Maria Meijer , David N. Schach
发明人: Priyamvadha P. Lakshminarayanan , Avner Y. Aharoni , Henricus Johannes Maria Meijer , David N. Schach
IPC分类号: G06F17/30
CPC分类号: G06F17/30926 , Y10S707/99933
摘要: This disclosure pertains to the interaction between query expressions and metadata. Metadata, for example provided by one or more schemas, can supply information over a domain to be queried and/or navigated. This metadata can be applied to the query expression, or vice versa, to return information about the domain and/or the query expression.
摘要翻译: 本公开涉及查询表达式和元数据之间的交互。 例如由一个或多个模式提供的元数据可以通过要查询和/或导航的域提供信息。 该元数据可以应用于查询表达式,反之亦然,以返回有关域和/或查询表达式的信息。
-
公开(公告)号:US20070220486A1
公开(公告)日:2007-09-20
申请号:US11376946
申请日:2006-03-16
IPC分类号: G06F9/44
CPC分类号: G06F8/10
摘要: A schema code complexity analysis architecture that computes complexity data for output to a code designer. The complexity data can be in the form of a number and/or complexity level. A schema component is provided for processing schema code, and a metrics component, for outputting a complexity value based on complexity of the schema code. In one implementation, the schema code is based on an XML schema, and the metrics component employs a newly-defined variation of a McCabe cyclomatic complexity metric to determine the complexity value. The decisions employed for computing schema complexity can include choices, occurrence constraints, element references to substitution groups, type references to types that are extended or restricted, a multiplicity of root element declarations, and nillable elements.
摘要翻译: 一种模式代码复杂性分析架构,用于计算复杂性数据以输出到代码设计器。 复杂度数据可以是数字和/或复杂度水平的形式。 提供用于处理模式代码的模式组件,以及用于基于模式代码的复杂度来输出复杂度值的度量组件。 在一个实现中,模式代码基于XML模式,并且度量组件使用新定义的McCabe环形复杂度度量的变体来确定复杂度值。 用于计算模式复杂性的决策可以包括选择,出现限制,对替代组的元素引用,对扩展或限制的类型的引用,多个根元素声明以及可追溯元素。
-
-