Microsoft Corporation
DETECTION OF RUNTIME ERRORS USING MACHINE LEARNING

Last updated:

Abstract:

Runtime errors in a source code program are detected in advance of execution by machine learning models. Features representing a context of a runtime error are extracted from source code programs to train a machine learning model, such as a random forest classifier, to predict the likelihood that a code snippet has a particular type of runtime error. The features are extracted from a syntax-type tree representation of each method in a program. A model is generated for distinct runtime errors, such as arithmetic overflow, and conditionally uninitialized variables.

Status:
Application
Type:

Utility

Filling date:

28 Feb 2020

Issue date:

2 Sep 2021