Software code line-level defect detection method based on deep learning
A software code and defect detection technology, applied in software testing/debugging, error detection/correction, instruments, etc., to solve problems such as inability to detect code fragment defects, inability to effectively utilize code information from other code warehouses, and inability to effectively capture token associations.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0059] Using the method of this paper and the Bugram tool (Bug detection with Ngram language models) to conduct a comparative experiment on 8 Java classes, because the code segments in the java file do not have label information, the indicators for evaluating tool performance are recommendation accuracy and MRR (Measurement Result Recording), the first 20 code segments with potential defects are given through the manual review model, the number of code segments that are actually defective among the 20 code segments is judged, and the ranking position of the first real defect in the candidate results . The detailed results are shown in Table 1. As shown in Table 1, the method in this paper is superior to the Bugram method in terms of defect recommendation accuracy and MRR in the test results of 8 Java classes. The method in this paper and the Bugram tool are both unsupervised methods, but the method in this paper uses the master branch code as the training set for training, an...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


