• Title/Summary/Keyword: Postcondition

Search Result 4, Processing Time 0.02 seconds

A Composition Check of Composite Refactorings Not Having a Specification of Precondition (선행조건이 명세되어 있지 않은 복합 리팩토링에 대한 조립성 검사)

  • Kim, Kyung-Min;Jang, Pil-Jae;Kim, Tae-Gong
    • The KIPS Transactions:PartD
    • /
    • v.18D no.1
    • /
    • pp.23-34
    • /
    • 2011
  • Refactoring has been actively used in recent software developments. Many studies on the processing of more large scaled composite refactorings have been conducted through the composition of elementary refactorings. It is important to verify the possibility of composition before the refactoring is performed, because the composite refactorings are processed to the sequence of composed elementary refactorings. In conventional studies, they verify the possibility of composition using the precondition of composite refactorings which are computed from the precondition and postcondition of elementary refactorings. They can not verify the possibility of composition in case which composite refactorings do not have a specification of precondition. Thus, we plan to verify the possibility of composition by using the elementary refactorings only without any additional definitions of the preconditions of composite refactorings. To achieve this goal, we proposes a specification method of elementary refactorings and a method for the composition check of refactorings. Then, we develop a prototype tool based on these methods. In addition, we verify the efficiency of our methods through case studies.

Specification-based Program Slicing and Its Applications (명세 기반 프로그램 슬라이싱 기법과 응용)

  • Chung, In-Sang;Yoon, Gwang-Sik;Lee, Wan-Kwon;Kwon, Yong-Rae
    • Journal of KIISE:Software and Applications
    • /
    • v.29 no.8
    • /
    • pp.529-542
    • /
    • 2002
  • More precise program slices could be obtained by considering the semantic relations between variables of interest, compared to the existing slicing techniques considering only the syntactic relations. In this paper, we present specification-based slicing that allows a better decomposition of the program by taking a specification as its slicing criterion. A specification-based slice consists of a subset of program statements which preserve the behavior and the correctness of the original Program with respect to a specification given by a pre-postcondition pair. Because specification-based slicing enables one to focus attention on only those program statements which realize the functional abstraction specified by the given specification, it can be widely used in many software engineering areas. Of its possible applications, we show how specification-based slicing can improve the Process for extracting reusable parts from existing programs and restructuring complex programs for better maintainability.

Genie: A Semantic Web Services Composition System base on Ontology (Genie: 온톨로지 기반 시맨틱 웹 서비스 합성 시스템)

  • 오지훈;시대근;정영식;한성국
    • Journal of KIISE:Computing Practices and Letters
    • /
    • v.10 no.5
    • /
    • pp.394-405
    • /
    • 2004
  • To make Web Services the real applications, the efficient mechanisms for Web Services discovery, Web Services composition and Web Services execution must be provided. Among these issues, especially, Web Services composition plays the key roles in Web Services applications that are loosely coupled and composed applications consisted of primitive Web Service components. In this paper we demonstrate a new Web Service composition approach using ontologies. We apply ontologies to describe Web Services information such as Web Services input/output parameters, pre conditions, post conditions and other necessary management information. In this paper, we also introduce Action ontology and Object ontology to describe the functional properties of Web Services These ontologies offer semantic description of Web Services functionalities beyond the limitation of the current WSDL. We can achieve semantic interoperabilities between heterogeneous Web Services in terms of conceptual processing and realize semantic services composition. We implement semantic Web Services composition system called Genie based on service description ontologies.

Support of Third Party Logistics Operation based on Business Rules (비즈니스 규칙 기반의 3자 물류 운영 지원)

  • Park, Chulsoon;Bang, Yanghee;Sung, Hongsuk
    • Journal of Korean Society of Industrial and Systems Engineering
    • /
    • v.40 no.2
    • /
    • pp.137-144
    • /
    • 2017
  • The business process of global third party logistics company is defined as a network of logistics activities which involves the products that are manufactured in the developing countries, such as Vietnam, China and so on, and delivered to North or South American countries via intermediate stopover sites. The third party logistics company usually uses proprietary logistics information system to support the related logistics activities. However, each consignor sometimes may require different business process based on the customer type or characteristics of their products. Therefore, the third party logistics company need to modify their business process to reflect customer's requirements, resulting in the modification of logistic information systems and additional costs. Therefore, a flexible mechanism is required to efficiently support the various types of requirements by the owners of the products. In this paper, first, we figured out various business rules related to third party global logistics activities. Second, we grouped the identified business rules into business processes, objects, relations, dependency, policy, representations, execution, and resources and further into precondition, postcondition, and invariant based on checking point in time. Furthermore, the categorized rules are classified into inter-activity and intra-activity rules based on the execution range. Third, we proposed a rule syntax to describe the defined rules into scripts which are understood by user and information system together. When each activity is executed, the rule manager checks whether there are rules related with the activity execution. Finally, we developed a prototype rule management system to show the feasibility of our proposed methodology and to validate it with an example.