SlideShare a Scribd company logo
International Journal on Computational Sciences & Applications (IJCSA) Vol.4, No.4, August 2014 
PERFORMANCE ANALYSIS OF LOGIC 
COVERAGE CRITERIA USING MUMCUT 
AND MINIMAL MUMCUT 
Usha Badhera and Annu Maheshwari 
Banasthali Vidyapith, Jaipur 
ABSTRACT 
Logic coverage criteria are central aspect of programs and specifications in the testing of software. A 
Boolean expression with n variables in expression 2n distinct test cases is required for exhaustive testing 
.This is expensive even when n is modestly large. The possible solution is to select a small subset of all 
possible test cases which can effectively detect most of the common faults. Test case prioritization is one of 
the key techniques for making testing cost effective. In present study performance index of test suite is 
calculated for two Boolean specification testing techniques MUMCUT and Minimal-MUMCUT. 
Performance index helps to measure the efficiency and determine when testing can be stopped in case of 
limited resources. This paper evaluates the testability of generated single faults according to the number of 
test cases used to detect them. Test cases are generated from logic expressions in irredundant normal form 
(IDNF) derived from specifications or source code. The efficiency of prioritization techniques has been 
validated by an empirical study done on bench mark expressions using Performance Index (PI) metric. 
KEYWORDS 
MUMCUT, Minimal MUMCUT, Performance Index, Prioritization, Fault 
1.Introduction 
Logic coverage criteria have been studied intensively both in theory and practice. Testing with a 
high coverage of logic expressions always implies a high probability of detecting faults. In the 
past decade, may testing criteria have been proposed for software characterized by complex 
logical decisions, such as those in safety-critical software [1], [2], [3]. In such cases, it is 
imperative that the logical decisions be adequately tested for the occurrence of plausible faults. In 
recent years, more sophisticated coverage criteria have been advocated, like BOR (Boolean 
Operator Testing Strategy),BMIS(Basic Meaningful Impact Strategy),modified 
condition/decision coverage (MC/DC) [1],[2],[4] and the MUMCUT criteria[5].Compliance of 
the MC/DC criterion has been mandated by Federal Aviation Administration for the approval of 
airborne software. MC/DC was ‘‘developed to address the concerns of testing Boolean 
expressions and can be used to guide the selection of test cases at all levels of specification, from 
initial requirements to source code’’ [1]. While MC/DC is effective in fault detection, it also 
consumes a great deal of testing resources [2], [6]. MUMCUT strategy is to generate test cases 
that can guarantee detection of seven types of single faults provided that the original expression is 
in irredundant disjunctive normal form (IDNF)[6]. In this strategy, there is no restriction on the 
number and occurrence of variables in the given Boolean expressions.Minimal-MUMCUT [7] 
that improves the MUMCUT strategy by considering the feasibility problem of the three testing 
constituents of the MUMCUT strategy. It reduces the test suite size as compared to MUMCUT 
DOI:10.5121/ijcsa.2014.4404 39
International Journal on Computational Sciences & Applications (IJCSA) Vol.4, No.4, August 2014 
without compromising any fault detection capability. Thus, the extra tests required by the 
MUMCUT criterion are of little, if any, value based on the theoretical and empirical studies 
conducted [7].In this study test cases generated by Minimal-MUMCUT and MUMCUT strategies 
have been used. The efficiency is measured by Performance Index (PI) using test cases generated 
by both strategies and comparison has been done between them. 
40 
2. Preliminary and Previous Work 
This section covers the basics of previous work, to introduce the notation and terminologies to be 
used in this paper, as well as the main ideas that motivated this work. Section 2.1 presents 
MUMCUT strategy and Section 2.2 presents Minimal MUMCUT strategy for generating test 
cases from logical expressions. A well-known metric Performance Index (PI) for evaluating the 
efficiency of prioritized test cases is outlined in Section 2.3. In Section 2.4, seven different types 
of single faults generated from irredundant disjunctive normal form (IDNF) of original expression 
and hierarchy of fault classes supported by Minimal-MUMCUT test cases for specification-based 
testing is presented. 
2.1 MUMCUT Strategy 
Chen [8] proposed three test case selection strategies for generating test cases from Boolean 
expressions. 
2.1.1 Multiple Unique True Point (MUTP): The MUTP strategy selects enough test points 
from UTP(S) so that all possible truth values (0 and 1) of every literal not occurring in the 	
 
term are covered for every. 
Example:
=  + . A UTP for the first term must have  = 1,  = 1.Tests for  and  to 
each equal 0 and 1 are 1101 and 1110. A UTP for the second term must have  = 1 and = 1. 
Tests for  to each equal 0 and 1 are 0111 and 1011. A test set is {1101, 1110, 0111, and 
1011}. 
2.1.2 Multiple Near False Point (MNFP): The MNFP strategy selects enough test points from 
(
) so that all possible truth values of every literal not occurring in the 	
 term are 
covered for every  and every. 
Example
=  +  (
)for and so that and each equal 0 and 1 are 0101, 0110, 
1001, and 1010. (
) for  and  so that  and  each equal 0 and 1 are 0101, 1001, 0110, 
and 1010. A test set is {0101, 0110, 1001, and 1010}. 
2.1.3 Corresponding Unique True Point and Near False Point pair (CUTPNFP) : Requires 
the selection of a unique true point  in the set of all unique true points of 	
 term of
and a near 
false point  from the set of all near false points for the 	
 literal in the 	
 term of
such that  
and  only differ in the corresponding value of the 	
 literal of the 	
 term in
, for every 
possible combination of  and . 
Example: Consider =  + . A   for the first term must have = 1,  = 1. If  = 0 
and = 1, tests for the literals in  are 1101, 0101, and 1001. A   for the second term must 
have = 1,  = 1. If  = 1 and = 0, tests for the literals in  are 1011, 1001, and 1010. A 
test set is {1101, 0101, 1001, 1011, and 1010}. The MUMCUT strategy, which integrates the 
MUTP, MNFP and CUTPNFP strategies, was formally defined by Chen [1, 2].A test set T is said

More Related Content

What's hot

1.9 cấu trúc câu đề phải có sự nhất quán
1.9 cấu trúc câu đề phải có sự nhất quán1.9 cấu trúc câu đề phải có sự nhất quán
1.9 cấu trúc câu đề phải có sự nhất quán
Lac Hong University
 
PEMF2_SDM_2012_Ali
PEMF2_SDM_2012_AliPEMF2_SDM_2012_Ali
PEMF2_SDM_2012_Ali
MDO_Lab
 
Sequential estimation of_discrete_choice_models
Sequential estimation of_discrete_choice_modelsSequential estimation of_discrete_choice_models
Sequential estimation of_discrete_choice_models
YoussefKitane
 
08 2008 068_prvulovic_03
08 2008 068_prvulovic_0308 2008 068_prvulovic_03
08 2008 068_prvulovic_03
Barbara Onwutalobi
 
Hc3413121317
Hc3413121317Hc3413121317
Hc3413121317
IJERA Editor
 
COSMOS-ASME-IDETC-2014
COSMOS-ASME-IDETC-2014COSMOS-ASME-IDETC-2014
COSMOS-ASME-IDETC-2014
OptiModel
 
A Review on Feature Selection Methods For Classification Tasks
A Review on Feature Selection Methods For Classification TasksA Review on Feature Selection Methods For Classification Tasks
A Review on Feature Selection Methods For Classification Tasks
Editor IJCATR
 
AMS_Aviation_2014_Ali
AMS_Aviation_2014_AliAMS_Aviation_2014_Ali
AMS_Aviation_2014_Ali
MDO_Lab
 
Feature selection concepts and methods
Feature selection concepts and methodsFeature selection concepts and methods
Feature selection concepts and methods
Reza Ramezani
 
Efficiently finding the parameter for emergign pattern based classifier
Efficiently finding the parameter for emergign pattern based classifierEfficiently finding the parameter for emergign pattern based classifier
Efficiently finding the parameter for emergign pattern based classifier
Ganesh Pavan Kambhampati
 
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
cscpconf
 
An SPRT Procedure for an Ungrouped Data using MMLE Approach
An SPRT Procedure for an Ungrouped Data using MMLE ApproachAn SPRT Procedure for an Ungrouped Data using MMLE Approach
An SPRT Procedure for an Ungrouped Data using MMLE Approach
IOSR Journals
 
Comparing between maximum
Comparing between maximumComparing between maximum
Comparing between maximum
ijseajournal
 
An introduction to variable and feature selection
An introduction to variable and feature selectionAn introduction to variable and feature selection
An introduction to variable and feature selection
Marco Meoni
 
Harmony Search for Multi-objective Optimization - SBRN 2012
Harmony Search for Multi-objective Optimization - SBRN 2012Harmony Search for Multi-objective Optimization - SBRN 2012
Harmony Search for Multi-objective Optimization - SBRN 2012
lucasmpavelski
 
Threshold benchmarking for feature ranking techniques
Threshold benchmarking for feature ranking techniquesThreshold benchmarking for feature ranking techniques
Threshold benchmarking for feature ranking techniques
journalBEEI
 
H45023744
H45023744H45023744
H45023744
IJERA Editor
 

What's hot (17)

1.9 cấu trúc câu đề phải có sự nhất quán
1.9 cấu trúc câu đề phải có sự nhất quán1.9 cấu trúc câu đề phải có sự nhất quán
1.9 cấu trúc câu đề phải có sự nhất quán
 
PEMF2_SDM_2012_Ali
PEMF2_SDM_2012_AliPEMF2_SDM_2012_Ali
PEMF2_SDM_2012_Ali
 
Sequential estimation of_discrete_choice_models
Sequential estimation of_discrete_choice_modelsSequential estimation of_discrete_choice_models
Sequential estimation of_discrete_choice_models
 
08 2008 068_prvulovic_03
08 2008 068_prvulovic_0308 2008 068_prvulovic_03
08 2008 068_prvulovic_03
 
Hc3413121317
Hc3413121317Hc3413121317
Hc3413121317
 
COSMOS-ASME-IDETC-2014
COSMOS-ASME-IDETC-2014COSMOS-ASME-IDETC-2014
COSMOS-ASME-IDETC-2014
 
A Review on Feature Selection Methods For Classification Tasks
A Review on Feature Selection Methods For Classification TasksA Review on Feature Selection Methods For Classification Tasks
A Review on Feature Selection Methods For Classification Tasks
 
AMS_Aviation_2014_Ali
AMS_Aviation_2014_AliAMS_Aviation_2014_Ali
AMS_Aviation_2014_Ali
 
Feature selection concepts and methods
Feature selection concepts and methodsFeature selection concepts and methods
Feature selection concepts and methods
 
Efficiently finding the parameter for emergign pattern based classifier
Efficiently finding the parameter for emergign pattern based classifierEfficiently finding the parameter for emergign pattern based classifier
Efficiently finding the parameter for emergign pattern based classifier
 
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
PROGRAM TEST DATA GENERATION FOR BRANCH COVERAGE WITH GENETIC ALGORITHM: COMP...
 
An SPRT Procedure for an Ungrouped Data using MMLE Approach
An SPRT Procedure for an Ungrouped Data using MMLE ApproachAn SPRT Procedure for an Ungrouped Data using MMLE Approach
An SPRT Procedure for an Ungrouped Data using MMLE Approach
 
Comparing between maximum
Comparing between maximumComparing between maximum
Comparing between maximum
 
An introduction to variable and feature selection
An introduction to variable and feature selectionAn introduction to variable and feature selection
An introduction to variable and feature selection
 
Harmony Search for Multi-objective Optimization - SBRN 2012
Harmony Search for Multi-objective Optimization - SBRN 2012Harmony Search for Multi-objective Optimization - SBRN 2012
Harmony Search for Multi-objective Optimization - SBRN 2012
 
Threshold benchmarking for feature ranking techniques
Threshold benchmarking for feature ranking techniquesThreshold benchmarking for feature ranking techniques
Threshold benchmarking for feature ranking techniques
 
H45023744
H45023744H45023744
H45023744
 

Viewers also liked

MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...
MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...
MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...
ijcsa
 
Quality estimation of machine translation outputs through stemming
Quality estimation of machine translation outputs through stemmingQuality estimation of machine translation outputs through stemming
Quality estimation of machine translation outputs through stemming
ijcsa
 
Efficient lung air volume estimation using
Efficient lung air volume estimation usingEfficient lung air volume estimation using
Efficient lung air volume estimation using
ijcsa
 
Assessment of wind resource and
Assessment of wind resource andAssessment of wind resource and
Assessment of wind resource and
ijcsa
 
Computation grid as a connected world
Computation grid as a connected worldComputation grid as a connected world
Computation grid as a connected world
ijcsa
 
Effect of mesh grid structure in reducing hot carrier effect of nmos device s...
Effect of mesh grid structure in reducing hot carrier effect of nmos device s...Effect of mesh grid structure in reducing hot carrier effect of nmos device s...
Effect of mesh grid structure in reducing hot carrier effect of nmos device s...
ijcsa
 
Hybrid hmmdtw based speech recognition with kernel adaptive filtering method
Hybrid hmmdtw based speech recognition with kernel adaptive filtering methodHybrid hmmdtw based speech recognition with kernel adaptive filtering method
Hybrid hmmdtw based speech recognition with kernel adaptive filtering method
ijcsa
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
ijcsa
 
Extended online graph edge coloring
Extended online graph edge coloringExtended online graph edge coloring
Extended online graph edge coloring
ijcsa
 
Evaluation the efficiency of cuckoo
Evaluation the efficiency of cuckooEvaluation the efficiency of cuckoo
Evaluation the efficiency of cuckoo
ijcsa
 
Security & privacy issues of cloud & grid computing networks
Security & privacy issues of cloud & grid computing networksSecurity & privacy issues of cloud & grid computing networks
Security & privacy issues of cloud & grid computing networks
ijcsa
 
Augmented split –protocol; an ultimate d do s defender
Augmented split –protocol; an ultimate d do s defenderAugmented split –protocol; an ultimate d do s defender
Augmented split –protocol; an ultimate d do s defender
ijcsa
 
AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...
AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...
AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...
ijcsa
 
Mining sequential patterns for interval based
Mining sequential patterns for interval basedMining sequential patterns for interval based
Mining sequential patterns for interval based
ijcsa
 
I See Jesus In Your Eyes
I See Jesus In Your EyesI See Jesus In Your Eyes
I See Jesus In Your Eyes
SHINE Fest
 
Alila Hua Hin
Alila  Hua  HinAlila  Hua  Hin
Alila Hua Hin
Tom Aikins
 
Buku Terbitan Kajian Hingga September 2009
Buku Terbitan Kajian Hingga September 2009Buku Terbitan Kajian Hingga September 2009
Buku Terbitan Kajian Hingga September 2009
Bidang ANDROIDA-Puslatbang KDOD LAN
 
Some One To Watch Over Me
Some One To Watch Over MeSome One To Watch Over Me
Some One To Watch Over Me
stubbyfluffy S
 
Thiptara Peninsula
Thiptara  PeninsulaThiptara  Peninsula
Thiptara Peninsula
Tom Aikins
 

Viewers also liked (20)

MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...
MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...
MOVEMENT ASSISTED COMPONENT BASED SCALABLE FRAMEWORK FOR DISTRIBUTED WIRELESS...
 
Quality estimation of machine translation outputs through stemming
Quality estimation of machine translation outputs through stemmingQuality estimation of machine translation outputs through stemming
Quality estimation of machine translation outputs through stemming
 
Efficient lung air volume estimation using
Efficient lung air volume estimation usingEfficient lung air volume estimation using
Efficient lung air volume estimation using
 
Assessment of wind resource and
Assessment of wind resource andAssessment of wind resource and
Assessment of wind resource and
 
Computation grid as a connected world
Computation grid as a connected worldComputation grid as a connected world
Computation grid as a connected world
 
Effect of mesh grid structure in reducing hot carrier effect of nmos device s...
Effect of mesh grid structure in reducing hot carrier effect of nmos device s...Effect of mesh grid structure in reducing hot carrier effect of nmos device s...
Effect of mesh grid structure in reducing hot carrier effect of nmos device s...
 
Hybrid hmmdtw based speech recognition with kernel adaptive filtering method
Hybrid hmmdtw based speech recognition with kernel adaptive filtering methodHybrid hmmdtw based speech recognition with kernel adaptive filtering method
Hybrid hmmdtw based speech recognition with kernel adaptive filtering method
 
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
REAL TIME SPECIAL EFFECTS GENERATION AND NOISE FILTRATION OF AUDIO SIGNAL USI...
 
Extended online graph edge coloring
Extended online graph edge coloringExtended online graph edge coloring
Extended online graph edge coloring
 
Evaluation the efficiency of cuckoo
Evaluation the efficiency of cuckooEvaluation the efficiency of cuckoo
Evaluation the efficiency of cuckoo
 
Security & privacy issues of cloud & grid computing networks
Security & privacy issues of cloud & grid computing networksSecurity & privacy issues of cloud & grid computing networks
Security & privacy issues of cloud & grid computing networks
 
Augmented split –protocol; an ultimate d do s defender
Augmented split –protocol; an ultimate d do s defenderAugmented split –protocol; an ultimate d do s defender
Augmented split –protocol; an ultimate d do s defender
 
AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...
AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...
AN ENHANCED EDGE ADAPTIVE STEGANOGRAPHY APPROACH USING THRESHOLD VALUE FOR RE...
 
Mining sequential patterns for interval based
Mining sequential patterns for interval basedMining sequential patterns for interval based
Mining sequential patterns for interval based
 
I See Jesus In Your Eyes
I See Jesus In Your EyesI See Jesus In Your Eyes
I See Jesus In Your Eyes
 
Alila Hua Hin
Alila  Hua  HinAlila  Hua  Hin
Alila Hua Hin
 
Buku Terbitan Kajian Hingga September 2009
Buku Terbitan Kajian Hingga September 2009Buku Terbitan Kajian Hingga September 2009
Buku Terbitan Kajian Hingga September 2009
 
Some One To Watch Over Me
Some One To Watch Over MeSome One To Watch Over Me
Some One To Watch Over Me
 
Thiptara Peninsula
Thiptara  PeninsulaThiptara  Peninsula
Thiptara Peninsula
 
Vj Testimonial
Vj TestimonialVj Testimonial
Vj Testimonial
 

Similar to Performance analysis of logic

Code coverage based test case selection and prioritization
Code coverage based test case selection and prioritizationCode coverage based test case selection and prioritization
Code coverage based test case selection and prioritization
ijseajournal
 
A NOVEL APPROACH FOR TEST CASEPRIORITIZATION
A NOVEL APPROACH FOR TEST CASEPRIORITIZATIONA NOVEL APPROACH FOR TEST CASEPRIORITIZATION
A NOVEL APPROACH FOR TEST CASEPRIORITIZATION
IJCSEA Journal
 
Enhanced technique for regression testing
Enhanced technique for regression testingEnhanced technique for regression testing
Enhanced technique for regression testing
eSAT Journals
 
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASESA PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
Kula Sekhar Reddy Yerraguntla
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
Khuong Nguyen
 
Guidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability PredictionGuidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability Prediction
ijsrd.com
 
Effectiveness of test case
Effectiveness of test caseEffectiveness of test case
Effectiveness of test case
ijseajournal
 
A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...
Tsuyoshi Yumoto
 
Special Double Sampling Plan for truncated life tests based on the Marshall-O...
Special Double Sampling Plan for truncated life tests based on the Marshall-O...Special Double Sampling Plan for truncated life tests based on the Marshall-O...
Special Double Sampling Plan for truncated life tests based on the Marshall-O...
ijceronline
 
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODELEXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
ijaia
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
ijfcstjournal
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
ijfcstjournal
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
ijfcstjournal
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
ijfcstjournal
 
B0342014027
B0342014027B0342014027
B0342014027
inventionjournals
 
Configuration Navigation Analysis Model for Regression Test Case Prioritization
Configuration Navigation Analysis Model for Regression Test Case PrioritizationConfiguration Navigation Analysis Model for Regression Test Case Prioritization
Configuration Navigation Analysis Model for Regression Test Case Prioritization
ijsrd.com
 
Testing
TestingTesting
Testing
nazeer pasha
 
Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptx
maheshwari581940
 
Test case prioritization using firefly algorithm for software testing
Test case prioritization using firefly algorithm for software testingTest case prioritization using firefly algorithm for software testing
Test case prioritization using firefly algorithm for software testing
Journal Papers
 
Principles of design of experiments (doe)20 5-2014
Principles of  design of experiments (doe)20 5-2014Principles of  design of experiments (doe)20 5-2014
Principles of design of experiments (doe)20 5-2014
Awad Albalwi
 

Similar to Performance analysis of logic (20)

Code coverage based test case selection and prioritization
Code coverage based test case selection and prioritizationCode coverage based test case selection and prioritization
Code coverage based test case selection and prioritization
 
A NOVEL APPROACH FOR TEST CASEPRIORITIZATION
A NOVEL APPROACH FOR TEST CASEPRIORITIZATIONA NOVEL APPROACH FOR TEST CASEPRIORITIZATION
A NOVEL APPROACH FOR TEST CASEPRIORITIZATION
 
Enhanced technique for regression testing
Enhanced technique for regression testingEnhanced technique for regression testing
Enhanced technique for regression testing
 
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASESA PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
A PARTICLE SWARM OPTIMIZATION TECHNIQUE FOR GENERATING PAIRWISE TEST CASES
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Guidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability PredictionGuidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability Prediction
 
Effectiveness of test case
Effectiveness of test caseEffectiveness of test case
Effectiveness of test case
 
A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...
 
Special Double Sampling Plan for truncated life tests based on the Marshall-O...
Special Double Sampling Plan for truncated life tests based on the Marshall-O...Special Double Sampling Plan for truncated life tests based on the Marshall-O...
Special Double Sampling Plan for truncated life tests based on the Marshall-O...
 
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODELEXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
EXTRACTING THE MINIMIZED TEST SUITE FOR REVISED SIMULINK/STATEFLOW MODEL
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
 
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TESTTEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
TEST CASE PRIORITIZATION FOR OPTIMIZING A REGRESSION TEST
 
B0342014027
B0342014027B0342014027
B0342014027
 
Configuration Navigation Analysis Model for Regression Test Case Prioritization
Configuration Navigation Analysis Model for Regression Test Case PrioritizationConfiguration Navigation Analysis Model for Regression Test Case Prioritization
Configuration Navigation Analysis Model for Regression Test Case Prioritization
 
Testing
TestingTesting
Testing
 
Test case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptxTest case prioritization usinf regression testing.pptx
Test case prioritization usinf regression testing.pptx
 
Test case prioritization using firefly algorithm for software testing
Test case prioritization using firefly algorithm for software testingTest case prioritization using firefly algorithm for software testing
Test case prioritization using firefly algorithm for software testing
 
Principles of design of experiments (doe)20 5-2014
Principles of  design of experiments (doe)20 5-2014Principles of  design of experiments (doe)20 5-2014
Principles of design of experiments (doe)20 5-2014
 

Performance analysis of logic

  • 1. International Journal on Computational Sciences & Applications (IJCSA) Vol.4, No.4, August 2014 PERFORMANCE ANALYSIS OF LOGIC COVERAGE CRITERIA USING MUMCUT AND MINIMAL MUMCUT Usha Badhera and Annu Maheshwari Banasthali Vidyapith, Jaipur ABSTRACT Logic coverage criteria are central aspect of programs and specifications in the testing of software. A Boolean expression with n variables in expression 2n distinct test cases is required for exhaustive testing .This is expensive even when n is modestly large. The possible solution is to select a small subset of all possible test cases which can effectively detect most of the common faults. Test case prioritization is one of the key techniques for making testing cost effective. In present study performance index of test suite is calculated for two Boolean specification testing techniques MUMCUT and Minimal-MUMCUT. Performance index helps to measure the efficiency and determine when testing can be stopped in case of limited resources. This paper evaluates the testability of generated single faults according to the number of test cases used to detect them. Test cases are generated from logic expressions in irredundant normal form (IDNF) derived from specifications or source code. The efficiency of prioritization techniques has been validated by an empirical study done on bench mark expressions using Performance Index (PI) metric. KEYWORDS MUMCUT, Minimal MUMCUT, Performance Index, Prioritization, Fault 1.Introduction Logic coverage criteria have been studied intensively both in theory and practice. Testing with a high coverage of logic expressions always implies a high probability of detecting faults. In the past decade, may testing criteria have been proposed for software characterized by complex logical decisions, such as those in safety-critical software [1], [2], [3]. In such cases, it is imperative that the logical decisions be adequately tested for the occurrence of plausible faults. In recent years, more sophisticated coverage criteria have been advocated, like BOR (Boolean Operator Testing Strategy),BMIS(Basic Meaningful Impact Strategy),modified condition/decision coverage (MC/DC) [1],[2],[4] and the MUMCUT criteria[5].Compliance of the MC/DC criterion has been mandated by Federal Aviation Administration for the approval of airborne software. MC/DC was ‘‘developed to address the concerns of testing Boolean expressions and can be used to guide the selection of test cases at all levels of specification, from initial requirements to source code’’ [1]. While MC/DC is effective in fault detection, it also consumes a great deal of testing resources [2], [6]. MUMCUT strategy is to generate test cases that can guarantee detection of seven types of single faults provided that the original expression is in irredundant disjunctive normal form (IDNF)[6]. In this strategy, there is no restriction on the number and occurrence of variables in the given Boolean expressions.Minimal-MUMCUT [7] that improves the MUMCUT strategy by considering the feasibility problem of the three testing constituents of the MUMCUT strategy. It reduces the test suite size as compared to MUMCUT DOI:10.5121/ijcsa.2014.4404 39
  • 2. International Journal on Computational Sciences & Applications (IJCSA) Vol.4, No.4, August 2014 without compromising any fault detection capability. Thus, the extra tests required by the MUMCUT criterion are of little, if any, value based on the theoretical and empirical studies conducted [7].In this study test cases generated by Minimal-MUMCUT and MUMCUT strategies have been used. The efficiency is measured by Performance Index (PI) using test cases generated by both strategies and comparison has been done between them. 40 2. Preliminary and Previous Work This section covers the basics of previous work, to introduce the notation and terminologies to be used in this paper, as well as the main ideas that motivated this work. Section 2.1 presents MUMCUT strategy and Section 2.2 presents Minimal MUMCUT strategy for generating test cases from logical expressions. A well-known metric Performance Index (PI) for evaluating the efficiency of prioritized test cases is outlined in Section 2.3. In Section 2.4, seven different types of single faults generated from irredundant disjunctive normal form (IDNF) of original expression and hierarchy of fault classes supported by Minimal-MUMCUT test cases for specification-based testing is presented. 2.1 MUMCUT Strategy Chen [8] proposed three test case selection strategies for generating test cases from Boolean expressions. 2.1.1 Multiple Unique True Point (MUTP): The MUTP strategy selects enough test points from UTP(S) so that all possible truth values (0 and 1) of every literal not occurring in the term are covered for every. Example:
  • 3. = + . A UTP for the first term must have = 1, = 1.Tests for and to each equal 0 and 1 are 1101 and 1110. A UTP for the second term must have = 1 and = 1. Tests for to each equal 0 and 1 are 0111 and 1011. A test set is {1101, 1110, 0111, and 1011}. 2.1.2 Multiple Near False Point (MNFP): The MNFP strategy selects enough test points from (
  • 4. ) so that all possible truth values of every literal not occurring in the term are covered for every and every. Example
  • 5. = + (
  • 6. )for and so that and each equal 0 and 1 are 0101, 0110, 1001, and 1010. (
  • 7. ) for and so that and each equal 0 and 1 are 0101, 1001, 0110, and 1010. A test set is {0101, 0110, 1001, and 1010}. 2.1.3 Corresponding Unique True Point and Near False Point pair (CUTPNFP) : Requires the selection of a unique true point in the set of all unique true points of term of
  • 8. and a near false point from the set of all near false points for the literal in the term of
  • 9. such that and only differ in the corresponding value of the literal of the term in
  • 10. , for every possible combination of and . Example: Consider = + . A for the first term must have = 1, = 1. If = 0 and = 1, tests for the literals in are 1101, 0101, and 1001. A for the second term must have = 1, = 1. If = 1 and = 0, tests for the literals in are 1011, 1001, and 1010. A test set is {1101, 0101, 1001, 1011, and 1010}. The MUMCUT strategy, which integrates the MUTP, MNFP and CUTPNFP strategies, was formally defined by Chen [1, 2].A test set T is said
  • 11. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 to satisfy the MUMCUT strategy if T satisfies all of the MUTP, MNFP and CUTPNFP strategies. Such a test set is called a MUMCUT test set. 41 2.2 Minimal MUMCUT Strategy The amalgamation of MUTP, MNFP and CUTPNFP strategies is referred to as the MUMCUT strategy [6]. According to Minimal-MUMCUT, if MUTP criterion is infeasible, then prioritized test set will be MUTP (U) test cases followed by overlapping NFPs. Overlapping NFPs is a set covering combinatorial optimize test cases. For example: (ab)|(b!c)|(!bc) MUTPs for this Boolean expression are : 111,010,001,101. In this expression (ab) and (b! c) terms are MUTP infeasible and only(!bc) term is MUTP feasible which covers both values 0 and 1 for missing literal a. The NFPs for the expression (ab)|(b!c)|(!bc) 011,101,000,010,100 but the overlapping NFPs are 100(b of ab and c of !bc),000(b of b!c),011(a of ab and b of !bc and c of b!c). MUTP criterion is infeasible: Test Set = MUTP + NFP If CUTPNFP criterion is infeasible then prioritized test set will be MUTP test cases followed by CUTPNFP. For example: (ab)|(b!c)|(!bc) CUTPNFP criterion is infeasible for this Boolean expression. CUTPNFPs test cases for above Boolean expression are 111,011,100,010,000,001. CUTPNFP criterion is infeasible: Test Set = MUTP+CUTPNFP If a MUTP criterion is feasible then prioritized test set will be MUTP (U) test cases followed by CUTPNFP(C) followed by MNFP (N) test cases. MUTP feasible: Test Set =MUTP+PCUTPNFP+MNFP 2.3 Performance Index The performance of the prioritization technique used is known as effectiveness. It is necessary to assess effectiveness of the ordering of the test suite. Since APFD (Average Percentage of Faults Detected) denotes the global optimum of fault detection, that is, fault detection rate. This section measures the local optimum of fault detection, which means the cost to find more faults as more test cases are executed. [8], [9] To demonstrate the efficiency of a coverage criterion, we combine the effectiveness with the effort required in testing. To quantify this, we use a metric called performance index (PIT) of a minimal test suite T which is defined as: PIT = Number of faults revealed by test suite T/ Size of the minimal test suite T Here PIT essentially reflects the average cost of finding a defect (i.e., the efficiency) using a test criterion in terms of number of test cases required. A high PI score implies a low cost for finding faults and high efficiency. A threshold can be set for the performance index. For example threshold is 1. If the number of faults detected and the number of faults increase at the same rate, PI will always be 1. If CI is greater than 1, means the technique is efficient at detecting faults, because detecting more faults requires fewer tests. 2.4 Faults in Logical Expressions A faulty implementation is referred to as single-fault expression if (1) it differs from the original expression by one syntactic change; and (2) it is not equivalent to the original expression. Fault
  • 12. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 generation is handled by a series of complex string manipulations on JAVA Eclipse using JAVA Collection Frameworks. The general methodology of generating faults starts with the expression, which is just an infix string at this point, being passed through a tokenizer. The tokens then are searched for the one that will have the fault inserted before or after.This study considers the following classes of simple faults for logical decisions. A decision S in n variables can always be written in disjunctive normal form (DNF) as a sum of product [8]. S= # + $% + 42 Table1. Types of Faults Fault Description Example Expression Negation Fault (ENF) The expression or sub-expression is negated + + e Term Negation Fault (TNF) A term is negated + + ' Term Omission Fault (TOF) A term is omitted + ' Operator Reference Fault (ORF) An OR operator(+) is implemented as the AND operator or vice versa . + ' or + + + ' Literal Negation Fault (LNF) A literal is negated + + ' Literal Omission Fault (LOF) A literal is omitted + + ' Literal Insertion Fault (LIF) A literal is inserted + + ' Literal Reference Fault (LRF) A literal is implemented as another literal + + ' 3. Proposed Work This section describes calculation of performance index metric for benchmark Boolean expressions. For example consider Boolean expression (abc)| (de). Table shows the test cases have been generated by MUMCUT and Minimal MUMCUT strategies for Boolean expression (abc)| (de) on JAVA Eclipse using JAVA Collection Frameworks. The total number test cases generated by MUMCUT strategy is 14 whereas total number of test cases generated by Minimal MUMCUT is 7.
  • 13. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 43 Table 2: Test Cases Generated by MUMCUT Minimal MUMCUT Strategies Test Cases Generated By MUMCUT Strategy Test Cases Generated By Minimal MUMCUT Strategy T1 11101 T1 11101 T2 11110 T2 11110 T3 00111 T3 00111 T4 11011 T4 11011 T5 01100 T5 01101 T6 10100 T6 11010 T7 11000 T7 10110 T8 00001 T9 00010 T10 01101 T11 01110 T12 10101 T13 10110 T14 11001 Table shows all the faulty expressions of the original Boolean expression (abc)| (de) with fault detection using test cases generated by Minimal MUMCUT strategy. Table 3 (a): Gaining expected values for Boolean Expression (abc) | (de) S.N. Faulty Expressions Test Cases Generated By Minimal MUMCUT strategy 11101 11110 00111 11011 01101 11010 10110 1 (a|bc)|(de) 1/1 1/1 1/1 1/1 0/1 0/1 0/1 × × × 2 (ab|c)|(de) 1/1 1/1 1/1 1/1 0/1 0/1 0/1 × × × 3 (abc)(de) 1/0 1/0 1/0 1/0 0/0 0/0 0/0 × × × × 4 (abc)|(d|e) 1/1 1/1 1/1 1/1 0/1 0/1 0/1 × × × 5 !((abc)|(de)) 1/0 1/0 1/0 1/0 0/1 0/1 0/1 × × × × × × × 6 (bc)|(de) 1/1 1/1 1/1 1/1 0/1 0/0 0/0 × 7 (ac)|(de) 1/1 1/1 1/1 1/1 0/0 0/0 0/1 × 8 (ab)|(de) 1/1 1/1 1/1 1/1 0/0 0/1 0/0 × 9 (abc)|e) 1/1 1/1 1/1 1/1 0/1 0/0 0/0 × 10 (abc)|(d) 1/1 1/1 1/1 1/1 0/0 0/1 0/1 × ×
  • 14. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 44 11 !((abc))|(de) 1/0 1/0 1/1 1/1 0/1 0/1 0/1 × × × × × 12 (abc)|!((de)) 1/1 1/1 1/0 1/0 0/1 0/1 0/1 × × × × × Table3 (b): Gaining expected values for Boolean Expression (abc) | (de) S.N. Faulty Expressions Test Cases Generated By Minimal MUMCUT strategy 11101 11110 00111 11011 01101 11010 10110 13 (de) 1/0 1/0 1/1 1/1 0/0 0/0 0/0 × × 14 (abc) 1/1 1/1 1/0 1/0 0/0 0/0 0/0 × × 15 d(abc)|(de) 1/0 1/1 1/1 1/1 0/0 0/0 0/0 × 16 e(abc)|(de) 1/1 1/0 1/1 1/1 0/0 0/0 0/0 × 17 (abc)|a(de) 1/1 1/1 1/0 1/1 0/0 0/0 0/0 × 18 (abc)|b(de) 1/1 1/1 1/0 1/1 0/0 0/0 0/0 × 19 (abc)|c(de) 1/1 1/1 1/1 1/0 0/0 0/0 0/0 × 20 (!abc)|(de) 1/0 1/0 1/1 1/1 0/1 0/0 0/0 × × × 21 (a!bc)|(de) 1/0 1/0 1/1 1/1 0/0 0/0 0/1 × × × 22 (ab!c)|(de) 1/0 1/0 1/1 1/1 0/0 0/1 0/0 × × × 23 (abc)|(!de) 1/1 1/1 1/0 1/0 0/1 0/0 0/0 × × × 24 (abc)|(d!e) 1/1 1/1 1/0 1/0 0/0 0/1 0/1 × × × × 25 (bbc)|(de) 1/1 1/1 1/1 1/1 0/1 0/0 0/0 × 26 (cbc)|(de) 1/1 1/1 1/1 1/1 0/1 0/0 0/0 × 27 (dbc)|(de) 1/0 1/1 1/1 1/1 0/0 0/0 0/0 × 28 (ebc)|(de) 1/1 1/0 1/1 1/1 0/1 0/0 0/0 × × 29 (aac)|(de) 1/1 1/1 1/1 1/1 0/0 0/0 0/1 × 30 (acc)|(de) 1/1 1/1 1/1 1/1 0/0 0/0 0/1 ×
  • 15. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 45 31 (adc)|(de) 1/0 1/1 1/1 1/1 0/0 0/0 0/1 × × 32 (aec)|(de) 1/1 1/0 1/1 1/1 0/0 0/0 0/0 × Table3 (c): Gaining expected values for Boolean Expression (abc) | (de) S.N. Faulty Expressions Test Cases Generated By Minimal MUMCUT strategy 11101 11110 00111 11011 01101 11010 10110 33 (aba)|(de) 1/1 1/1 1/1 1/1 0/0 0/1 0/0 × 34 (abb)|(de) 1/1 1/1 1/1 1/1 0/0 0/1 0/0 × 35 (abd)|(de) 1/0 1/1 1/1 1/1 0/0 0/1 0/0 × × 36 (abe)|(de) 1/1 1/0 1/1 1/1 0/0 0/0 0/0 × 37 (abc)|(ae) 1/1 1/1 1/0 1/1 0/0 0/0 0/0 × 38 (abc)|(be) 1/1 1/1 1/0 1/1 0/1 0/0 0/0 × × 39 (abc)|(ce) 1/1 1/1 1/1 1/0 0/1 0/0 0/0 × × 40 (abc)|(ee) 1/1 1/1 1/1 1/1 0/1 0/0 0/0 × 41 (abc)|(da) 1/1 1/1 1/0 1/1 0/0 0/1 0/1 × × × 42 (abc)|(db) 1/1 1/1 1/0 1/1 0/0 0/1 0/0 × × 43 (abc)|(dc) 1/1 1/1 1/1 1/0 0/0 0/0 0/1 × × 44 (abc)|(dd) 1/1 1/1 1/1 1/1 0/0 0/1 0/1 × × Some of the calculations for gaining expected values are given in Table 4 for Boolean expression (abc) | (de). Table 4 shows the values of original expression when all the 7 test cases are applied on the original expression and on the faulty expressions which are generated by Operator Negation Fault. If the value of faulty expression is as same as the value of original expression that means fault is not detected and if the value of faulty expression is not same as the value of original expression that means fault is detected.
  • 16. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 46 4. Experiments and Results In Section 4 Boolean expression (abc)| (de) generated total 44 faulty expressions and all faults have been detected using 7 test cases generated using Minimal MUMCUT strategy. For Boolean expression (abc)| (de) value of performance index of MUMCUT test suite (T1) is: Number of faults revealed by MUMCUT test suite (T1) =44 Size of the MUCUT test suite =14 PIT1 = Number of faults revealed by test suite T/ Size of the minimal test suite T PIT1 = 44/14 PIT1 = 3.14 For Boolean expression (abc)| (de) value of performance index of Minimal MUMCUT test suite (T2) is: Number of faults revealed by Minimal MUMCUT test suite (T2) =44 Size of the MUCUT test suite =7 PIT1 = Number of faults revealed by test suite T/ Size of the minimal test suite T PIT1 = 44/7 PIT1 = 6.28 Table 4 shows the comparison of performance index metric values calculated using test suite generated by MUMCUT Strategy and test suite generated by Minimal MUMCUT Strategy. This comparison concludes that calculated Performance Index (PI) yields high value for Boolean expressions which are not feasible for Multiple Unique True Point (MUTP) criterion. Prioritization of test cases generated by Minimal MUMCUT yields higher Performance index value which was introduced to evaluate the efficiency. Table 4: Performance Index using test cases of MUMCUT Minimal MUMCUT strategies S.N. Predicate Feasibility Criteria Performance Index MUMCUT Strategy(T1) Minimal MUMCUT Strategy (T2) 1 (abc)|(de) MUTP feasible 3.14 6.28 2 (ab)|(bc) MUTP infeasible 4.33 5.2 3 (a!bd)|(a!cd)|(e) MUTP infeasible 5.16 6.88 4 (!ab)|(cd) MUTP feasible 4.4 7.33 5 (ab)|(ac)|(bc) MUTP infeasible 8.83 8.83 6 (ab)|(b!c)|(!bc) U,C,N infeasible 5.57 5.57 7 (abc)|(abd)|(!b!d)|(!de) U,C,N infeasible 7.64 10 Below graph in Figure1 shows the comparison of performance index value for all Boolean expressions listed in Table 4 using test cases generated by MUMCUT and Minimal MUMCUT strategies.
  • 17. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 10 9 8 7 6 5 4 3 2 1 0 6.28 3.14 5.2 4.33 E1 E2 5.16 Performance Index Value E3 E4 E5 E6 E7 Boolean Expressions Figure1. Comparison of Performance Index (PI) using MUMCUT 5. CONCLUSION The Minimal-MUMCUT criterion provides better logic fault detection analysis of test suite generated from Minimal MUMCUT and MUMCUT strategies have been done. The Performance Index (PI) of and compared with MUMCUT prioritized test suites. techniques for Boolean specification for which various 2 variables can be formed. Test cases generated by Minimal MUMCUT than the test cases generated by MUMCUT Performance Index (PI) yields high value Multiple Unique True Point (MUTP) MUMCUT yields higher Performance index value which was introduced to evaluate the efficiency. However, it is guaranteed that if even a single MUMCUT test set, fault detection will be sac REFERENCES with n trategy mostly lesser [1] Chilenski, J.J., Miller, S.P., (1994), “Applicability of modified condition/decision coverage to software testing” Software Engineering Journal 9 (5), 193 [2] Dupuy, A., Leveson, N., (2000), “An empirical evaluation of the MC/DC coverage criterion on the HETE-2 satellite software” In: Proceedings of Digital Aviation Systems Conference (DASC 2000). [3] Chilenski, J.J., (2001),“An investigation of three forms of the modified condition decision coverage (MCDC) criterion” Tech. Rep. DOT/ FAA/AR Department of Transportation, Washington, DC [4] Jones, J.A., Harrold, M.J., (2003), “Test condition/decision coverage” IEEE Transactions on Software Engineering 29 (3), 195 [5] Yu Y.T.,Lau M.F., Chen T.Y.,(2005), “Automatic generation of test cases from Boolean specifications using the MUMCUT strategy” Journal of Systems and Software 79(6), 820 [6] Lau M.F., Chen T.Y, (2001), “Test Case Selection strategies based on Boolean Specifications” Software Testing, Verification and Reliability, 11(3), 165 Minimal MUMCUT test suites .In this paper performance . test suite generated from Minimal MUMCUT is computed Minimal MUMCUT identified testing n distinct Boolean functions wi strategy are strategy. This paper concludes that calculated for Boolean expressions which are not feasible for criterion. Prioritization of test cases generated by Minimal test is removed from a Minimal sacrificed for the fault types. [6] 193–229 01),“AR-01/18, Federal Aviation Administration, US Test-suite reduction and prioritization for modified 195–209. CUT 165-180 4.4 8.83 5.57 7.64 6.88 7.33 8.83 5.57 10 MUMCUT Minimal MUMCUT 47 e Minimal- 820–840.
  • 18. International Journal on Computational Sciences Applications (IJCSA) Vol.4, No.4, August 2014 [7] Kaminski, G., Ammann, P., (2009), “Using a fault hierarchy to improve the efficiency of DNF logic mutation testing” In Software Testing Verification and Validation, ICST’09. International Conference on (pp. 386-395). IEEE [8] Chen T.Y. and Lau M.F., (2001),”Test Suite reduction and fault detecting effectiveness : an empirical evaluation”. In Proceeding of 6th International Conference on Reliable Software Technologies-Ada- Europe 2001, number 2043, in LCNS [9] Gupta, A., Jalote, P., (2008) “An approach for experimentally evaluating effectiveness and efficiency of coverage criteria for software testing” International Journal on Software Tools for Technology Transfer, 10(2), 145-160. [10] Chen Z.Y., Fang C.R., XU B.W., (2012), “Comparing logic Coverage Criteria on test Case 48 Prioritization”. [11] Yu Y.T., Lau M.F., (2012), “Fault based Test Suite Prioritization for Specification based Testing”, Information and Software technology 54, 179-202