• 제목/요약/키워드: code evaluation

검색결과 1,456건 처리시간 0.032초

회귀 분석을 사용한 소스 코드 가독성 메트릭 분석 (Metric Analysis of Source Code Readability using Regression Analysis)

  • 최상철;김순태;이정휴;유희경
    • 한국인터넷방송통신학회논문지
    • /
    • 제17권6호
    • /
    • pp.145-150
    • /
    • 2017
  • 소프트웨어 유지보수는 소프트웨어 생명주기에서 전체 비용의 많은 부분을 차지하고 있다. 소프트웨어를 유지보수하기 위해서는 코드를 읽는 것이 필수적이고, 이는 유지보수 활동에서 가장 많은 시간이 소요되는 활동이다. 코드의 가독성은 사람이 소스코드를 이해하는데 드는 어려움의 정도를 측정하는 메트릭이다. 코드의 가독성이 좋을수록 사람이 소스코드를 이해하기 쉬워진다. 본 논문에서는 소스코드의 가독성을 이분법적으로 판단하는 기존의 연구보다 향상된 기법을 사용하여, 개발 중인 소스코드의 가독성 정도를 정량적으로 측정할 수 있는 새로운 소스코드 가독성 메트릭을 제안한다. 이를 평가하기 위해, 우리는 설문조사를 수행하고 가독성을 가장 잘 설명하는 척도를 찾을 수 있도록 회귀 분석 기법을 사용해 그 결과를 분석할 것이다.

자체 수정 코드를 탐지하는 정적 분석방법의 LLVM 프레임워크 기반 구현 및 실험 (An LLVM-Based Implementation of Static Analysis for Detecting Self-Modifying Code and Its Evaluation)

  • 유재일;최광훈
    • 정보보호학회논문지
    • /
    • 제32권2호
    • /
    • pp.171-179
    • /
    • 2022
  • 자체 수정 코드(Self-Modifying-Code)란 실행 시간 동안 스스로 실행 코드를 변경하는 코드를 말한다. 이런 기법은 특히 악성코드가 정적 분석을 우회하는 데 악용된다. 따라서 이러한 악성코드를 효과적으로 검출하려면 자체 수정 코드를 파악하는 것이 중요하다. 그동안 동적 분석 방법으로 자체 수정 코드를 분석해왔으나 이는 시간과 비용이 많이 든다. 만약 정적 분석으로 자체 수정 코드를 검출할 수 있다면 악성코드 분석에 큰 도움이 될 것이다. 본 논문에서는 LLVM IR로 변환한 바이너리 실행 프로그램을 대상으로 자체 수정 코드를 탐지하는 정적 분석 방법을 제안하고, 자체 수정 코드 벤치마크를 만들어 이 방법을 적용했다. 본 논문의 실험 결과 벤치마크 프로그램을 컴파일로 변환한 최적화된 형태의 LLVM IR 프로그램에 대해서는 설계한 정적 분석 방법이 효과적이었다. 하지만 바이너리를 리프팅 변환한 비정형화된 LLVM IR 프로그램에 대해서는 자체 수정 코드를 검출하기 어려운 한계가 있었다. 이를 극복하기 위해 바이너리를 리프팅 하는 효과적인 방법이 필요하다.

Three-Dimensional Optical Encryption of Quick Response Code

  • Kim, Youngjun;Yun, Hui;Cho, Myungjin
    • Journal of information and communication convergence engineering
    • /
    • 제16권3호
    • /
    • pp.153-159
    • /
    • 2018
  • In this paper, we present a three-dimensional (3D) optical encryption technique for quick response (QR) code using computational synthesized integral imaging, computational volumetric reconstruction, and double random phase encryption. Two-dimensional (2D) QR code has many advantages, such as enormous storage capacity and high reading speed. However, it does not protect primary information. Therefore, we present 3D optical encryption of QR code using double random phase encryption (DRPE) and an integral imaging technique for security enhancement. We divide 2D QR code into four parts with different depths. Then, 2D elemental images for each part of 2D QR code are generated by computer synthesized integral imaging. Generated 2D elemental images are encrypted using DRPE, and our method increases the level of security. To validate our method, we report simulations of 3D optical encryption of QR code. In addition, we calculated the peak side-lobe ratio (PSR) for performance evaluation.

2017년도 온실설계기준(안)에 따른 제주지역 비닐하우스의 내재해성 평가 (Performance Evaluation of Disaster Resistance of Plastic Greenhouse in Jeju Region according to 2017 Design Code Draft)

  • 고동우
    • 한국농촌건축학회논문집
    • /
    • 제22권1호
    • /
    • pp.13-20
    • /
    • 2020
  • As the number of plastic greenhouses has increased in Korea, the damage from typhoons and snow has also increased. Structural design codes for a disaster-resistant plastic greenhouse have been revised over the last few decades. In particular, the revised code draft in 2017 have changed in many ways compared to the 1995 code. Nevertheless, There is no study of the effect of new design code on plastic greenhouse. Therefore, this study evaluated the safety of plastic greenhouse against wind load according to 1995 and 2017 codes for type 1 houses, which is most commonly built in Jeju, through comparing the analytical results of plastic greenhouses designed by 1995 code and 2017 code draft. The results are as follows. (1) The uplift load due to the negative pressure on the roof of the plastic greenhouse increased significantly in 2017 code draft. (2) Since the existing members could not meet the design requirements, the rafters had to be replaced with members of the same cross-section as the columns. (3) Due to excessive lifting, measures were also needed to prevent lifting at the foundation of the plastic greenhouse.

Development of a System Analysis Code, SSC-K, for Inherent Safety Evaluation of The Korea Advanced Liquid Metal Reactor

  • Kwon, Young-Min;Lee, Yong-Bum;Chang, Won-Pyo;Dohee Hahn;Kim, Kyung-Doo
    • Nuclear Engineering and Technology
    • /
    • 제33권2호
    • /
    • pp.209-224
    • /
    • 2001
  • The SSC-K system analysis code is under development at the Korea Atomic Energy Research Institute (KAERI) as a part of the KALIMER project. The SSC-K code is being used as the principal tool for analyzing a variety of off-normal conditions or accidents of the preliminary KALIMER design. The SSC-K code features a multiple-channel core representation coupled with a point kinetics model with reactivity feedback. It provides a detailed, one-dimensional thermal-hydraulic simulation of the primary and secondary sodium coolant circuits, as well as the balance-of-plant steam/water circuit. Recently a two-dimensional hot pool model was incorporated into SSC-K for analysis of thermal stratification phenomena in the hot pool. In addition, SSC-K contains detailed models for the passive decay heat removal system and a generalized plant control system. The SSC-K code has also been applied to the computational engine for an interactive simulation of the KALIMER plant. This paper presents an overview of the recent activities concerned with SSC-K code model development This paper focuses on both descriptions of the newly adopted thermal hydraulic and neutronic models, and applications to KALIMER analyses for typical anticipated transients without scram.

  • PDF

투약.수혈 바코드 시스템 적용 평가 (Evaluation of the Bar Code Medication Administration and Blood Transfusion System in a Tertiary Hospital)

  • 조명숙;송미라;장미라
    • 간호행정학회지
    • /
    • 제18권1호
    • /
    • pp.23-32
    • /
    • 2012
  • Purpose: The purpose of this study was to assess the clinical application of a bar code medication administration and blood transfusion system and to identify its effects from the aspect of patient safety and nurse satisfaction in a tertiary hospital. Methods: The system in this study was PDA with bar code reading capability and wireless networking function. The logs created during application of the system and administration error reports were analyzed. For nurses' satisfaction with the system, data were collected from 337 nurses using the instrument developed by Otieno et al. and analyzed using descriptive statistics. Results: The system application rate was 98.8%, and the main failure cases in the system application included bar code or network related factors. When the system was applied, 0.02% of errors were prevented. The nurses were satisfied with the system from the aspect of patient safety, however relatively less satisfied with the system from the aspect of work efficiency. Conclusion: The results of the study indicate the usefulness for patient safety of applying the bar code medication administration and blood transfusion system to clinical practice. However technological improvements including bar code and network communication are necessary to ensure higher work efficiency in nursing practice.

제한 중량을 초과하는 기중기 차량 통행에 대한 콘크리트 교량의 안전성 평가 (Safety Evaluation of Concrete Bridges for Passage of Crane Vehicle Exceeding Weight Limit)

  • 이성재;유상선;박영환;백인열
    • 한국구조물진단유지관리공학회 논문집
    • /
    • 제24권6호
    • /
    • pp.92-101
    • /
    • 2020
  • 제한 중량을 초과하는 분리 불가능한 기중기 차량의 통행에 대한 교량 안전성 평가를 위한 합리적인 방법의 개발이 필요하다. 이 연구에서는 최근 도입된 신뢰도기반 도로교설계기준 한계상태설계법 개발에 적용된 동일한 방법을 기중기 차량 활하중계수 보정에 적용한다. 콘크리트 교량을 대상으로 구조해석을 수행하여 기존 설계기준에 의한 소요강도와 현행 설계기준 및 AASHTO LRFD에 의한 소요강도를 비교하고 실교량 단면의 설계강도를 비교하였다. 비계수 활하중 효과를 비교하면, 기중기 활하중이 현행 설계기준의 활하중과 기존 설계기준의 활하중보다 더 컸다. 보정된 활하중계수를 적용한 소요강도를 비교하면, 기존 설계기준의 소요강도가 가장 크고 기중기 활하중 효과는 현행 설계기준의 소요강도와 비슷하다. 기중기 통행 후보 노선 상의 실교량에 대한 안전성 평가 결과는 모든 교량에 대하여 설계기준에서 요구하는 목표신뢰도지수와 동일한 신뢰도를 확보하고 있으며, 실교량 강도는 기중기 통행에 필요한 소요강도보다 커서 대상 기중기 통행에 대한 안전성이 확인된다.

BIM기반 설계데이터 평가 시스템 개선을 위한 ChatGPT활용 방법론 (A Methodology for Using ChatGPT to Improve BIM-based Design Data Evaluation System)

  • 유은상;김구택;안용한;최중식
    • 한국BIM학회 논문집
    • /
    • 제14권2호
    • /
    • pp.25-34
    • /
    • 2024
  • This study proposes a new methodology to increase the flexibility and efficiency of the design data evaluation system by combining Building Information Modeling (BIM) technology in the architectural industry, OpenAI's interactive artificial intelligence, and ChatGPT. BIM technology plays an important role in digitally modeling and managing architectural information. Since architectural information is included, research and development are underway to review and evaluate BIM data according to conditions through program development. However, in the process of reviewing BIM design data, if the review criteria or evaluation criteria according to design change occur frequently, it is necessary to update the program anew. In order for designers or reviewers to apply the changed criteria, requesting a program developer will delay time. This problem was studied by using ChatGPT to modify and update the design data evaluation program code in real time. In this study, it is aimed to improve the changing standards and accuracy by enabling programming non-professionals to change the design regulations and calculation standards of the BIM evaluation program system using ChatGPT. In this study, in the BIM-based design certification automation evaluation program, a program in which the automation evaluation method is being studied based on the design certification evaluation manual was first used. In the design certification automation evaluation program, the programming non-majors checked the automation evaluation code by linking ChatGPT, and the changed calculation criteria were created and modified interactively. As a result of the evaluation, the change in the calculation standard was explained to ChatGPT and the applied result was confirmed.