...
首页> 外文期刊>International Journal of Computer Applications in Technology >An approach to automatically enforce object-oriented constraints
【24h】

An approach to automatically enforce object-oriented constraints

机译:自动执行面向对象约束的方法

获取原文
获取原文并翻译 | 示例

摘要

This paper presents an approach to automatically enforce object-oriented constraints during incremental C++ code changes. The approach is realised as a tool to keep track on code changes and to notify developers with violations of predefined OO constraints. The OO constraints under consideration are taken from object-oriented design metrics. The object-oriented metrics mainly cover class size, coupling between classes, number of subclasses and inheritance tree. The goal of this work is to help designers to monitor design during incremental code changes. Object-oriented design metrics are automatically extracted from source code. The extracted metrics are used by designers to define the constraints. The tool supports defining and managing these OO constraints. After a code change is committed, design changes are identified and predefined constraints are checked for possible violations. The evaluation of the tool shows that it helps in detecting violations of design constraints, and it saves time and efforts of developers.
机译:本文提出了一种在增量C ++代码更改期间自动强制实施面向对象约束的方法。该方法被实现为跟踪代码更改并通知开发人员违反预定义的OO约束的工具。正在考虑的OO约束来自面向对象的设计指标。面向对象的度量标准主要包括类大小,类之间的耦合,子类数和继承树。这项工作的目的是帮助设计人员在代码增量更改期间监视设计。面向对象的设计指标是从源代码中自动提取的。设计人员使用提取的度量标准来定义约束。该工具支持定义和管理这些OO约束。提交代码更改后,将识别设计更改,并检查预定义的约束是否可能违反。该工具的评估表明,它有助于检测违反设计约束的情况,并节省了开发人员的时间和精力。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号