• 제목/요약/키워드: Software Repair

검색결과 101건 처리시간 0.026초

OAPR-HOML'1: Optimal automated program repair approach based on hybrid improved grasshopper optimization and opposition learning based artificial neural network

  • MAMATHA, T.;RAMA SUBBA REDDY, B.;BINDU, C SHOBA
    • International Journal of Computer Science & Network Security
    • /
    • 제22권4호
    • /
    • pp.261-273
    • /
    • 2022
  • Over the last decade, the scientific community has been actively developing technologies for automated software bug fixes called Automated Program Repair (APR). Several APR techniques have recently been proposed to effectively address multiple classroom programming errors. However, little attention has been paid to the advances in effective APR techniques for software bugs that are widely occurring during the software life cycle maintenance phase. To further enhance the concept of software testing and debugging, we recommend an optimized automated software repair approach based on hybrid technology (OAPR-HOML'1). The first contribution of the proposed OAPR-HOML'1 technique is to introduce an improved grasshopper optimization (IGO) algorithm for fault location identification in the given test projects. Then, we illustrate an opposition learning based artificial neural network (OL-ANN) technique to select AST node-level transformation schemas to create the sketches which provide automated program repair for those faulty projects. Finally, the OAPR-HOML'1 is evaluated using Defects4J benchmark and the performance is compared with the modern technologies number of bugs fixed, accuracy, precession, recall and F-measure.

소프트웨어 버그 정정에 SeqGAN 알고리즘을 적용 (Applying SeqGAN Algorithm to Software Bug Repair)

  • 양근석;이병정
    • 인터넷정보학회논문지
    • /
    • 제21권5호
    • /
    • pp.129-137
    • /
    • 2020
  • 최근 소프트웨어가 다양한 분야에 적용되면서 소프트웨어 규모와 프로그램 코드의 복잡성이 증가하였다. 이에 따라 소프트웨어 버그의 존재가 불가피하게 발생하고, 소프트웨어 유지보수의 비용이 증가하고 있다. 오픈 소스 프로젝트에서는 개발자가 할당 받은 버그 리포트를 해결할 때 많은 디버깅 시간을 소요한다. 이러한 문제를 해결하기 위해 본 논문은 SeqGAN 알고리즘을 소프트웨어 버그 정정에 적용한다. 자세히는 SeqGAN 알고리즘을 활용하여 프로그램 소스코드를 학습한다. 학습과정에서 공개된 유사 소스코드도 같이 활용한다. 생성된 후보 패치에 대한 적합성을 평가 하기 위해 적합도 함수를 적용하고, 주어진 모든 테스트 케이스를 통과하면 소프트웨어 버그 정정이 되었다고 본다. 제안한 모델의 효율성을 평가하기 위해 베이스라인과 비교하였으며, 제안한 모델이 더 잘 정정하는 것을 보였다.

대규모 언어모델을 활용한 코드 취약점 리페어 (A Study on Code Vulnerability Repair via Large Language Models)

  • 한우림;유미선;백윤흥
    • 한국정보처리학회:학술대회논문집
    • /
    • 한국정보처리학회 2024년도 춘계학술발표대회
    • /
    • pp.757-759
    • /
    • 2024
  • Software vulnerabilities represent security weaknesses in software systems that attackers exploit for malicious purposes, resulting in potential system compromise and data breaches. Despite the increasing prevalence of these vulnerabilities, manual repair efforts by security analysts remain time-consuming. The emergence of deep learning technologies has provided promising opportunities for automating software vulnerability repairs, but existing AIbased approaches still face challenges in effectively handling complex vulnerabilities. This paper explores the potential of large language models (LLMs) in addressing these limitations, examining their performance in code vulnerability repair tasks. It introduces the latest research on utilizing LLMs to enhance the efficiency and accuracy of fixing security bugs.

  • PDF

Cost Implications of Imperfect Repair in Software Reliability

  • Chuiv, Nora-Ni;Philip J. Boland
    • International Journal of Reliability and Applications
    • /
    • 제2권3호
    • /
    • pp.147-160
    • /
    • 2001
  • The reliability of computer software is of prime importance for all developers of software. The complicated nature of detecting and removing faults from software has led to a plethora of models for reliability growth. One of the most basic of these is the Jelinski Moranda model, where it is assumed that there are N faults in the software, and that in testing, bugs (or faults) are encountered (and removed when defected) according to a stochastic process at a rate which at a given point in time is proportional to the number of bugs remaining in the system. In this research, we consider the possibility that imperfect repair may occur in any attempt to remove a detected bug in the Jelinski Moranda model. We let p represent the probability that a fault which is discovered or detected is actually perfectly repaired. The possibility that the probability p may differ before and after release of the software is also considered. The distribution of both the number of bugs detected and perfectly repaired in a given time period is studied. Cost models for the development and release of software are investigated, and the impact of the parameter p on the optimal release time minimizing expected costs is assessed.

  • PDF

탄소 빔 분할조사 시 Linear-Quadratic모델, Incomplete-Repair모델, Marchese 모델 결과 비교 (Comparison of Linear-Quadratic Model, Incomplete-Repair Model and Marchese Model in Fractionated Carbon Beam Irradiation)

  • 최은애
    • 한국방사선학회논문지
    • /
    • 제9권6호
    • /
    • pp.417-420
    • /
    • 2015
  • 본 연구는 탄소 빔의 분할조사 후 세포생존율 (Surviving Fraction, SF) 값에 따른 Linear-Quadratic model, Incomplete Repair model, Marchese model의 결과값을 비교하기 위해 진행하였다. 탄소 빔을 4fraction까지 조사한 후 얻은 세포생존율 값을 바탕으로 mathematica 프로그램 (ver 9.0)을 이용하여 각각의 모델로 결과값을 얻어 비교해 보았다. 그 결과 즉시 NB1RGB를 시딩한 값은 repair가 감안되지 않은 LQ 모델이 적합하였지만 fraction 시행한 후의 결과값은 오차를 보였다. 따라서 Potentially Lethal Damage Repair (PLDR)과 Sublethal Damage Repair (SLDR)의 발생을 각각 감안한 repair 모델을 이용하여 적합한지 판단하였다. 이를 바탕으로 탄소 빔의 분할 조사 시 LQ 모델에 각각의 repair의 양을 감안한 새로운 회복 관련 모델의 적용 가능성을 보고자 하였다.

인터넷 기반의 항공기용 복합재의 보수 (Internet-based Repair for Aircraft Composites)

  • 추원식;안성훈
    • 한국항공우주학회지
    • /
    • 제30권5호
    • /
    • pp.48-55
    • /
    • 2002
  • 항공기용 복합재의 보수를 보조하는, 보수 제안 서비스 (Repair Advisory Service, RAS)라는 인터넷 기반의 소프트웨어가 개발되었다. 웹 브라우저를 유저인터페이스로 하는 RAS는 보수된 복합재의 파괴하중 계산, 구조 보수 지시서 (SRM) 제공 및 검색 등을 보수 엔지니어에게 거리에 제약을 받지 않고 제공한다. 본 논문에서는 RAS의 기능을 겹치기 기술(lap repair)에 의해 보수된 복합재의 파괴하중을 계산하는 모델을 예로 보여준다. 이 모델은 기초복합재와 보수층에 있는 각 복합재 층의 이방성을 고려하여 개발되었고, 기초복합재와 보수복합재 사이의 경계층의 비탄성을 고려하였다. 모델에 의한 파괴하중은 실험결과와 유사한 결과를 보여준다.

Evaluating the bond strength between concrete substrate and repair mortars with full-factorial analysis

  • Felekoglu, Kamile Tosun;Felekoglu, Burcu;Tasan, A. Serdar;Felekoglu, Burak
    • Computers and Concrete
    • /
    • 제12권5호
    • /
    • pp.651-668
    • /
    • 2013
  • Concrete structures need repairing due to various reasons such as deteriorative effects, overloading, poor quality of workmanship and design failures. Cement based repair mortars are the most widely used solutions for concrete repair applications. Various factors may affect the bond strength between concrete substrate and repair mortars. In this paper, the effects of polymer additives, strength of the concrete substrate, surface roughness, surface wetness and aging on the bond between concrete substrate and repair mortar has been investigated. Full factorial experimental design is employed to investigate the main and interaction effects of these factors on the bond strength. Analysis of variance (ANOVA) under design of experiments (DOE) in Minitab 14 Statistical Software is used for the analysis. Results showed that the interaction bond strength is higher when the application surface is wet and strength of the concrete substrate is comparatively high. According to the results obtained from the analysis, the most effective repair mortar additive in terms of bonding efficiency was styrene butadiene rubber (SBR) within the investigated polymers and test conditions. This bonding ability improvement can be attributed to the self-flowing ability, high flexural strength and comparatively low air content of SBR modified repair mortars. On the other hand, styrene acrylate rubber (SAR) modified mortars was found incompatible with the concrete substrate.

원전 증기발생기 레이저 클래딩 보수부위 잔류응력 해석 (Residual Stress Analysis of Laser Cladding Repair for Nuclear Steam Generator Damaged Tubes)

  • 한원진;이상철;이선호
    • 대한기계학회:학술대회논문집
    • /
    • 대한기계학회 2008년도 추계학술대회A
    • /
    • pp.56-60
    • /
    • 2008
  • Laser cladding technology was studied as a method for upgrading the present repair procedures of damaged tubes in a nuclear steam generator and Doosan subsequently developed and designed a new Laser Cladding Repair System. One of the important features of this newly developed Laser Cladding Repair System is that molten metal can be deposited on damaged tube surfaces using a laser beam and filler wire without the need to install sleeves inside the tube. Laser cladding qualification tests on the steam generator tube material, Alloy 600, were performed according to ASME Section IX. Residual stress analyses were performed for weld metal and heat affected zone of as-welded and PWHT with SYSWELD software.

  • PDF

Dynamic behavior investigation of scale building renovated by repair mortar

  • Basaran, Hakan
    • Computers and Concrete
    • /
    • 제16권4호
    • /
    • pp.531-544
    • /
    • 2015
  • The objective of this study was to examine the effect of repair mortar on the dynamic properties such as natural frequencies, mode shape and damping ratios of two story single span scale reinforced concrete building. To this end, two story single span scale reinforced concrete building having dimensions of 150 cm (width), 150 cm (length) and 135 cm (height) was constructed. Workmanship defects such as separation of material, faulty vibration application and bad gradation of the structure were properly evaluated. Dynamic properties of damaged structure were experimentally determined using Operational Modal Analysis (OMA). Detected defects in the structure were fixed by plastering with repair mortar. Dynamic properties of repaired structure were reevaluated by using the OMA method. Finite element software called Abaqus was used to numerically determine dynamic properties of the structure. Structure modeled as solid was subjected to Linear Perturbation Frequency Method. The changes in dynamic properties of structure after the repair process were comparatively studied by evaluating experimental and numerical results.

Optimization of Software Cost Model with Warranty and Delivery Delay Costs

  • Lee, Chong-Hyung;Jang, Kyu-Beom;Park, Dong-Ho
    • Communications for Statistical Applications and Methods
    • /
    • 제12권3호
    • /
    • pp.697-704
    • /
    • 2005
  • Computer software has gradually become an indispensable elements in many aspects of our daily lives and an important factor in numerous systems. In recent years, it is not unusual that the software cost is more than the hardware cost in many situations. In addition to the costs of developing software, the repair cost resulting from the software failures are even more significant. In this paper, a cost model with warranty cost, time to remove each fault detected in the software system, and delivery delay cost is developed. We use a software reliability model based on non-homogeneous Poisson process (NHPP). We discuss the optimal release policies to minimize the expected total software cost. Numerical examples are provided to illustrate the results.