• Title/Summary/Keyword: Software Repair

Search Result 101, Processing Time 0.023 seconds

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
    • /
    • v.22 no.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.

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

  • Yang, Geunseok;Lee, Byungjeong
    • Journal of Internet Computing and Services
    • /
    • v.21 no.5
    • /
    • pp.129-137
    • /
    • 2020
  • Recently, software size and program code complexity have increased due to application to various fields of software. Accordingly, the existence of program bugs inevitably occurs, and the cost of software maintenance is increasing. In open source projects, developers spend a lot of debugging time when solving a bug report assigned. To solve this problem, in this paper, we apply SeqGAN algorithm to software bug repair. In detail, the SeqGAN model is trained based on the source code. Open similar source codes during the learning process are also used. To evaluate the suitability for the generated candidate patch, a fitness function is applied, and if all test cases are passed, software bug correction is considered successful. To evaluate the efficiency of the proposed model, it was compared with the baseline, and the proposed model showed better repair.

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

  • Woorim Han;Miseon Yu;Yunheung Paek
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2024.05a
    • /
    • 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
    • /
    • v.2 no.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

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

  • Choi, Eunae
    • Journal of the Korean Society of Radiology
    • /
    • v.9 no.6
    • /
    • pp.417-420
    • /
    • 2015
  • We obtained Surviving Fraction (SF) after irradiation carbon beam to compare the applicability of the Linear-Quadratic model, Incomplete Repair model, Marchese model. Mathematica software(ver 9.0) used to calcurate parameters and compared result. LQ model could not explain the entire response of fractionated carbon beam irradiation. It becomes necessary to construct models that extend the LQ model of conventional radiotherapy for the carbon beam therapy. By combining both Potentially Lethal Damage Repair (PLDR) and Sublethal Damage Repair (SLDR) a new LQ model can develop that aptly modeled the cellular response to fractionated irradiation.

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

  • Chu, Won-Sik;Ahn, Sung-Hoon
    • Journal of the Korean Society for Aeronautical & Space Sciences
    • /
    • v.30 no.5
    • /
    • pp.48-55
    • /
    • 2002
  • An Internet-based software called the Repair Advisory Service (RAS) was developed to assist aircraft composite repair. The RAS takes advantage of the web user interface and provides estimation of the failure loads of repaired composite laminates and Structural Repair Manual (SRM) with search capability. In this paper, a failure model of lap repair is discussed as an example of the modules in the RAS. The model takes into account anisotropy of each ply in the laminate and in the repair ply, and non-elastic behavior of the interlayer between the laminate and the repair patch. Failure loads calculated by the model were compared with test data, and a good agreement was found between the results of the model and the test.

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
    • /
    • v.12 no.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 (원전 증기발생기 레이저 클래딩 보수부위 잔류응력 해석)

  • Han, Won-Jin;Lee, Sang-Cheol;Lee, Seon-Ho
    • Proceedings of the KSME Conference
    • /
    • 2008.11a
    • /
    • 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
    • /
    • v.16 no.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
    • /
    • v.12 no.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.