Developing a Bayesian Network Model Based on a State and Transition Model for Software Defect Detection

This paper describes a Bayesian Network model-to diagnose the causes-effect of software defect detection in the process of software testing. The aim is to use the BN model to identify defective software modules for efficient software test in order to improve the quality of a software system. It can also be used as a decision tool to assist software developers to determine defect priority levels for each phase of a software development project. The BN tool can provide a cause-effect relationship between the software defects found in each phase and other factors affecting software defect detection in software testing. First, we build a State and Transition Model that is used to provide a simple framework for integrating knowledge about software defect detection and various factors. Second, we convert the State and Transition Model into a Bayesian Network model. Third, the probabilities for the BN model are determined through the knowledge of software experts and previous software development projects or phases. Last, we observe the interactions among the variables and allow for prediction of effects of external manipulation. We believe that both STM and BN models can be used as very practical tools for predicting software defects and reliability in varying software development lifecycles.

[1]  Raymond L. Czaplewski,et al.  Adaptive Monitoring Design for Ecosystem Management , 1996 .

[2]  Wichian Premchaiswadi,et al.  Automatically Building Diagnostic Bayesian Networks from On-line Data Sources and the SMILE Web-based Interface , 2010 .

[3]  Richard E. Plant,et al.  Identification of Vegetation State- and-transition Domains in California's Hardwood Rangelands. , 1998 .

[4]  D. D Smeins State-and-Transition Models, Thresholds, and Rangeland Health: A Synthesis of Ecological Concepts and Perspectives , 2005 .

[5]  Lakhmi C. Jain,et al.  Introduction to Bayesian Networks , 2008 .

[6]  Ockie J. H. Bosch,et al.  Developing decision support tools for rangeland management by combining state and transition models and Bayesian belief networks , 2008 .

[7]  William Marsh,et al.  Predicting software defects in varying development lifecycles using Bayesian nets , 2007, Inf. Softw. Technol..

[8]  Norman E. Fenton,et al.  Software Measurement: Uncertainty and Causal Modeling , 2002, IEEE Softw..

[9]  Wichian Premchaiswadi,et al.  A SMILE web-based interface for learning the causal structure and performing a diagnosis of a Bayesian network , 2009, 2009 IEEE International Conference on Systems, Man and Cybernetics.

[10]  Judea Pearl,et al.  Probabilistic reasoning in intelligent systems - networks of plausible inference , 1991, Morgan Kaufmann series in representation and reasoning.

[11]  Ioannis Stamelos,et al.  On the use of Bayesian belief networks for the prediction of software productivity , 2003, Inf. Softw. Technol..

[12]  Kimberly J. Reever Morghan,et al.  Successful Adaptive Management—The Integration of Research and Management , 2006 .

[13]  Wichian Premchaiswadi,et al.  Dynamic Data Feed to Bayesian Network Model and SMILE Web Application , 2008, 2008 Ninth ACIS International Conference on Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing.

[14]  Paul Krause,et al.  Software Quality Prediction Using Bayesian Networks , 2003 .

[15]  Marek J. Druzdzel,et al.  SMILE: Structural Modeling, Inference, and Learning Engine and GeNIE: A Development Environment for Graphical Decision-Theoretic Models , 1999, AAAI/IAAI.

[16]  Chin-Feng Fan,et al.  BBN-based software project risk management , 2004, J. Syst. Softw..

[17]  E. Sabine G. Schreiber,et al.  Adaptive management: a synthesis of current understanding and effective application , 2004 .

[18]  Ioannis Stamelos,et al.  Software Process Modeling with Bayesian Belief Networks , 2004 .

[19]  Henry Tirri,et al.  B-Course: A Web-Based Tool for Bayesian and Causal Data Analysis , 2002, Int. J. Artif. Intell. Tools.

[20]  Roger L. Sheley,et al.  Successful Adaptive Management:The Integration of Research and Management , 2006 .