Automated defect type based logging integration within source code
US11347623B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 30, 2020 |
| Grant date | May 31, 2022 |
| Priority date | — |
| Expiry date | Dec 30, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2201/865
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.