• 제목/요약/키워드: Coupling and cohesion

검색결과 41건 처리시간 0.028초

클래스의 응집도와 결합도를 이용한 객체 지향 설계 재구조화 (Restructuring of Object-Oriented Designs using Cohesion and Coupling of Class)

  • 이종석;천은홍
    • 한국산업정보학회논문지
    • /
    • 제7권5호
    • /
    • pp.83-90
    • /
    • 2002
  • 최근의 많은 소프트웨어들은 규모가 방대하고 복잡하여 개발자가 도구를 사용하지 않고 수작업으로 설계를 재구조화하기 매우 어려우며 또한 많은 시간과 노력의 요구된다 본 논문에서는 클래스의 응집도와 결합도를 이용하여 객체 지향 설계를 자동으로 재구조화하는 방법을 기술한다 먼저 메소드들의 연관 관계를 규정하는 행렬을 응집도와 결합도를 이용한 메소드 사이의 거리로 정의한 후, 분리 클래스를 먼저 분할하고, 다음에 가장 낮은 응집도를 가진 클래스부터 분할하여 가장 거리가 가까운 클래스와 결합시킴으로써 설계를 재구조화한다.

  • PDF

클래스의 응집도와 결합도를 이용한 객체 지향 설계 재구조화 (Restructuring of Object-Oriented Designs using Cohesion and Coupling of Class)

  • 이종석
    • 한국산업정보학회:학술대회논문집
    • /
    • 한국산업정보학회 2002년도 춘계학술대회 논문집
    • /
    • pp.260-265
    • /
    • 2002
  • 최근의 많은 소프트웨어들은 규모가 방대하고 복잡하여 개발자가 도구를 사용하지 않고 수작업으로 설계를 재구조화하기 매우 어려우며 또한 많은 시간과 노력의 요구된다. 본 논문에서는 클래스의 응집도와 결합도를 이용하여 객체 지향 설계를 자동으로 재구조화하는 방법을 기술하다. 먼저 메소드들의 연관 관계를 규정하는 행렬을 응집도와 결합도를 이용하여 정의한 후 가장 낮은 응집도를 가진 클래스부터 분할하여 가장 가까운 클래스와 결합시킴으로써 설계를 재구조화한다.

  • PDF

객체 지향 시스템에서의 클래스 응집도와 결합도 메트릭 (Cohesion and Coupling Metric for Classes in Object - Oriented System)

  • 이종석;우치수
    • 한국정보과학회논문지:소프트웨어및응용
    • /
    • 제27권6호
    • /
    • pp.595-606
    • /
    • 2000
  • 소프트웨어 메트릭스는 개발 과정을 평가하고, 소프트웨어 개발 노력을 측정하며 소프트웨어의 질을 효과적으로 제어할 수 있도록 한다. 더욱이 현재와 같이 재사용성이 강조되고 있는 상황에서는 재사용성을 평가하는데 중요한 역할을 하는 응집도와 결합도에 대한 연구가 반드시 필요하다고 할 수 있다. 캡슐화, 상속, 다형성과 같은 개념을 이용하는 객체 지향 방법론은 기존의 절차적 방법론과는 다른 메트릭스를 요구하는데, 이에 대한 연구가 현재 활발히 진행되고 있다. 본 논문에서는 객체 지향 시스템의 응집도와 결합도를 측정하는 메트릭스를 제안하고, 이를 Weyuker와 Briand의 복잡도 성질을 이용하여 평가하였다. 그리고 C++로 작성된 소프트웨어에 실제 적용하여 응집도와 결합도를 추출하였다.

  • PDF

컴포넌트 설계에 대한 응집도와 결합도 메트릭스 (Cohesion and Coupling Metrics for Component Design Model)

  • 고병선;박재년
    • 정보처리학회논문지D
    • /
    • 제10D권5호
    • /
    • pp.745-752
    • /
    • 2003
  • 소프트웨어 개발의 독립성과 높은 생산성을 향상시키기 위한 재사용 기술로 컴포넌트 기반 개발 방법론은 널리 사용되게 되었다. 소프트웨어의 품질을 향상시키기 위해서는 측정 가능해야 하므로, 컴포넌트의 특성을 반영한 컴포넌트 메트릭스가 필요하다. 따라서 본 논문에서는 컴포넌트 기반 시스템의 컴포넌트 설계 정보에 기반한 컴포넌트 응집도와 결합도 메트릭스를 제안한다. 오퍼레이션이 컴포넌트의 서비스를 제공하기 위해 공통으로 사용하는 클래스에 대한 정보를 이용해 오퍼레이션 사용도를 구하고, 이를 통해 오퍼레이션 유사도를 구한다. 컴포넌트 응집도와 결합도는 오퍼레이션 유사도에 의해 계산되며, 컴포넌트 분석 단계에 추출 가능한 정보로부터 계산된다. 그리고 사례 연구를 통해 컴포넌트 메트릭스의 필요성을 객체지향 메트릭스와의 비교를 통해 살펴본다.

객체지향 관점의 결합도 & 응집도 재정의와 코드 가시화 시스템내 파서 플러그인화 구현 (Plug-in Diverse Parsers Within Code Visualization System with Redefining the Coupling and Cohesion in the Object-Oriented Paradigm)

  • 이진협;박지훈;변은영;손현승;서채연;김영철
    • 정보처리학회논문지:소프트웨어 및 데이터공학
    • /
    • 제6권5호
    • /
    • pp.229-234
    • /
    • 2017
  • 소프트웨어는 비가시적 특성과 기존 개발자들의 나쁜 코딩 습관인 중복된 코드, 불필요한 코드 등이 많아 복잡도가 높아져 소프트웨어의 고품질화가 저해된다. 그러므로 개발자가 소스코드의 복잡도를 쉽게 자동 식별하는 코드 가시화가 필요하다. 이를 위해, 공개 소스 기반의 가시화 도구를 구축하였다. 특히 나쁜 코드 패턴들을 식별하기 위해, 다양한 파서를 plug-in하는 방법을 제안한다. 또한 객체지향 관점에 맞는 결합도와 응집도 재정의를 통해, 자유로운 패턴을 입력하여 개발자가 원하는 나쁜 패턴을 추출하고자 한다.

독립척도 기반의 비즈니스 컴포넌트 식별 (Identification of Business Component based on Independence Metric)

  • 최미숙;조은숙
    • 정보처리학회논문지D
    • /
    • 제11D권3호
    • /
    • pp.625-634
    • /
    • 2004
  • 컴포넌트 아키텍쳐 설계를 위하여 재사용 가능한 독립적인 비즈니스 컴포넌트의 식별은 컴포넌트 기반 시스템 구축을 위하여 가장 중요한 작업이다. 그러나 기존 컴포넌트 기반 개발 방법론들의 컴포넌트 시별 방법은 대다수 개발자의 직관과 경험에 의존하고 있다. 또한 개발자들에 의해서 식별된 컴포넌트가 보다 독립적으로 잘 정의되었는지 평가할 기준이 없다. 따라서 본 논문에서는 개발자의 직관과 경험에 의존하는 비즈니스 컴포넌트 식별의 어려운 점을 보완하기 위하여 비즈니스 컴포넌트 식별의 평가 기준이 되는 메트릭을 컴포넌트의 특성을 부여하여 정의한다. 즉, 비즈니스 컴포넌트 식별을 위하여 컴포넌트 내의 응집도는 높고 컴포넌트 간의 결합도는 낮아야 하는 컴포넌트 특성을 적용한 응집척도와 결합척도를 제안한다. 또한 컴포넌트의 응집도와 결함도의 비율에 의하여 비즈니스 컴포넌트의 독립의 정도를 평가할 수 있는 독립척도를 제안한다. 본 논문에서 제안한 응집척도, 결합척도 그리고 독립척도를 사례에 적용하여 그 효율성을 평가한다.

관계 유형에 기반한 온톨로지 모듈 평가 메트릭 (Evaluation Metrics for Ontology Modules Based on the Relationship Type)

  • 오선주
    • 한국전자거래학회지
    • /
    • 제15권2호
    • /
    • pp.19-35
    • /
    • 2010
  • 온톨로지 모듈화에 대한 필요성이 증가하고 있으며 이에 따라 다양한 방법으로 온톨로지를 모듈화하려는 시도들이 이루어져 왔다. 그러나 모듈화 과정을 통하여 생성된 온톨로지 모듈의 품질과 모듈화 일치성을 평가할 수 있는 공통된 기준인 평가 메트릭에 대한 연구가 부족한 실정이다. 본 연구에서는 소프트웨어 메트릭 이론을 바탕으로 하여 온톨로지에 적합한 모듈 응집도와 결합도 메트릭을 제안한다. 새로이 제안하는 메트릭은 기존의 온톨로지 메트릭과 상이하게 온톨로지 모듈을 적용 대상으로 하며 모듈의 클래스가 다른 클래스와 형성하는 관계의 유형을 세분화시킴으로써 관계 유형에 따른 영향도를 각각 반영할 수 있도록 하였다. 또한 제안한 메트릭의 검증을 위하여 메트릭 검증 프레임워크를 이용하여 이론적으로 타당성을 검증하고 웹 상의 온톨로지를 모듈화하여 적용하는 실증적 실험을 하였다. 본 연구에서 제안하는 온톨로지 모듈 응집도와 결합도 메트릭은 온톨로지 엔지니어들이 온톨로지 모듈과 모듈화 기법을 선택하여 사용하는 기준으로 활용할 수 있을 것이다.

Effect of cohesion of infill materials on the performance of geocell-reinforced cohesive soil subgrade

  • Yang Zhao;Zheng Lu;Jie Liu;Lei Ye;Weizhang Xu;Hailin Yao
    • Geomechanics and Engineering
    • /
    • 제33권3호
    • /
    • pp.301-315
    • /
    • 2023
  • Adopting cohesive soil as geocell-pocket infill materials is not fully accepted by researchers in the field of road engineering. The cohesion that may inhibit the lateral limitation of geocells is a common vital idea that exists within every researcher. However, the influence of infill materials' cohesion on geocell-reinforced performance is still not thoroughly determined. The mechanism behind this still needs to be studied in depth. This study initially discussed the relationship between subgrade bearing capacity, geocells' contribution to reinforced performance, and infill materials' cohesion (IMC). A law was proposed that adopting the soil with high cohesion as infill materials benefited the subgrade bearing capacity, but this was attributed to the superior mechanical properties of infill materials rather than geocells' contribution. Moreover, the vertical and lateral deformation of subgrade, coupling shear stress and confining stress of geocells, and deformation of geocells were deeply studied to analyze the mechanism that high cohesion can inhibit the geocells' contribution. The results indicate that the infill materials with high cohesion result in the total displacement of the subgrade toward to deeper depth, not the lateral direction. These responses decrease the vertical coupling shear stress, confining stress, and normal displacement of geocell walls, which weaken the lateral limitation of geocells.

객체 지향 프로그램에서 클래스 재사용성 측정 모델링 (Modeling for Measurement of Class Reusability in Object-Oriented Programs)

  • 윤희환;구연설
    • 한국정보처리학회논문지
    • /
    • 제6권3호
    • /
    • pp.580-588
    • /
    • 1999
  • The reuse of software components from existing software system enhances productivity and reliability, decreases the cost of production in software development. The extraction of software components with high reusability from existing software system is very important in software reuse. The reuse of a class is classified into white-box reuse to reuse with modification and black-box reuse to reuse without modification. A class has the property of procedural language and object-oriented language. Therefore, it must measure reusability in consideration of two properties. In black-box reuse, independence of class is important quality. It can quantify through information hiding, coupling between objects, cohesion, etc. In white-box reuse, modification is the best important quality. It can quality through class complexity, coupling, cohesion, documentation, etc. We propose a new model for measurement of class reusability and the measure criteria in object-oriented program. A class that is measured by proposed model can judge whether the reuse with modification has the advantage or the reuse without modification has the advantage.

  • PDF

이산요소법-다물체동역학 연성해석 모델을 활용한 로타리 경운작업 시 표면 에너지에 따른 PTO 소요동력 예측 (Prediction of PTO Power Requirements according to Surface energy during Rotary Tillage using DEM-MBD Coupling Model)

  • 배보민;정대위;안장현;최세오;이상현;성시원;김연수;김용주
    • 드라이브 ㆍ 컨트롤
    • /
    • 제21권2호
    • /
    • pp.44-52
    • /
    • 2024
  • In this study, we predicted PTO power requirements based on torque predicted by the discrete element method and the multi-body dynamics coupling method. Six different scenarios were simulated to predict PTO power requirements in different soil conditions. The first scenario was a tillage operation on cohesionless soil, and the field was modeled using the Hertz-Mindlin contact model. In the second through sixth scenarios, tillage operations were performed on viscous soils, and the field was represented by the Hertz-Mindlin + JKR model for cohesion. To check the influence of surface energy, a parameter to reproduce cohesion, on the power requirement, a simple regression analysis was performed. The significance and appropriateness of the regression model were checked and found to be acceptable. The study findings are expected to be used in design optimization studies of agricultural machinery by predicting power requirements using the discrete element method and the multi-body dynamics coupling method and analyzing the effect of soil cohesion on the power requirement.