Review Article

A Survey of Automatic Software Vulnerability Detection, Program Repair, and Defect Prediction Techniques

Table 6

Technical characteristics of within-defect prediction methods.

System/writerDatasetsMetricsFeature generationData labeled

Wang et al. [43]PROMISEP F1 RecallParse source code, handle noise, and map tokens, generate feature via DBNCLNI
Dam et al. [44]SamsungP F1 RecallParse source code, map AST nodes, generate feature via Tree-LSTMModel generation
DP-CNN [45]PROMISEP F1 RecallParse source code, extract and encode token, generate feature via CNNRepository provided
SDNN [46]NASAF1 AUCDelete repeated entities, replace missing value, data normalizationRepository provided
CAP-CNN [47]PROMISEF1Split source modules, encoded as vector via pretrained word2vec, generate feature via CNNRepository provided
DefectLearner [48]12 open source projectsP F1 RecallRemove comment, use word embedding method, generate feature via LSTMProjects provided