香港新世纪文化出版社
地址:香港湾仔卢押道18号海德中心16楼D室
当前位置:首页 >> 国际应用数学与软计算英文期刊

Research on Automatic Repair Method of Programming Module based on Semantic Association Relation

Research on Automatic Repair Method of Programming Module based on Semantic Association Relation

Hong Yu1*, Xiufeng Yang2

1Department of Computer Science and Technology, Heilongjiang Collage of Business and Technology, Harbin, 150025, China

2Kunlun Institute of Tourism, Heilongjiang Institute of Technology, Harbin, 150025, China


Abstract: Due to the traditional repair methods, when doing the automatic repair of programming module, the heuristic semantic rules are not used to describe the constraints of automatic repair, so the coverage rate of automatic repair is low, and automatic repair of programming module cannot be realized. Aiming at this problem, the automatic repair method of programming module based on semantic correlation is studied. By establishing a set of calling relations between methods, the programming module can extract the constraints of automatic repair. The programming module is used to automatically repair the calculation of semantic correlation degree and retrieve the abnormal constraint information with the highest semantic correlation degree. Using the automatic repair template, the programming module can be automatically repaired based on the semantic association relationship. Simulation experiments were designed, and the results showed that the maximum coverage of the designed repair method could reach 0.873, and the maximum coverage of the control group was only 0.455. The designed repair method was more capable of automatic repair and could realize automatic repair of the programming module.

Keywords: Semantic correlation; Programming module; Automatic repair method; Research