Complexity metrics for data schemas
    1.
    发明授权
    Complexity metrics for data schemas 失效
    数据模式的复杂性指标

    公开(公告)号: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环形复杂度度量的变体来确定复杂度值。 用于计算模式复杂性的决策可以包括选择,出现限制,对替代组的元素引用,对扩展或限制的类型的引用,多个根元素声明以及可追溯元素。

    Complexity metrics for data schemas
    3.
    发明申请
    Complexity metrics for data schemas 失效
    数据模式的复杂性指标

    公开(公告)号: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环形复杂度度量的变体来确定复杂度值。 用于计算模式复杂性的决策可以包括选择,出现限制,对替代组的元素引用,对扩展或限制的类型的引用,多个根元素声明以及可追溯元素。