Understanding class hierarchies using concept analysis

Author:

Snelting Gregor1,Tip Frank2

Affiliation:

1. Univ., Passau

2. IBM T.J. Watson Research Center

Abstract

A new method is presented for analyzing and reengineering class hierarchies. In our approach, a class hierarchy is processed along with a set of applications that use it, and a fine-grained analysis of the access and subtype relationships between objects, variables, and class members is performed. The result of this analysis is again a class hierarchy, which is guaranteed to be behaviorally equivalent to the original hierarchy, but in which each object only contains the members that are required. Our method is semantically well-founded in concept analysis : the new class hierarchy is a minimal and maximally factorized concept lattice that reflects the access and subtype relationships between variables, objects and class members. The method is primarily intended as a tool for finding imperfections in the design of class hierarchies, and can be used as the basis for tools that largely automate the process of reengineering such hierachies. The method can also be used as a space-optimizing source-to-source transformation that removes redundant fields from objects. A prototype implementation for Java has been constructed, and used to conduct several case studies. Our results demonstrate that the method can provide valuable insights into the usage of a class hierarchy in a specific context, and lead to useful restructuring proposals.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference43 articles.

1. Accredited Standards Committee X3. 1997. Working paper for draft proposed international standard for information systems|programming language C++. Doc. No. X3J16/97-0108. Accredited Standards Committee X3. 1997. Working paper for draft proposed international standard for information systems|programming language C++. Doc. No. X3J16/97-0108.

2. Andersen L. O. 1994. Program analysis and specialization for the c programming language. Ph.D. thesis DIKU University of Copenhagen. DIKU report 94/19. Andersen L. O. 1994. Program analysis and specialization for the c programming language. Ph.D. thesis DIKU University of Copenhagen. DIKU report 94/19.

3. Astudillo H. 1997. Maximizing object reuse with a biological metaphor. Theory and practice of object systems 3 4 235-251. 10.1002/(SICI)1096-9942(1997)3:4%3C235::AID-TAPO2%3E3.0.CO;2-R Astudillo H. 1997. Maximizing object reuse with a biological metaphor. Theory and practice of object systems 3 4 235-251. 10.1002/(SICI)1096-9942(1997)3:4%3C235::AID-TAPO2%3E3.0.CO;2-R

Cited by 60 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Semantifying formal concept analysis using description logics;Knowledge-Based Systems;2019-12

2. Semantic similarity measures for formal concept analysis using linked data and WordNet;Multimedia Tools and Applications;2019-02-21

3. A Hierarchical Clustering-Based Approach for Software Restructuring at the Package Level;2017 19th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC);2017-09

4. Understanding Variable Code: Reducing the Complexity by Integrating Variability Information;2016 IEEE International Conference on Software Maintenance and Evolution (ICSME);2016-10

5. ComboRT: A New Approach for Generating Regression Test Cases for Evolving Programs;International Journal of Software Engineering and Knowledge Engineering;2016-08

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3