Research on Software Defect Prediction Techniques

Author
QiaoHui
Advisor
ZhouYanZhou
School
PLA Information Engineering University
Major
Systems Engineering
Classification
TP181 Automated reasoning,machine learning
Degree
Master's thesis
Year
2013
Downloads
2
Citations
0

Request the full text

Abstract

Along with the increasing scale and logic complexity of software system, the potential defects which are not found by testing techniques are bound to affect the quality of the system. Research on software defect prediction techniques could count the number and distribution of system defects, so as to help testers evaluate software reliability objectively, understand the software’s quality status and determine whether the software meets the delivered standard.In the thesis, based on the analysis of current software defect prediction techniques, a framework of software defect prediction based on a combination of the regression and classification method is proposed. Then this thesis does research respectively on two aspects of software complexity metric featrue selection method and defect predicion model building. The main work and innovations are as follows:1、 The existing software defect prediction framework is studied and improved. The defect prediction framework used in this thesis consists of the front, middle and end part. In the front part of the framework, the regression method is used for processing the input data sets of the software defect prediction model. In the middle part the classification method is adopted in constructing the software defect prediction model. In the end part the main work is the evaluation and comparison of different defect prediction models.2、 This thesis studies the Least Absolute Shrinkage and Selection (LASSO) method and applied the method to the area of software complexity metrics feature selection. Firstly, by studying the related concept and idea of data mining thchnique and applying them to the field of defect prediction, this thesis makes primary selection to wipe off the erroneous data. Secondly, this thesis uses the LASSO method to do the optimization selection in searching out the complexity metric attribute subsets which are most influential to defect prediction and wipe out those poor or no influence ones.3、The Least Angle Regression (LARS) algorithm and Coordinate Descent (CD) algorithm are studied and used in solving the nonlinear programming problem corresponded with LASSO method. The simulation results show that LARS algorithm is suitable for low-dimensional defect date space while CD algorithm is applicable for higher ones where the metric attribute dimension is far higher than the number of test data. Combined with the actual situation of the data set which used in this thesis, the complexity metric data subsets which selected by LASSO-LARS method are used to build defect prediction model.4、 Software defect prediction model based on the Learning Vector Quantization (LVQ) neural network optimized by the Adaptive Genetic Algorithm(AGA) is proposed. Firstly, the thesis uses the macro-search ability and global optimization performance of the AGA to solve the problem that LVQ neural network is sensitive to its initial network weights. Then, the thesis constructs defect prediction model successfully by taking advantage of the classification performance, local optimization and pattern recognition ability of the LVQ neural network. Combined with the input data subset selected by the software complexity metric feature selection method, this thesis realizes software defect prediction successfully.5、 The thesis conducts simulation experiments for the proposed software defect prediction framework by combining MATLAB platform with the relevant publicly available data set from U.S. National Aeronautics and Space Administration (NASA).The simulation results show that complexity metric feature selection method can effectively wipe out erroneous data and poor influence metrics, reduce the dimensions and at the same time obtain better defect forecast results compared with traditional feature selection methods. Also the simulation results show that the AGA-LVQ neural network based defect prediction model achieves better prediction accuracy compared with ones. Combination of two aspects of simulation experiments verifies the feasibility and effectiveness of the proposed prediction framework in this thesis.

Table of contents

Summary 4-6 Abstract 6-11 catalog 11-13 table record 13-14 The first chapter 14-24 1.1 background and Significance 14-16 1.2 software defect prediction and research status 16-20 1.2 .1 software failure mechanism 16-17 1.2.2 software defect prediction 1.2.3 Status domestic and foreign research 17-18 18-19 <br / > 1.2.4 existing problems major work 19-20 1.3 papers organizational structure 20 1.4 papers 20-24 second Chapter software defect prediction framework 24-34 2.1 software metrics 24-25 2.1.1 software metrics concept 24 2.1.2 software metrics select property 24-25 2.2 software complexity metrics 25-28 2.2.1 code metrics 25-26 2.2.2 McCabe measure 26-27 2.2.3 Halstead metrics 27-28 2.3 software defect prediction 28-29 2.3.1 software complexity metrics relationship with the defect prediction 28 2.3.2 software defect prediction principle 28-29 2.4 software defect prediction framework 29-32 2.4.1 The general idea 29-30 2.4.2 data preprocessing 30-31 2.4.3 complexity metrics feature selection 31 2.4.4 software defect prediction model 31-32 2.4.5 test and Evaluation 32 2.5 Summary 32-34 Chapter III software complexity measure feature selection 34-56 3.1 software complexity metrics data quality and feature selection 34-36 3.1.1 software complexity metrics problems 34-35 3.1.2 the introduction of feature selection and formal description 35 3.1.3 software complexity metrics feature selection framework 35-36 3.2 software complexity metrics primaries type 36-38 3.2.1 erroneous data 36-37 3.2.2 error handling data 37-38 <br / > 3.3 software complexity metrics preferred 38-49 3.3.1 LASSO method 39-42 3.3.2 LARS algorithm 42-45 <br / > 3.3.3 CD algorithm 45-48 3.3.4 AIC truncation criterion 48-49 3.4 simulation 49-54 3.4. an experimental environment and experimental data 49-50 3.4.2 software complexity metrics primaries 50 3.4.3 software complexity metrics preferred 50-53 3.4.4 analysis 53-54 3.5 Summary 54-56 Chapter IV software defect prediction model 56-78 <br / > 4.1 Overview 56-57 4.2 learning vector quantization neural network 57-62 4.2.1 Overview of neural networks 57-59 4.2 structure .2 LVQ neural network learning algorithm 59-61 4.2.3 LVQ neural network disadvantages 61-62 4.2.4 LVQ neural network 62 4.3 adaptive genetic algorithm 62-66 4.3.1 Overview of genetic algorithms 62-64 4.3.2 there is a lack of genetic algorithms 64 4.3.3 improved genetic Algorithm 64-66 4.4 AGA-LVQ neural network -based software defect prediction model 66-71 4.4. 1 AGA LVQ neural network algorithm optimization overview 66-67 4.4.2 neural network -based software defect prediction model construction 67-68 4.4.3 software defect prediction model algorithm achieve a detailed description 68-71 4.5 simulation 71-77 4.5.1 experimental data 72 4.5.2 experimental Procedure 72-75 4.5.3 experimental Analysis 75-77 4.6 summary 77-78 Chapter summary and Outlook 78 -80 5.1 thesis summary 78-79 5.2 research prospects 79-80 Thanks 80-81 References 81-85 Author Biography 85

Related dissertations

  1. Research on Adaptive Filter Design Based on Optimization Algorithms and Their Applications
  2. Projects Progress-cost Optimization Research
  3. The Parameterized Design and Development of Software Platform of Slewing Platform for Bucket-wheel Reclaimer-stacker
    HuJun ·Hunan University ·2013 ·Master's thesis
  4. Research on Sotfware Defect Prediction Method Based on Probabilistic Relational Models
    DuPeng ·Jilin University ·2012 ·Master's thesis
  5. Researches on Software Defect Prediction Model Based on Attribute Discretization
    GeHeHe ·Central China Normal University ·2012 ·Master's thesis
  6. Cost-Sensitive Feature Selection Algorithms with Application in Software Defect Prediction
  7. Research and Application of Feature Description in Software Defect Prediction
    ZhangLingFeng ·Chongqing University ·2012 ·Master's thesis
  8. Feature Selection Based on Cost Sensitive Learning for Software Defect Prediction
    ChenYinJuan ·Nanjing Normal University ·2012 ·Master's thesis
  9. Research on Software Defect Prediction Technology Based on Data Mining
    ChenZuo ·Graduate Schoo,Chinese Academy of Sciences ·2012 ·Doctoral dissertation
  10. Research on Machine Learning Based Software Defect Prediction
    MaYing ·University of Electronic Science and Technology ·2012 ·Doctoral dissertation
  11. Research of Key Issues on Three Dementional Network on Chip
    WangJiaWen ·Nanjing University ·2012 ·Doctoral dissertation
  12. Study on the Models of Predicting the Risk of Death Combined with Ankle Brachial Index
    DongYing ·Fudan University ·2011 ·Doctoral dissertation
  13. Web application defect prediction method based on SVM
    Liu ·Institute of Software ·2005 ·Master's thesis
  14. Researches on Software Defect Prediction Based on Improved PSO and Fuzzy Integral
    DongEnMei ·Central China Normal University ·2011 ·Master's thesis
  15. Software Defect Prediction Using Fuzzy Support Vector Regression
    YanZhen ·Beijing Institute of Technology ·2010 ·Master's thesis
  16. Management System of Software Defect Prediction Based on Bayesian Network
    ShaoZuoKang ·Shanghai Jiaotong University ·2008 ·Master's thesis
  17. Research on Image Reconstruction Algorithms Based on Compressive Sensing