• Title/Summary/Keyword: code development

Search Result 2,618, Processing Time 0.025 seconds

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
    • /
    • v.4 no.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
    • Proceedings of the Korean Nuclear Society Conference
    • /
    • 1995.10a
    • /
    • 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

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

  • 신철호;노창균
    • Journal of the Korean Society of Marine Environment & Safety
    • /
    • v.9 no.2
    • /
    • pp.47-52
    • /
    • 2003
  • This study conducted a basic study to develop ISM Code operation evaluation module, which is part of development of Safety Management System(ISM Code) Implementation supporting module. In particular, the significant of this study is that it established AHP operation evaluation analysis process, the design of questionnaire, and the hierarchical structure of operation evaluation model standard, focusing on the development of ISM Code operation evaluation module. Also, this study has its value in the point that it attempted to apply AHP scheme, which is part of the main decision­making in management science field, to develop operation evaluation module.

  • PDF

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

  • Park, I.K.;Cho, H.K.;Lee, J.R.;Kim, J.;Yoon, H.Y.;Lee, H.D.;Jeong, J.J.
    • Journal of computational fluids engineering
    • /
    • v.16 no.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
    • Journal of the Korea Society of Computer and Information
    • /
    • v.21 no.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
    • /
    • v.3 no.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 (단위테스트 중 매개변수 경계오류제거를 위한 코드 자동생성 시스템 설계와 구현)

  • Park, Youngjo;Bang, Hyeja
    • Journal of Korea Society of Digital Industry and Information Management
    • /
    • v.11 no.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
    • Proceedings of the Korean Institute of Navigation and Port Research Conference
    • /
    • 2023.05a
    • /
    • 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)
    • /
    • v.16 no.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
    • /
    • v.54 no.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.