• Title/Summary/Keyword: Fault Localization

Search Result 55, Processing Time 0.022 seconds

Selecting Test Cases for Result Inspection to Support Effective Fault Localization

  • Li, Yihan;Chen, Jicheng;Ni, Fan;Zhao, Yaqian;Wang, Hongwei
    • Journal of Computing Science and Engineering
    • /
    • v.9 no.3
    • /
    • pp.142-154
    • /
    • 2015
  • Fault localization techniques help locate faults in source codes by exploiting collected test information and have shown promising results. To precisely locate faults, the techniques require a large number of test cases that sufficiently exercise the executable statements together with the label information of each test case as a failure or a success. However, during the process of software development, developers may not have high-coverage test cases to effectively locate faults. With the test case generation techniques, a large number of test cases without expected outputs can be automatically generated. Whereas the execution results for generated test cases need to be inspected by developers, which brings much manual effort and potentially hampers fault-localization effectiveness. To address this problem, this paper presents a method to select a few test cases from a number of test cases without expected outputs for result inspection, and in the meantime selected test cases can still support effective fault localization. The experimental results show that our approach can significantly reduce the number of test cases that need to be inspected by developers and the effectiveness of fault localization techniques is close to that of whole test cases.

A Case Study for Mutation-based Fault Localization for FBD Programs (FBD 프로그램 뮤테이션 기반 오류 위치 추정 기법 적용 사례연구)

  • Shin, Donghwan;Kim, Junho;Yun, Wonkyung;Jee, Eunkyoung;Bae, Doo-Hwan
    • KIISE Transactions on Computing Practices
    • /
    • v.22 no.3
    • /
    • pp.145-150
    • /
    • 2016
  • Finding the exact location of faults in a program requires enormous time and effort. Several fault localization methods based on control flows of a program have been studied for decades. Unfortunately, these methods are not applicable to programs based on data-flow languages. A recently proposed mutation-based fault localization method is applicable to data-flow languages, as well as control-flow languages. However, there are no studies on the effectiveness of the mutation-based fault localization method for data-flow based programs. In this paper, we provided an experimental case study to evaluate the effectiveness of mutation-based fault localization on programs implemented in Function Block Diagram (FBD), a widely used data-flow based language in safety-critical systems implementation. We analyzed several real faults in the implementation of FBD programs of a nuclear reactor protection system, and evaluated the mutation-based fault localization effectiveness for each fault.

The Factor Localization for Air-to-Ground Weapon Delivery Error Using Fault Localization (결함위치추정 기법을 이용한 공대지 항공무장의 오류 요인 분석)

  • Kim, Jae-Hwan;Choi, Kyung-Hee;Chung, Gi-Hyun
    • Journal of the Korea Institute of Military Science and Technology
    • /
    • v.13 no.4
    • /
    • pp.551-560
    • /
    • 2010
  • In this paper, we suggest a localization method of factors affecting the accuracy of Air-to-Ground weapon delivery. The proposed method, called FBEL(Factor-Based Error Localization), is based on the fault localization technique widely utilized in the realm of software engineering field. FBEL localizes the major factors affecting the performance of weapon delivery. To analyze the effectiveness and the applicability of FBEL, we applied FBEL to real firing data and got the major factors caused the errors. We expect that the method could contribute to improve the quality of weapon delivery system. We also expect that it may aid improvement of pilot capability greatly, if it is applied to pilot firing training.

Test Case Grouping and Filtering for Better Performance of Spectrum-based Fault Localization (결함위치식별 기법의 성능 향상을 위한 테스트케이스 그룹화 및 필터링 기법)

  • Kim, Jeongho;Lee, Eunseok
    • Journal of KIISE
    • /
    • v.43 no.8
    • /
    • pp.883-892
    • /
    • 2016
  • Spectrum-based fault localization (SFL) method assigns a suspicious ratio. The statement is strongly affected by a failed test case compared to a passed test case. A failed test case assigns a suspicious ratio while a passed test case reduces some parts of assigned suspicious ratio. In the absence of a failed test case, it is impossible to localize the fault. Thus, a failed test case is very important for fault localization. However, spectrum-based fault localization has difficulty in reflecting the unique characteristics of a failed test because a failed test case and a passed test case are input at the same time to calculate a suspicious ratio. This paper supplements for this limitation and suggests a test case grouping method for more accurate fault localization. In addition, this paper suggested a filtering method considering test efficiency and verified the effectiveness by applying 65 algorithms. In 90 % of whole methods, the accuracy was improved by 13% and the effectiveness was improved by 72% based on EXAM score.

The Fault Analysis Model for Air-to-Ground Weapon Delivery using Testing-Based Software Fault Localization (소프트웨어 오류 추정 기법을 활용한 공대지 사격 오류 요인 분석 모델)

  • Kim, Jae-Hwan;Choi, Kyung-Hee;Chung, Ki-Hyun
    • Journal of the Korea Society for Simulation
    • /
    • v.20 no.3
    • /
    • pp.59-67
    • /
    • 2011
  • This paper proposes a model to analyze the fault factors of air-to-ground weapon delivery utilizing software fault localization methods. In the previous study, to figure out the factors to affect the accuracy of air-to-ground weapon delivery, the FBEL (Factor-based Error Localization) method had been proposed and the fault factors were analyzed based on the method. But in the study, the correlation between weapon delivery accuracy and the fault factors could not be revealed because the firing accuracy among several factors was fixed. In this paper we propose a more precise fault analysis model driven through a study of the correlation among the fault factors of weapon delivery, and a method to estimate the possibility of faults with the limited number of test cases utilizing the model. The effectiveness of proposed method is verified through the simulation utilizing real delivery data. and weapons delivery testing in the evaluation of which element affecting the accuracy of analysis that was available to be used successfully.

Fault Management in Multichannel ATM Switches (다중 채널 ATM 스위치에서의 장애 관리)

  • 오민석
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.28 no.8A
    • /
    • pp.569-580
    • /
    • 2003
  • One of the important advantages of multichannel switches is the incorporation of inherent fault tolerance into the switching fabric. For example, if a link which belongs to the multichannel group fails, the remaining links can assume responsibility for some of the traffic on the failed link. On the other hand, if faults occur in the switching elements, it can lead to erroneous routing and sequencing in the multichannel switch. We investigate several fault localization algorithms in multichannel crossbar ATM switches with a view to early fault recovery, The optimal algorithm gives the best performance in terms of time to localization but is computationally complex which makes it difficult to implement. We develop an on-line algorithm which is computationally mote efficient than the optimal algorithm. We evaluate its performance through simulation. The simulation results show that performance of the on line algorithm is only slightly sub-optimal for both random and bursty traffic. Finally a fault recovery algorithm is described which utilizes the information provided by the fault localization algorithm.

STRAIN LOCALIZATION IN IRRADIATED MATERIALS

  • Byun, Thaksang;Hashimoto, Naoyuki
    • Nuclear Engineering and Technology
    • /
    • v.38 no.7
    • /
    • pp.619-638
    • /
    • 2006
  • Low temperature irradiation can significantly harden metallic materials and often lead to strain localization and ductility loss in deformation. This paper provides a review on the radiation effects on the deformation of metallic materials, focusing on microscopic and macroscopic strain localization phenomena. The types of microscopic strain localization often observed in irradiated materials are dislocation channeling and deformation twinning, in which dislocation glides are evenly distributed and well confined in the narrow bands, usually a fraction of a micron wide. Dislocation channeling is a common strain localization mechanism observed virtually in all irradiated metallic materials with ductility, while deformation twinning is an alternative localization mechanism occurring only in low stacking fault energy(SFE) materials. In some high stacking fault energy materials where cross slip is easy, curved and widening channels can be formed depending on dose and stress state. Irradiation also prompts macroscopic strain localization (or plastic instability). It is shown that the plastic instability stress and true fracture stress are nearly independent of irradiation dose if there is no radiation-induced phase change or embrittlement. A newly proposed plastic Instability criterion is that the metals after irradiation show necking at yield when the yield stress exceeds the dose-independent plastic instability stress. There is no evident relationship between the microscopic and macroscopic strain localizations; which is explained by the long-range back-stress hardening. It is proposed that the microscopic strain localization is a generalized phenomenon occurring at high stress.

Ultrasonic Source Localization and Visualization Technique for Fault Detection of a Power Distribution Equipment (배전설비 결함 검출을 위한 초음파 음원 위치추정 및 시각화 기법)

  • Park, Jin Ha;Jung, Ha Hyoung;Lyou, Joon
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.21 no.4
    • /
    • pp.315-320
    • /
    • 2015
  • This paper describes the implemenation of localization and visualization scheme to find out an ultrasonic source caused by defects of a power distribution line equipment. To increase the fault detection performance, $2{\times}4$ sensor array is configured with MEMS ultrasonic sensors, and from the sensor signals aquired, the azimuth and elevation angles of the ultrasonic source is estimated based on the delay-sum beam forming method. Also, to visualize the estimated location, it is marked on the background image. Experimental results show applicability of the present technique.

Analysis on the Method of Forward-Reverse Fault localization of Electric Railways for the Improvement of Accuracy (전기철도 정역방향 고장점표정 방법을 통한 정확도 향상을 위한 연구)

  • Kim, Myeong Su;Kim, Seong Cheol
    • The Transactions of The Korean Institute of Electrical Engineers
    • /
    • v.67 no.12
    • /
    • pp.1735-1742
    • /
    • 2018
  • The number of electric railway failures will increase due to the external and internal effects of electric railroads. The grounding test with 25,000V is to artificially test the transmission voltage to ground, and it is possible to cause risks of electric shock and other equipment insulation damage in neighboring enclosure. In 2016, method of fault localization changed to low - voltage at 380V from artificially high- voltage in the grounding tests since opening of Seoul Metropolitan Express Railway; The method is more accurate and safer rather than the previous one because it gets more data from unlimited grounding tests. However, an electric current falls on the track section where the track branches and vehicle bases with many lines. To precisely detect a transitive phenomenon, it is necessary to continuously study and additionally install.

Fault Detection and Localization using Wavelet Transform and Cross-correlation of Audio Signal (소음 신호의 웨이블렛 변환 및 상호상관 함수를 이용한 고장 검출 및 위치 판별)

  • Ji, Hyo Geun;Kim, Jung Hyun
    • Journal of the Korean Society for Precision Engineering
    • /
    • v.31 no.4
    • /
    • pp.327-334
    • /
    • 2014
  • This paper presents a method of fault detection and fault localization from acoustic noise measurements. In order to detect the presence of noise sources wavelet transform is applied to acoustic signal. In addition, a cross correlation based method is proposed to calculate the exact location of the noise allowing the user to quickly diagnose and resolve the source of the noise. The fault detection system is implemented using two microphones and a computer system. Experimental results show that the system can detect faults due to artifacts accidentally inserted during the manufacturing process and estimate the location of the fault with approximately 1 cm precision.