• 제목/요약/키워드: Code development

검색결과 2,625건 처리시간 0.031초

Which Code Changes Should You Review First?: A Code Review Tool to Summarize and Prioritize Important Software Changes

  • Song, Myoungkyu;Kwon, Young-Woo
    • Journal of Multimedia Information System
    • /
    • 제4권4호
    • /
    • pp.255-262
    • /
    • 2017
  • In recent software development, repetitive code fragments (i.e., clones) are common due to the copy-and-paste programming practice, the framework-based development, or the reuse of same design patterns. Such similar code fragments are likely to introduce more bugs but are easily disregarded by a code reviewer or a programmer. In this paper, we present a code review tool to help code reviewers identify important code changes written by other programmers and recommend which changes need to be reviewed first. Specifically, to identify important code changes, our approach detects code clones across revisions and investigates them. Then, to help a code reviewer, our approach ranks the identified changes in accordance with several software quality metrics and statistics on those clones and changes. Furthermore, our approach allows the code reviewer to express their preferences during code review time. As a result, the code reviewer who has little knowledge of a code base can reduce his or her effort by reviewing the most significant changes that require an instant attention. To evaluate our approach, we integrated our approach with a modern IDE (e.g., Eclipse) as a plugin and then analyzed two third-party open source projects. The experimental results indicate that our approach can improve code reviewer's productivity.

Code System Development for Analysis of the Fast Transmutation Reactors

  • Cho, Nam-Zin;Kim, Yong-Hee
    • 한국원자력학회:학술대회논문집
    • /
    • 한국원자력학회 1995년도 추계학술발표회논문집(1)
    • /
    • pp.91-96
    • /
    • 1995
  • In this paper, research efforts to develop computer code system for analysis of the transmutation reactors at KAIST are described Especially the computer code HANCELL for assembly calculation of fast reactors is mainly described. Features and function of the code are identified md current status of the code development is provided

  • PDF

AHP를 이용한 ISM Code 운영평가 모형 개발에 관한 기초적 연구 (A Basic Study on Development of ISM Code Operation Evaluation Model Using AHP)

  • 신철호;노창균
    • 해양환경안전학회지
    • /
    • 제9권2호
    • /
    • pp.47-52
    • /
    • 2003
  • 이 연구에서는 안전관리체제(ISM Code) 실행지원 모듈개발중 하나인 ISM Code 운영평가 모듈 개발을 위한 기초적 연구를 수행하였다. 특히 ISM Code 운영평가 모듈 개발을 중심으로 AHP의 운영평가 분석과정과 설문지 설계, 운영평가 모형 기준의 위계 구조를 정립하였다는 것에 대해 그 의미가 있겠다. 또한 경영과학 분야의 주요 의사결정 하나인 AHP 기법을 운영평가 모듈 개발에 적용을 시도했다는 것에 대해서도 한층 가치가 있겠다.

  • PDF

열수력 기기해석용 CUPID 코드 개발 및 평가 전략 (THE DEVELOPMENT AND ASSESSMENT STRATEGY OF A THERMAL HYDRAULICS COMPONENT ANALYSIS CODE)

  • 박익규;조형규;이재룡;김정우;윤한영;이희동;정재준
    • 한국전산유체공학회지
    • /
    • 제16권2호
    • /
    • pp.30-48
    • /
    • 2011
  • A three-dimensional thermal-hydraulic code, CUPID, has been developed for the analysis of transient two-phase flows at component scale. The CUPID code adopts a two-fluid three-field model for two-phase flows. A semi-implicit two-step numerical method was developed to obtain numerical solutions on unstructured grids. This paper presents an overview of the CUPID code development and assessment strategy. The governing equations, physical models, numerical methods and their improvements, and the systematic verification and validation processes are discussed. The code couplings with a system code, MARS, and, a three-dimensional reactor kinetics code, MASTER, are also presented.

Development of a Code Generation Support System in Integrated Development Environment of an Educational Compiler

  • Kwon, Jung-Hoon;Bae, Jong-Min
    • 한국컴퓨터정보학회논문지
    • /
    • 제21권11호
    • /
    • pp.159-166
    • /
    • 2016
  • Compiler course is one of the important courses in computer science. It requires more efficient learning environment because of its large coverage scale and complexity. One of its solutions is to provide the integrated development environment for educational compilers which is enable to give practice-oriented class and enhance student's interest. This paper presents the code generation support system developed in an integrated development environment of educational compiler. Our system helps students to understand the process of code generation and visualizes the relation among the source language, AST, and the target language. It makes students develop their own compilers more easily.

Development of Free-surface Decomposition Method and Its ApplicationDevelopment of Free-surface Decomposition Method and Its Application

  • Park, Sunho
    • Journal of Advanced Research in Ocean Engineering
    • /
    • 제3권2호
    • /
    • pp.75-82
    • /
    • 2017
  • With the development of computational fluid dynamics (CFD), studies on shipbuilding and maritime issues including free-surface wave flow have been conducted. Although the volume of fluid (VOF) and level-set methods are widely used to study the free-surface wave flow, disadvantages exist. In particular, it takes a long time to obtain solutions. In this study, a free-surface capturing code is developed for ship and offshore structures. The developed code focuses on accuracy and computation time. Open source CFD libraries, termed OpenFOAM, are used to develop the code. The results obtained using the developed code are compared with those obtained using interFoam. The results show that the developed code could be used to capture the free-surface wave flow without numerical diffusion; moreover, the accuracy of the developed code is largely the same as that of interFoam.

단위테스트 중 매개변수 경계오류제거를 위한 코드 자동생성 시스템 설계와 구현 (Design and Implementation of code generator to remove the parameter boundary failure in the unit test)

  • 박영조;방혜자
    • 디지털산업정보학회논문지
    • /
    • 제11권2호
    • /
    • pp.1-10
    • /
    • 2015
  • As programs get more complicated and they are developed by various hands, the possibility that there are program bugs in the code has been increasing. And developers usually run unit tests to find these problems in the code. Besides, the developers are at the pain of getting stability of the code when they have to modify a code very often for clients requirements. In the methodlogy of TDD(Test Driven Development), developers write a unit test code first, and then write a program code for passing the unit test. The unit test must include the boundary condition test the reason why the possibility of occurring the bugs is very high. When failed to pass the test because of the value of a function is incorrect, not existed, out of the range or not matched etc, the program code will return the error code or occur the exception. In the document, the system is designed and implemented in order to insert the generated code automatically or suggest it to the developer, when the boundary condition test is failed. In conclusion, it is possible that the developer will get the code stability by searching the code and checking the code to be omitted automatically through this system.

A Basic Study on Mode of Operation for Maritime Autonomous Surface Ship

  • Jeong-Min, Kim;Hye Ri, Park
    • 한국항해항만학회:학술대회논문집
    • /
    • 한국항해항만학회 2023년도 춘계학술대회
    • /
    • pp.162-163
    • /
    • 2023
  • As the development of the 4th industiral revolution in the maritime industry has progressed, the technical development of autonomous ships, and the development of international regulations have been accelerated. In particular, the IMO Maritime Safety Committee(MSC) has established a road-map for the development of the non-mandatory goal-based MASS instrument(MASS Code) and started developing a non-mandatory MASS Code at MSC 105th meeting. Many countries are actively participating in the Correspondence Group on the development of MASS Code, and the development of detailed requirements for MASS functions in the MASS Code is underway. Especially, the concept of "Mode of Operation" for MASS functions was mentioned in the Correspondence Group for the first time, and it is expected that discussions on these modes will be conducted from the IMO MASS JWG meeting to held in April 2023. The concept of "Mode of Operation" will be useful in explaining MASS and MASS functions and will be discussed in the future for the development of MASS Code. This paper reviews the contents of the IMCA M 220 document, which provides guidelines on operating modes, to conduct research on the benchmark for setting the operating modes of MASS.

  • PDF

AJFCode: An Approach for Full Aspect-Oriented Code Generation from Reusable Aspect Models

  • Mehmood, Abid;Jawawi, Dayang N.A.
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제16권6호
    • /
    • pp.1973-1993
    • /
    • 2022
  • Model-driven engineering (MDE) and aspect-oriented software development (AOSD) contribute to the common goal of development of high-quality code in reduced time. To complement each approach with the benefits of the other, various methods of integration of the two approaches were proposed in the past. Aspect-oriented code generation, which targets obtaining aspect-oriented code directly from aspect models, offers some unique advantages over the other integration approaches. However, the existing aspect-oriented code generation approaches do not comprehensively address all aspects of a model-driven code generation system, such as a textual representation of graphical models, conceptual mapping, and incorporation of behavioral diagrams. These problems limit the worth of generated code, especially in practical use. Here, we propose AJFCode, an approach for aspect-oriented model-driven code generation, which comprehensively addresses the various aspects including the graphical models and their text-based representation, mapping between visual model elements and code, and the behavioral code generation. Experiments are conducted to compare the maintainability and reusability characteristics of the aspect-oriented code generated using the AJFCode with the most comprehensive object-oriented code generation approach. AJFCode performs well in terms of all metrics related to maintainability and reusability of code. However, the most significant improvement is noticed in the separation of concerns, coupling, and cohesion. For instance, AJFCode yields significant improvement in concern diffusion over operations (19 vs 51), coupling between components (0 vs 6), and lack of cohesion in operations (5 vs 9) for one of the experimented concerns.

Conceptual design of a copper-bonded steam generator for SFR and the development of its thermal-hydraulic analyzing code

  • Im, Sunghyuk;Jung, Yohan;Hong, Jonggan;Choi, Sun Rock
    • Nuclear Engineering and Technology
    • /
    • 제54권6호
    • /
    • pp.2262-2275
    • /
    • 2022
  • The Korea Atomic Energy Research Institute (KAERI) studied the sodium-water reaction (SWR) minimized steam generator for the safety of the sodium-cooled fast reactor (SFR), and selected the copper bonded steam generator (CBSG) as the optimal concept. This paper introduces the conceptual design of the CBSG and the development of the CBSG sizing analyzer (CBSGSA). The CBSG consists of multiple heat transfer modules with a crossflow heat transfer configuration where sodium flows horizontally and water flows vertically. The heat transfer modules are stacked along a vertical direction to achieve the targeted large heat transfer capacity. The CBSGSA code was developed for the thermal-hydraulic analysis of the CBSG in a multi-pass crossflow heat transfer configuration. Finally, we conducted a preliminary sizing and rating analysis of the CBSG for the trans-uranium (TRU) core system using the CBSGSA code proposed by KAERI.