Automated defect type based logging integration within source code

Using a natural language processing model, a historical defect report comprising a defect description in narrative text form is parsed. Within a code repository, source code associated with the historical defect report is identified. From the historical defect report and the source code, a logging r...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhao, Shiwan, Yang, Bo, Laredo, Jim Alain, Su, Zhong, Guo, HongLei
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Using a natural language processing model, a historical defect report comprising a defect description in narrative text form is parsed. Within a code repository, source code associated with the historical defect report is identified. From the historical defect report and the source code, a logging rule comprising a defect type, logging placement information corresponding to the defect type, and logging format information corresponding to the defect type is generated. By parsing a new defect report using the natural language processing model, the new defect report reporting a defect in new source code, it is determined that the logging rule applies to the new defect report. Logging source code generating logging output when executed is placed within the new source code according to the logging rule. Execution of the new source code including the logging source code is caused, generating the logging output.