A METHOD TO PREDICT THE COST OF TESTED MODULE IN CODE DEFECT DETECTION
With the increasing size of code and the increasing complexity of code files,code defect detection tools need to adopt parallel scheduling method for scheduling.In order to better use parallel method for scheduling and improve the efficiency of defect detection and utilization of hardware resources,we propose a method to predict the cost of the module tested in code defect detection.According to the characteristics of the defect testing system(DTS)defect detection process,the time cost feature and space cost feature were extracted.The semantic feature was extracted by deep memory network.The time cost feature and semantic feature were fused to get the fusion feature,and the regression model was used to predict the time cost of the fusion feature and the space cost of the space cost feature.Experimental results on 8 open source C projects show that the proposed method has a good performance in cost prediction.