Automated Construction Method of Domain Knowledge Graph for Software Defects
A domain knowledge, software-oriented technology, applied in the field of software maintenance and software defect-oriented, can solve problems such as in the initial stage, achieve accurate understanding, improve efficiency, and improve the quality of classification
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2022-05-24
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of software maintenance, in particular to a method for automatically constructing a domain knowledge graph for software defects. Background technique
[0002] In order to solve some bug problems encountered by software developers and maintainers, they usually need to search for bug related information by means of some websites containing bug defect libraries, such as Bugzilla. However, most of these websites use search methods based on traditional relational databases. Although most of the search results contain a large amount of information and attributes of bugs, the relationship between bugs and defects is not particularly obvious. In addition, when the searcher searches through keywords, the website adopts the method of keyword matching one by one, which will make the search results inaccurate, and when the searcher enters fewer keywords or more keywords, the results will produce two extremes. (1) The search resu...
Examples
Embodiment Construction
[0027] The technical idea of the present invention is:
[0028] This method mainly consists of two parts. First, the first part is the extraction of bug defect relation triples; the second part is the classification of bug defect fields. Specifically, first collect the bug-related information in the bug defect library and focus on processing the description information of the bug, obtain the verb phrases and noun phrases in the description sentence through natural language processing technology, and then use the word and word related to the bug information according to the information. The dependencies between the bugs are obtained to obtain the relationship triplet of bugs. Extract the bug defect domain features, use a semi-supervised classifier for training and learning, and finally make the classifier automatically classify the previously unlabeled triples. Then, all the classified relation triples are stored in the graph database to construct a domain knowledge graph f...