首页> 外国专利> System and method for identifying opportunities for refactoring in an object-oriented program

System and method for identifying opportunities for refactoring in an object-oriented program

机译:在面向对象程序中识别重构机会的系统和方法

摘要

There is described a technique for rearranging entities in an object oriented program. The proposed technique includes computing a property set for an entity, in a set of entities belonging to classes in said object-oriented program. The next step comprises identifying an entity having a maximum cardinality of the computed property set. From the set of entities, all such entities are identified that satisfy a condition that the ratio of the number of elements in the property set of the identified entity that are in common with the property set of said entity having maximum cardinality to the number of elements in the property set of the identified entity that are not in common with the property set of said entity having maximum cardinality is greater than or equal to a threshold value. A sub-group is formed comprising said entity having maximum cardinality of the computed property along with any identified entity that satisfies said condition.
机译:描述了一种用于在面向对象的程序中重新布置实体的技术。所提出的技术包括计算属于所述面向对象程序中的类的一组实体中的实体的属性集。下一步包括识别具有所计算的属性集的最大基数的实体。从实体集合中,识别出满足以下条件的所有这样的实体:所识别实体的属性集合中与所述实体的属性集合具有最大基数的元素数目之比与元素数目之比与最大基数的所述实体的属性集不同的是所标识实体的属性集中的阈值大于或等于阈值。形成一个子组,包括具有所计算属性的最大基数的所述实体以及满足所述条件的任何标识出的实体。

著录项

  • 公开/公告号US8381179B2

    专利类型

  • 公开/公告日2013-02-19

    原文格式PDF

  • 申请/专利权人 PVR MURPHY;

    申请/专利号US20080151748

  • 发明设计人 PVR MURPHY;

    申请日2008-05-08

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 16:44:04

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号