@inproceedings{oai:ipsj.ixsq.nii.ac.jp:00212703, author = {Lei, Rao and Shaoying, Liu and Ai, Liu and Lei, Rao and Shaoying, Liu and Ai, Liu}, book = {ソフトウェアエンジニアリングシンポジウム2021論文集}, month = {Aug}, note = {Fault prevention is a process of quality improvement which aims to identify common causes of faults and take relevant measures to prevent the type of fault recurrence. However, not only is there little related research at present, but almost no work to automatically and effectively improve the code to prevent potential faults from being introduced during the programming process for the root cause of the fault. In this paper, we propose an automatic fault prevention technology called Program Segment Testing (PST), which can automatically prompt whether a certain piece of code will trigger an exception during the programming process. First, we introduce some preliminary definitions and notation that are used in our technology. Then, we explain PST in detail, and point out the problems that need to be solved to complete this technology and the corresponding solutions. Finally, we give a summary to our work and point out that our method provides a way to prevent the trigger from the root cause of the exception., Fault prevention is a process of quality improvement which aims to identify common causes of faults and take relevant measures to prevent the type of fault recurrence. However, not only is there little related research at present, but almost no work to automatically and effectively improve the code to prevent potential faults from being introduced during the programming process for the root cause of the fault. In this paper, we propose an automatic fault prevention technology called Program Segment Testing (PST), which can automatically prompt whether a certain piece of code will trigger an exception during the programming process. First, we introduce some preliminary definitions and notation that are used in our technology. Then, we explain PST in detail, and point out the problems that need to be solved to complete this technology and the corresponding solutions. Finally, we give a summary to our work and point out that our method provides a way to prevent the trigger from the root cause of the exception.}, pages = {191--195}, publisher = {情報処理学会}, title = {Program Segment Testing for Software Fault Prevention}, volume = {2021}, year = {2021} }