Automation of Software Code Analysis Using Machine Learning Methods

Vadim Moshkin, Alexander Dyrnochkin, Nadezhda Glebovna Yarushkina · Pattern Recognition and Image Analysis · 2023

Abstract The paper presents a description of the developed approach and service for the intelligent analysis of source code in Python. The service reduces the time of code verification by partial automation. The FastText algorithm is used to obtain vector representations of source code texts. A pretrained neural network language model based on the transformer architecture was used to obtain a possible assignment of a natural language function. A classifier based on the gradient enhancement algorithm was used to detect repetitive headers. The developed service checks the set of changes and publishes error reports and duplicates in the format of comments of the set of changes after publishing the set of changes in the remote Git repository.

Read the paper · More papers on PaperTik