Fulltext available Open Access
Title: Maschinelles Lernen für statische Codeanalysen
Language: German
Authors: Schädler, Florian 
Keywords: Statische Codeanalyse; Maschinelles Lernen; neuronale Netze; Graph Neural Network; Static Code Analysis; Machine Learning; Neural Networks; Graph Neural Networks
Issue Date: 21-Jun-2024
Abstract: 
In dieser Arbeit sollen die Aufgaben der statischen Codeanalyse durch die Methoden des maschinellen Lernens gelöst werden. Speziell geht es dabei um die Identifikation von Fehlern im Quellcode durch ein gelerntes Modell. Eine entsprechend gelernte Fehleranalyse soll Fehler mit unterschiedlichen Charakteristiken in beliebigen Abschnitten des Quellcodes ermitteln. Die vorliegende Aufgabe wird als Klassifikationsproblem definiert und durch die Konzeption und Implementation eines Prototyps auf die Machbarkeit überprüft. Durch eine Analyse des Prototyps auf neuen Eingangsdaten wird die Güte des Modells bewertet und diskutiert. Das Ergebnis zeigt, dass das Lernen einer solchen Fehleranalyse grundsätzlich möglich ist. Speziell in den Bereichen der Datenauswahl, der Datenvorbereitung, der Hyperparameteranpassung und der Interpretierbarkeit der Klassifizierungen bietet der Prototyp ein hohes Optimierungspotenzial.

In this work, the tasks of static code analysis are to be solved by machine learning methods. The focus is on the identification of errors in the source code by a trained model. A corresponding trained error analysis should identify errors with different characteristics in arbitrary sections of the source code. The task at hand is defined as a classification problem and tested for feasibility by the conception and implementation of a prototype. The performance of the model is evaluated and discussed by analyzing the implementation on new input data. The results show that training such an error analysis is basically possible. Nevertheless, the subjects of data selection, data preparation, hyperparameter tuning as well as the interpretability of the classification results offer a high potential for optimization.
URI: http://hdl.handle.net/20.500.12738/15961
Institute: Fakultät Technik und Informatik 
Department Informatik 
Type: Thesis
Thesis type: Master Thesis
Advisor: Buth, Bettina 
Referee: von Luck, Kai 
Appears in Collections:Theses

Files in This Item:
File Description SizeFormat
MA_Maschinelles Lernen für statische Codeanalysen.pdf2.71 MBAdobe PDFView/Open
Show full item record

Page view(s)

28
checked on Jul 2, 2024

Download(s)

10
checked on Jul 2, 2024

Google ScholarTM

Check

HAW Katalog

Check

Note about this record


Items in REPOSIT are protected by copyright, with all rights reserved, unless otherwise indicated.