Using Clustering and Voting to Generate Fault-prone Module Ranking

Author
ZhaoDongXiao
Advisor
ZhouZuoMing
School
Nanjing University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2013
Downloads
14
Citations
0

Request the full text

Abstract

The presence of software faults is a huge risk to the safe use of the software. The prediction of fault-prone module ranking, as an effective mean for software quality control, can help software engineer to detect software faults efficiently.However, existing fault prediction models have many limitations when applied in practice. First, supervised-based fault prediction models are not appropriate for newly developed software due to the unavailability of historical fault information in the process of modeling. Second, existing unsupervised-based fault prediction models are mainly for classification rather than ranking. Therefore, they cannot be used to effectively allocate testing resources. Third, semi-supervised-based fault prediction models have a high cost because experts are needed during the modeling process. In particular, most of existing fault prediction models are evaluated by the indicators based on the confusion matrix. These indictors are effort-unaware, i.e., they do not take into account the effort to inspect/test when inspecting/testing these modules that are predicted as faulty. Consequently, it may not be cost-effective when applying these modules in practice.This thesis makes the following three contributions. First, we propose four inter-/inner-cluster ranking methods used for clustering-based fault prediction models. Based on five open-source systems, we use an effort-aware indicator to compare the effectiveness of these four ranking methods. Second, we apply a voting approach to generate a fault-prone module ranking. In particular, we give the principles to choice the voters and vote strategies in the modeling process. The experimental results show that the voting model is more cost-effective than the baseline model that ranks modules in ascending according to their LOC. Third, we combine the clustering-based fault-proneness ranking model with the voting method to generate fault-prone module ranking. The experimental results show that this combination can produce more cost-effective fault-prone module ranking.The main contributions of this thesis are summarized as follows:(1) We proposed four inter-/inner-cluster ranking algorithms used in clustering-based fault-proneness ranking model and experimentally compared their ability in ranking fault-prone modules;(2) We applied the voting method to a number of commonly used structural metrics to produce fault-prone ranking for modules.(3) We use the voting method to improve the clustering-combined module fault-proneness ranking model.

Table of contents

Summary 5-7 ABSTRACT 7-9 directory 9-12 Chapter 1 Preface 12-27 <br / > 1.1 motivation 12-13 1.2 Research Status 13-24 1.2.1 software metrics 13-15 1.2.2 modeling method 15-20 1.2.3 model Evaluation 20-24 1.2.4 summarizes the research status 24 1.3 The main 24-25 1.4 organizational Structure 25-27 chapter related technologies 27-36 2.1 correlation coefficient 27-29 <br / > 2.1.1 Pearson product-moment correlation coefficient 27-28 2.1.2 Spearman 's rank correlation coefficient 28-29 2.2 data preprocessing 29-30 2.2.1 SLOC measure excluding the impact of 29-30 2.2.2 variable transformation 30 2.3 clustering algorithm 30-33 <br / > 2.3.1 K-Means algorithm 31-32 2.3.2 X-Means algorithm 32-33 2.4 votes sorting theory 33-34 <br / > 2.5 Summary 34-36 Chapter III defect clustering module sorting based 36-49 3.1 module based on a sequence clustering defect prediction model 36-37 3.2 cluster and inter-cluster sorting within sorting defective modules based on sequence generation 37-38 3.3 model evaluation and benchmarking model 38-39 <br / > 3.4 experiments and results 39-48 3.4.1 dataset 39-40 3.4.2 experimental results 40-45 3.4. 3 Results 45-48 3.5 Summary 48-49 Chapter IV defective module sort order based voting 49-59 4.1 sort of defect modules based on votes ranking model 49-50 4.2 defects module based voting sorting sorting strategy 50-52 4.2.1 voters and polling strategy selection 51 4.2.2 collective decision rules 51-52 4.3 model evaluation and benchmarking model 52 4.4 experiments and results 52 - 58 4.4.1 dataset 52 4.4.2 voters and voting strategy 52-53 4.4.3 experimental results 53-55 4.4.4 analysis 55-58 4.5 Summary 58-59 fifth chapter of clustering defect modules voting Sort 59 -68 5.1 defects module combines clustering vote Sort model 59-60 5.2 of clustering defect sorting module vote set 60-62 5.2. a data preprocessing select between 61 5.2.2 clustering and cluster sorting class setting 61-62 5.2.3 voters and polling strategy combination 62 5.2.4 collective decision rules 62 5.3 model evaluation and benchmarking model 62-63 5.4 experiments and results 63-67 <br / > 5.4.1 dataset 63 5.4.2 voters and voting strategy 63 5.4.3 experimental results 63-65 5.4 1.4 analysis 65-67 5.5 summary 67-68 Chapter VI summary and Outlook 68-70 6.1 summarizes 68 6.2 future Work 68-70 References 70-75 Thanks 75-76

Related dissertations

  1. Study and Prediction of Quality of Wine Based on Pattern Recognition
    HouShuMing ·Shanghai Jiaotong University ·2012 ·Master's thesis
  2. Study on Credit Risk Prediction of City Commercial Banks in China
    XuZhu ·Nanjing Agricultural College ·2012 ·Master's thesis
  3. On the Development of Service Industry in Gansu from the Cluster Perspective
    JinMei ·Lanzhou University ·2013 ·Doctoral dissertation
  4. Predicting Customer Churn in Mobile Telecommunications
  5. Study on Tourism Industry Cluster of Hainan
  6. The Study of the Regional Tourism Competitiveness Based on Industrial Clustering Effect
    GuoYanGe ·Northwest Normal University ·2013 ·Master's thesis
  7. Study on the Linkage Analysis for17Districts of Hubei Province’s Tourism
    JiangWeiZheng ·Central China Normal University ·2014 ·Master's thesis
  8. Cluster Entrepreneurship:the Influence Mechanisms of the Technology and Market Gradient Distance
    ZuoJing ·Zhejiang University ·2014 ·Master's thesis
  9. Global value chain Chongqing Motorcycle Industrial Cluster Upgrading Research
  10. Study on Financial Distress Prediction of the Manufacturing Listed Companies in China Based on the Managers’behavior
  11. Demand Forecasting and Analysis of Influence Factors of the Rural Logistics in Henan Province
    XiaZhongYang ·Henan Agricultural University ·2013 ·Master's thesis
  12. Research of Urban Land Expansion and Land Use Economic Benefits of Chang-zhu-tan Agglomeration
    WangLe ·Hunan Agricultural University ·2013 ·Master's thesis
  13. Henan Medical Business Circle District Industrial Cluster Development Strategy Research
  14. Qianxi Nanzhou macroeconomic time series data analysis of Qianxi Prefecture Economic Growth Analysis and prediction based on 1978-2007 based on
    LuMei ·Guizhou National University ·2012 ·Master's thesis
  15. Analysis and Prediction of Rural Residents’ Consumer Demand and Its Influential Factors in Henan Province
  16. Chaotic Time Series Analysis and Its Application to Stock Index
    GongYanXiang ·Central South University ·2013 ·Master's thesis
  17. Price Volatility Prediction Methods and Comparison
    YuanZhen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  18. The Analysis of Region Feature and Interacting about Chinese Urbanization and Modern Service Industry
    JiangChao ·Dongbei University of Finance ·2013 ·Master's thesis
  19. Design and Implementation of Space Camera Compression Unit for Remote Sensing Image
  20. Research on Remote Sensing High-performance Computing Strategy and Preliminary Implementation of Platform Based on Cluster
    MaYong ·Chinese Academy of Forestry ·2013 ·Master's thesis