首页> 外国专利> Complexity metrics for data schemas

Complexity metrics for data schemas

机译:数据模式的复杂性指标

摘要

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循环复杂度度量的新定义的变体来确定复杂度值。用于计算架构复杂度的决策可以包括选择,出现约束,对替换组的元素引用,对扩展或受限类型的类型引用,多个根元素声明以及可空元素。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号