절차중심 시스템으로부터 객체추출 방법 및 도구개발에 관한 연구

A Study on the Method and Tool Development for Extracting Objects from Procedure-oriented System

  • 김정종 (경남대학교 컴퓨터공학과) ;
  • 손창민 (경북실업전문대학 전자계산과)
  • 발행 : 1998.03.01

초록

객체지향 패러다임을 적용한 시스템으로 재개발한다면 재사용을 통한 소프트웨어 생산성 향상을 이룰 수 있고, 유지보수 비용을 절감할 수 있게 된다. 절차중심의 시스템을 객체지향 패러다임을 적용한 형태로 변환시킬 때 특히 코드에서 자동 혹은 반자동으로 객체를 추출하고자 하는 기법들이 많이 연구되고 있다. 그러나 이들 방법에서는 개념적인 객체의 추출이 용이하지 않다. 따라서 추출되는 객체의 개념적 무결성이 떨어지는 문제가 발생한다. 본 논문에서는 절차중심으로 개발된 프로그램을 객체지향 시스템으로 바꾸려고 할 때 발생되는 문제점중의 하나인 객체추출 방법 및 툴에 대해 논한다. 원시 코드 및 설계 복구 정보를 입력받은 후 먼저 실세계의 응용영역에 대한 객체 모델링을 이용하여 객체를 추출한다. 그리고, 코드의 기능, 코드의 전역변수 및 인터페이스를 분석하여 객체를 추출하므로써 객체의 개념적 무결성을 높이며, 클래스 계층구조의 구축을 용이하게 한다.

If there is redeveloping into the system applying the object-oriented paradigm, productivity Improvement of software through reuse would be accomplished and maintenance cost be reduced. When a procedure-oriented system is transformed to a type applying the object-oriented paradigm, various techniques are studied to extract objects from source code automatically or semi-automatically. However, it is not easy to extract conceptuat objects when those techniques are applied, This problem entails another problem which drops the conceptual integrity of the extracted objects. In this paper, we suggest an object extraction method and tool development to resolve the problem occurring at the time when thc pr"~r"m, dcveloped through procedure-oriented is transformed to an object-oriented system. The suggested method allow to extract the desired objects using object modeling for various application domains of the real world given source code and design recovery information. During the extraction process, functionality and global variables of the source code as well as its intcrface arc rigorously analyzed. This process can enhance the conceptual integrity of the objects and make easy to construct class hierarchies.

키워드