• Title/Summary/Keyword: Coupling and cohesion

Search Result 41, Processing Time 0.025 seconds

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

  • 이종석;천은홍
    • Journal of Korea Society of Industrial Information Systems
    • /
    • v.7 no.5
    • /
    • pp.83-90
    • /
    • 2002
  • Recent commercial systems are too large and too complex to restructure their design by hand without tools and cost too much time and effort. This thesis presents a restructuring approach using cohesion and coupling of classes to change object-oriented designs automatically. The matrix which represents the relation between methods is defined by distance between methods using cohesion and coupling, Class restructuring starts to isolate to dividing class, selects the class to have the lowest cohesion and combines the selected class with the closest class.

  • PDF

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

  • 이종석
    • Proceedings of the Korea Society for Industrial Systems Conference
    • /
    • 2002.06a
    • /
    • pp.260-265
    • /
    • 2002
  • Recent commercial systems are too large and too complex to restructure their design by hand without tools and cost too much time and effort. This thesis presents a restructuring approach using cohesion and coupling of classes to change object-oriented designs automatically. The matrix which represents the relation between methods is defined using cohesion and coupling, restructuring approach selects the class to have the lowest cohesion and combines the selected class with the closest class.

  • PDF

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

  • Lee, Jong-Seok;Wu, Chi-Su
    • Journal of KIISE:Software and Applications
    • /
    • v.27 no.6
    • /
    • pp.595-606
    • /
    • 2000
  • Software metrics evaluate the development process, measure the software development effort, and control the software quality effectively. Moreover in a current status to emphasize reusability, it is necessary to study of cohesion and coupling that plays an important role in evaluating reusability. Object oriented methodology to use the concept like encapsulation, inheritance, and polymorphism demands metrics that are different from existing procedural methodology, so a study for object oriented metrics is in progress at the present time. In this paper, we propose cohesion and coupling metrics for object oriented program, evaluate the proposed metrics by using the complexity properties proposed by Weyuker and Briand, and extract cohesion and coupling from C++ code.

  • PDF

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

  • Ko, Byung-Sun;Park, Jai-Nyun
    • The KIPS Transactions:PartD
    • /
    • v.10D no.5
    • /
    • pp.745-752
    • /
    • 2003
  • The component-based development methodology becomes famous as the reuse technology for independence and productivity of software development It is necessary component metrics for component-based systems, because It should be measurable to improve the quality of the software. Hence, in this paper, we propose component cohesion and coupling metrics which is reflected in characteristics of component. The operation use value is calculated by the information of classes interface commonly uses to offer the component's service. And, the operation similarity value is calculated by the operations use value. Component cohesion and coupling is calculated by the operation similarity and based of the information which is extracted in the analysis phase. And, we examine the necessity of component metrics in comparison with object-oriented metrics.

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

  • Lee, Jin Hyub;Park, Ji Hun;Byun, Eun Young;Son, Hyun Seung;Seo, Chae Yun;Kim, R. Young Chul
    • KIPS Transactions on Software and Data Engineering
    • /
    • v.6 no.5
    • /
    • pp.229-234
    • /
    • 2017
  • Because of the invisible nature of software and the bad coding habits (bad smell) of the existing developers, there are many redundant codes and unnecessary codes, which increases the complexity and makes it difficult to upgrade software. Therefore, it is required a code visualization so that developers can easily and automatically identify the complexity of the source code. To do this, it is necessary to construct SW visualization tool based on open source software and redefine the coupling and cohesion according to the object oriented viewpoint. Specially to identify a bad smell code pattern, we suggest how to plug-in diverse parsers within our tool. In this paper, through redefining coupling and cohesion from an object oriented perspective, we will extract bad smell code patterns within source code from inputting any pattern into the tool.

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

  • Choi, Mi-Sook;Cho, Eun-Sook
    • The KIPS Transactions:PartD
    • /
    • v.11D no.3
    • /
    • pp.625-634
    • /
    • 2004
  • When constructing a component based system, It is understood that identifying reusable and independent business components is of utmost importance. However, according to conventional component based developing methodologies, most of developers depend on their experience and/or intuition for identification of business components. Furthermore, there are no criteria to evaluate whether the identified business components are more independently defined or not. Therefore, we propose a component identification metrics to apply to component properties In order to complement the difficulties of identifying business components through developers' experience and/or intuition. The metrics defined are the criteria for identifying the business Components and/or for evaluating the Identified components. We propose both a cohesion metric, and a coupling metric, to which component properties are applied, wherein those properties can be understood by high cohesion in, and low coupling between, components. Moreover, we propose an independence metric that can evaluate the degree of independence for a particular component by ratio of the cohesion and coupling of components. The metrics that we propose are applied to case study which demonstrates the identification of more independent business components and the validity of our metrics.

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

  • Oh, Sun-Ju
    • The Journal of Society for e-Business Studies
    • /
    • v.15 no.2
    • /
    • pp.19-35
    • /
    • 2010
  • In response to an increased need, various methods for ontology modularization have been proposed. However, few studies have focused on evaluative methods for ontology modules. In this study, we devise novel metrics to measure ontology modularity. To evaluate the ontology modules, we introduce cohesion and coupling based on the theory of software metrics. A cohesion metric and two coupling metrics were used to measure cohesion and coupling for ontology modules. These metrics were also used to check consistency between the ontology modules and the original ontology. The new metrics support a more detailed relationship between classes in ontology modules. We validate the proposed metrics using the well known verification framework and perform the empirical experiments to complement previous investigations. This study offers ontology engineers valuable criteria with which to select and use ontology modules and modularization techniques.

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
    • /
    • v.33 no.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 (객체 지향 프로그램에서 클래스 재사용성 측정 모델링)

  • Yun, Hui-Hwan;Gu, Yeon-Seol
    • The Transactions of the Korea Information Processing Society
    • /
    • v.6 no.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

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

  • Bo Min Bae;Dae Wi Jung;Jang Hyeon An;Se O Choi;Sang Hyeon Lee;Si Won Sung;Yeon Soo Kim;Yong Joo Kim
    • Journal of Drive and Control
    • /
    • v.21 no.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.