The aim and
objective of Statistical
debugging is to streamline and automate the procedure of isolating bugs by
profiling numerous runs of the program and uses statistical analysis to find
the possible reasons of failure. In this approach we use HOLMES as a
statistical debugging tool to perform bug isolation. We will also discuss its design
and implementation. In order to perform bug isolation, this tool use path
profiles instead of predicate profiling. The way this tool work is, first it
instrument the program that it can perform path profiling. Next execute the
program and path profile of both failure and successful program is run and used
to recognize and mark the path which is good predictor of program failing.
Later we will show that HOLMES is a more efficient and effective tool for bugs
isolation also will explain some techniques of statistical debugging based on
predicated.  

 

As
we know that statistical debugging is a technique used to gather information
about program execution including both failure and successful program’s run and
apply the statistical techniques to the point which is the reason of software
failure. Firstly it instrumented the program to gather data about different
types of predicates. There are three types of predicates, Branches, Returns and
Scalar-Pairs. Branches are related to Boolean conditions to track which path
has taken either true one or false. Returns are related to scalar returning function,
these are known as site. This is used to specify tracked the values of these
six conditions, less than zero, less than equal to zero, greater than zero,
greater than equal to zero, equal to zero and last one is not equal to zero.
Scalar-Pairs are related to scalar assignment. For example x=…, identify
similar type in scope and each constant expression. Then by multiple execution
of a program the aggregated information is gather in the form of feedback
report. The feedback report for a specific
program execution is represented as a bit-vector, where two bits for each
predicate observed and true), and one final bit representing success or
failure. 

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now