SlideShare a Scribd company logo
1 of 1
Download to read offline
Performance Analysis of Metaheuristic and Constraint Programming approaches to effectively generate Structural Test Cases
                                                  Neelesh Bhattacharya1,2, Abdelilah Sakti2,3, Giuliano Antoniol1, Yann-Gaël Guéhéneuc2, and Gilles Pesant3
                                                                                                                     Yann-
                                                                        1SOCCER Lab, DGIGL, Écolé Polytechnique de Montréal, Canada
                                                                        2Ptidej Team, DGIGL, E´cole Polytechnique de Montre
                                                                                                                         Montre´al, Canada
                                                                       3Quosséça Lab, Department of Computer and Software Engineering

                                                E-mail: {neelesh.bhattacharya, abdelilah.sakti, giuliano.antoniol, yann-gael.gueheneuc, gilles.pesant}@polymtl.ca
                                                  mail: {neelesh.bhattacharya, abdelilah.sakti, giuliano.antoniol, yann-gael.gueheneuc,              }


Introduction                                                                                                                High-
                                                                                                                            High-level
• Structural test case generation has been carried out by                                                                   view of the
various approaches in software testing.                                                                                     problem

• Metaheuristics    and      constraint    programming
approaches are two of the more important approaches
used for generating structural test cases.
•Metaheuristics   and       constraint      programming
approaches have potential limitations.


Limitations of CP and Metaheuristic approaches
 •Metaheuristics get stuck in the local optima and fail to
 prove that a test target is Infeasible.
                                                                  Expérimentation and Subject program
 •Constraint programming suffers in terms of execution                                                                                              Empirical Study results
 time, when the input domain is large.                            •We characterize a PUT using five dimensions: the domain size
                                                                                                                                                    •Various input domain ranges are considered.
                                                                  (DS) of program input parameters, the program size (PS), the level
                                                                  of nested conditional statements (LNC), existence of pointers in                   •The genetic algorithm is the best metaheurisc in term
                                                                  the program and presence of function calls in the program.                         of fitness calculation required for generating test cases.
Goal
To overcome the limitations of constraint                         •The current program under test (CPUT) is a function contains                      •Constraint programming outperform genetic algorithm
programming and metaheuristic approaches and get                  three statements that can fire divide
                                                                                                 divide-by-zero exceptions.                          for all the input domains.
the best of both worlds, we want to propose a way to
                                                                  •The    CPUT     charactetistics are      as     follows:-                         Conclusion
combine both approaches and the order in which they
                                                                  500000<=DS<=500000; PS<=50; no pointers; no function call;
                                                                                               ;                                                     When the test goal is to fire divide-by-zero exceptions
would be executed. Combining both of the approaches
                                                                  LNC=1.                                                                             constraint programming will be executed before
would allow their use in various applications.
                                                                                                                                                     metaheuristics, because constraint programming
                                                                                                                                                     reaches a solution faster than any other metaheuristic
Problem                                                                                                                                              approach.
For combining both metaheuristic and constraint
programming approaches, we must have sufficient
                                                                                                                                                     Future Work
information about properties of both these approaches.
                                                                                                                                                    •In the future, we will conducting experiments with
                                                                                                                                                    well known programs so as to generalize our
Solution                                                                                                                                            conclusion.
To compare these approaches in term of performance,
we generate test cases to fire divide-by-zero                                                                                                       •We are presently, working on combining both
exceptions in a sample code and compare the number                                                                                                  metaheuristic and constraint pogramming approaches
of fitness calculations (fails) and execution time                                                                                                  in an effective way
required by both of these approaches.

More Related Content

What's hot

Performance testing based on time complexity analysis for embedded software
Performance testing based on time complexity analysis for embedded softwarePerformance testing based on time complexity analysis for embedded software
Performance testing based on time complexity analysis for embedded softwareMr. Chanuwan
 
Final Exam Solutions Fall02
Final Exam Solutions Fall02Final Exam Solutions Fall02
Final Exam Solutions Fall02Radu_Negulescu
 
Midterm Exam Solutions Fall02
Midterm Exam Solutions Fall02Midterm Exam Solutions Fall02
Midterm Exam Solutions Fall02Radu_Negulescu
 
An application specific reconfigurable architecture for fault testing and dia...
An application specific reconfigurable architecture for fault testing and dia...An application specific reconfigurable architecture for fault testing and dia...
An application specific reconfigurable architecture for fault testing and dia...eSAT Journals
 
An application specific reconfigurable architecture
An application specific reconfigurable architectureAn application specific reconfigurable architecture
An application specific reconfigurable architectureeSAT Publishing House
 
Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03Radu_Negulescu
 
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic ProgrammingRealtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic Programmingadil raja
 
Real-Time Non-Intrusive Speech Quality Estimation: A Signal-Based Model
Real-Time Non-Intrusive Speech Quality Estimation: A Signal-Based ModelReal-Time Non-Intrusive Speech Quality Estimation: A Signal-Based Model
Real-Time Non-Intrusive Speech Quality Estimation: A Signal-Based Modeladil raja
 
220206 transformer interpretability beyond attention visualization
220206 transformer interpretability beyond attention visualization220206 transformer interpretability beyond attention visualization
220206 transformer interpretability beyond attention visualizationtaeseon ryu
 
M sc thesis_presentation_
M sc thesis_presentation_M sc thesis_presentation_
M sc thesis_presentation_Dia Abdulkerim
 
Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...
Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...
Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...tsysglobalsolutions
 
Issues while working with Multi Layered Perceptron and Deep Neural Nets
Issues while working with Multi Layered Perceptron and Deep Neural NetsIssues while working with Multi Layered Perceptron and Deep Neural Nets
Issues while working with Multi Layered Perceptron and Deep Neural NetsDEBJYOTI PAUL
 
Final Exam Questions Fall03
Final Exam Questions Fall03Final Exam Questions Fall03
Final Exam Questions Fall03Radu_Negulescu
 
Comparative Study of Different Techniques in Speaker Recognition: Review
Comparative Study of Different Techniques in Speaker Recognition: ReviewComparative Study of Different Techniques in Speaker Recognition: Review
Comparative Study of Different Techniques in Speaker Recognition: ReviewIJAEMSJORNAL
 
Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...butest
 
ELLA LC algorithm presentation in ICIP 2016
ELLA LC algorithm presentation in ICIP 2016ELLA LC algorithm presentation in ICIP 2016
ELLA LC algorithm presentation in ICIP 2016InVID Project
 
UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...
UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...
UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...IJCNCJournal
 

What's hot (18)

2224d_final
2224d_final2224d_final
2224d_final
 
Performance testing based on time complexity analysis for embedded software
Performance testing based on time complexity analysis for embedded softwarePerformance testing based on time complexity analysis for embedded software
Performance testing based on time complexity analysis for embedded software
 
Final Exam Solutions Fall02
Final Exam Solutions Fall02Final Exam Solutions Fall02
Final Exam Solutions Fall02
 
Midterm Exam Solutions Fall02
Midterm Exam Solutions Fall02Midterm Exam Solutions Fall02
Midterm Exam Solutions Fall02
 
An application specific reconfigurable architecture for fault testing and dia...
An application specific reconfigurable architecture for fault testing and dia...An application specific reconfigurable architecture for fault testing and dia...
An application specific reconfigurable architecture for fault testing and dia...
 
An application specific reconfigurable architecture
An application specific reconfigurable architectureAn application specific reconfigurable architecture
An application specific reconfigurable architecture
 
Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03Midterm Exam Solutions Fall03
Midterm Exam Solutions Fall03
 
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic ProgrammingRealtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
Realtime, Non-Intrusive Evaluation of VoIP Using Genetic Programming
 
Real-Time Non-Intrusive Speech Quality Estimation: A Signal-Based Model
Real-Time Non-Intrusive Speech Quality Estimation: A Signal-Based ModelReal-Time Non-Intrusive Speech Quality Estimation: A Signal-Based Model
Real-Time Non-Intrusive Speech Quality Estimation: A Signal-Based Model
 
220206 transformer interpretability beyond attention visualization
220206 transformer interpretability beyond attention visualization220206 transformer interpretability beyond attention visualization
220206 transformer interpretability beyond attention visualization
 
M sc thesis_presentation_
M sc thesis_presentation_M sc thesis_presentation_
M sc thesis_presentation_
 
Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...
Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...
Ieee transactions on 2018 TOPICS with Abstract in audio, speech, and language...
 
Issues while working with Multi Layered Perceptron and Deep Neural Nets
Issues while working with Multi Layered Perceptron and Deep Neural NetsIssues while working with Multi Layered Perceptron and Deep Neural Nets
Issues while working with Multi Layered Perceptron and Deep Neural Nets
 
Final Exam Questions Fall03
Final Exam Questions Fall03Final Exam Questions Fall03
Final Exam Questions Fall03
 
Comparative Study of Different Techniques in Speaker Recognition: Review
Comparative Study of Different Techniques in Speaker Recognition: ReviewComparative Study of Different Techniques in Speaker Recognition: Review
Comparative Study of Different Techniques in Speaker Recognition: Review
 
Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...
 
ELLA LC algorithm presentation in ICIP 2016
ELLA LC algorithm presentation in ICIP 2016ELLA LC algorithm presentation in ICIP 2016
ELLA LC algorithm presentation in ICIP 2016
 
UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...
UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...
UTILIZING XAI TECHNIQUE TO IMPROVE AUTOENCODER BASED MODEL FOR COMPUTER NETWO...
 

Viewers also liked

A New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired AlgorithmA New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired AlgorithmXin-She Yang
 
Investigations on Local Search based Hybrid Metaheuristics
Investigations on Local Search based Hybrid MetaheuristicsInvestigations on Local Search based Hybrid Metaheuristics
Investigations on Local Search based Hybrid MetaheuristicsLuca Di Gaspero
 
Harmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmHarmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmXin-She Yang
 
Various Metaheuristic algorithms For Securing VANET
Various Metaheuristic algorithms For Securing VANETVarious Metaheuristic algorithms For Securing VANET
Various Metaheuristic algorithms For Securing VANETKishan Patel
 
Cuckoo search
Cuckoo searchCuckoo search
Cuckoo searchNepalAdz
 
Evolution algorithms
Evolution algorithmsEvolution algorithms
Evolution algorithmsAndrii Babii
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Xin-She Yang
 
An Introduction To Applied Evolutionary Meta Heuristics
An Introduction To Applied Evolutionary Meta HeuristicsAn Introduction To Applied Evolutionary Meta Heuristics
An Introduction To Applied Evolutionary Meta Heuristicsbiofractal
 
Class GA. Genetic Algorithm,Genetic Algorithm
Class GA. Genetic Algorithm,Genetic AlgorithmClass GA. Genetic Algorithm,Genetic Algorithm
Class GA. Genetic Algorithm,Genetic Algorithmraed albadri
 
Cuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsCuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsMustafa Salam
 
Cuckoo Optimization ppt
Cuckoo Optimization pptCuckoo Optimization ppt
Cuckoo Optimization pptAnuja Joshi
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applicationsadil raja
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithmHasan Gök
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony OptimizationPratik Poddar
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimizationmidhulavijayan
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by ExampleNobal Niraula
 

Viewers also liked (19)

A New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired AlgorithmA New Metaheuristic Bat-Inspired Algorithm
A New Metaheuristic Bat-Inspired Algorithm
 
Investigations on Local Search based Hybrid Metaheuristics
Investigations on Local Search based Hybrid MetaheuristicsInvestigations on Local Search based Hybrid Metaheuristics
Investigations on Local Search based Hybrid Metaheuristics
 
Harmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic AlgorithmHarmony Search as a Metaheuristic Algorithm
Harmony Search as a Metaheuristic Algorithm
 
Various Metaheuristic algorithms For Securing VANET
Various Metaheuristic algorithms For Securing VANETVarious Metaheuristic algorithms For Securing VANET
Various Metaheuristic algorithms For Securing VANET
 
Cuckoo search
Cuckoo searchCuckoo search
Cuckoo search
 
Bat Algorithm_Basics
Bat Algorithm_BasicsBat Algorithm_Basics
Bat Algorithm_Basics
 
Evolution algorithms
Evolution algorithmsEvolution algorithms
Evolution algorithms
 
Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms Nature-Inspired Optimization Algorithms
Nature-Inspired Optimization Algorithms
 
An Introduction To Applied Evolutionary Meta Heuristics
An Introduction To Applied Evolutionary Meta HeuristicsAn Introduction To Applied Evolutionary Meta Heuristics
An Introduction To Applied Evolutionary Meta Heuristics
 
Class GA. Genetic Algorithm,Genetic Algorithm
Class GA. Genetic Algorithm,Genetic AlgorithmClass GA. Genetic Algorithm,Genetic Algorithm
Class GA. Genetic Algorithm,Genetic Algorithm
 
Lecture29
Lecture29Lecture29
Lecture29
 
Cuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly AlgorithmsCuckoo Search & Firefly Algorithms
Cuckoo Search & Firefly Algorithms
 
Bee algorithm
Bee algorithmBee algorithm
Bee algorithm
 
Cuckoo Optimization ppt
Cuckoo Optimization pptCuckoo Optimization ppt
Cuckoo Optimization ppt
 
Particle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its ApplicationsParticle Swarm Optimization: The Algorithm and Its Applications
Particle Swarm Optimization: The Algorithm and Its Applications
 
Firefly algorithm
Firefly algorithmFirefly algorithm
Firefly algorithm
 
Ant Colony Optimization
Ant Colony OptimizationAnt Colony Optimization
Ant Colony Optimization
 
Particle Swarm optimization
Particle Swarm optimizationParticle Swarm optimization
Particle Swarm optimization
 
Genetic Algorithm by Example
Genetic Algorithm by ExampleGenetic Algorithm by Example
Genetic Algorithm by Example
 

Similar to Performance Analysis of Metaheuristic and Constraint Programming for Structural Test Case Generation

Table of Contents
Table of ContentsTable of Contents
Table of Contentsbutest
 
the application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEEthe application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEEKiranKumar671235
 
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...Madhav Mishra
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented SoftwarePraveen Penumathsa
 
[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...
[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...
[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...Jihun Park
 
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGESA DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGESPNandaSai
 
The International Journal of Engineering and Science (IJES)
The International Journal of Engineering and Science (IJES)The International Journal of Engineering and Science (IJES)
The International Journal of Engineering and Science (IJES)theijes
 
Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram Praveen Penumathsa
 
An interactive approach to multiobjective clustering of gene expression patterns
An interactive approach to multiobjective clustering of gene expression patternsAn interactive approach to multiobjective clustering of gene expression patterns
An interactive approach to multiobjective clustering of gene expression patternsRavi Kumar
 
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...gabrielesisinna
 
Big shadow test
Big shadow testBig shadow test
Big shadow testmunsif123
 
Compeition-Level Code Generation with AlphaCode.pptx
Compeition-Level Code Generation with AlphaCode.pptxCompeition-Level Code Generation with AlphaCode.pptx
Compeition-Level Code Generation with AlphaCode.pptxSan Kim
 
An Adaptive Hybrid Technique approach of Test Case Prioritization
An Adaptive Hybrid Technique approach of Test Case PrioritizationAn Adaptive Hybrid Technique approach of Test Case Prioritization
An Adaptive Hybrid Technique approach of Test Case PrioritizationINFOGAIN PUBLICATION
 
A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...IWSM Mensura
 
Mx net image segmentation to predict and diagnose the cardiac diseases karp...
Mx net image segmentation to predict and diagnose the cardiac diseases   karp...Mx net image segmentation to predict and diagnose the cardiac diseases   karp...
Mx net image segmentation to predict and diagnose the cardiac diseases karp...KannanRamasamy25
 
Red + Blue, How Purple Are You
Red + Blue, How Purple Are YouRed + Blue, How Purple Are You
Red + Blue, How Purple Are YouJared Atkinson
 

Similar to Performance Analysis of Metaheuristic and Constraint Programming for Structural Test Case Generation (20)

Table of Contents
Table of ContentsTable of Contents
Table of Contents
 
the application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEEthe application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEE
 
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
Applied Artificial Intelligence Unit 4 Semester 3 MSc IT Part 2 Mumbai Univer...
 
Testing of Object-Oriented Software
Testing of Object-Oriented SoftwareTesting of Object-Oriented Software
Testing of Object-Oriented Software
 
[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...
[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...
[SEKE 2014] Practical Human Resource Allocation in Software Projects Using Ge...
 
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGESA DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
 
The International Journal of Engineering and Science (IJES)
The International Journal of Engineering and Science (IJES)The International Journal of Engineering and Science (IJES)
The International Journal of Engineering and Science (IJES)
 
Reliability Vs. Testing
Reliability Vs. TestingReliability Vs. Testing
Reliability Vs. Testing
 
Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram Generating test cases using UML Communication Diagram
Generating test cases using UML Communication Diagram
 
An interactive approach to multiobjective clustering of gene expression patterns
An interactive approach to multiobjective clustering of gene expression patternsAn interactive approach to multiobjective clustering of gene expression patterns
An interactive approach to multiobjective clustering of gene expression patterns
 
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
Deep Learning in Robotics: Robot gains Social Intelligence through Multimodal...
 
Big shadow test
Big shadow testBig shadow test
Big shadow test
 
Compeition-Level Code Generation with AlphaCode.pptx
Compeition-Level Code Generation with AlphaCode.pptxCompeition-Level Code Generation with AlphaCode.pptx
Compeition-Level Code Generation with AlphaCode.pptx
 
Rajat CV
Rajat CVRajat CV
Rajat CV
 
An Adaptive Hybrid Technique approach of Test Case Prioritization
An Adaptive Hybrid Technique approach of Test Case PrioritizationAn Adaptive Hybrid Technique approach of Test Case Prioritization
An Adaptive Hybrid Technique approach of Test Case Prioritization
 
A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...
 
Optimization Using Evolutionary Computing Techniques
Optimization Using Evolutionary Computing Techniques Optimization Using Evolutionary Computing Techniques
Optimization Using Evolutionary Computing Techniques
 
Mx net image segmentation to predict and diagnose the cardiac diseases karp...
Mx net image segmentation to predict and diagnose the cardiac diseases   karp...Mx net image segmentation to predict and diagnose the cardiac diseases   karp...
Mx net image segmentation to predict and diagnose the cardiac diseases karp...
 
Computer Engineer Master Project
Computer Engineer Master ProjectComputer Engineer Master Project
Computer Engineer Master Project
 
Red + Blue, How Purple Are You
Red + Blue, How Purple Are YouRed + Blue, How Purple Are You
Red + Blue, How Purple Are You
 

More from Ptidej Team

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software MiniaturisationPtidej Team
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel BriandPtidej Team
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel AbdellatifPtidej Team
 
Azadeh Kermansaravi
Azadeh KermansaraviAzadeh Kermansaravi
Azadeh KermansaraviPtidej Team
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel GrichiPtidej Team
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano PolitowskiPtidej Team
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisisPtidej Team
 
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptPtidej Team
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptPtidej Team
 

More from Ptidej Team (20)

From IoT to Software Miniaturisation
From IoT to Software MiniaturisationFrom IoT to Software Miniaturisation
From IoT to Software Miniaturisation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation
PresentationPresentation
Presentation
 
Presentation by Lionel Briand
Presentation by Lionel BriandPresentation by Lionel Briand
Presentation by Lionel Briand
 
Manel Abdellatif
Manel AbdellatifManel Abdellatif
Manel Abdellatif
 
Azadeh Kermansaravi
Azadeh KermansaraviAzadeh Kermansaravi
Azadeh Kermansaravi
 
Mouna Abidi
Mouna AbidiMouna Abidi
Mouna Abidi
 
CSED - Manel Grichi
CSED - Manel GrichiCSED - Manel Grichi
CSED - Manel Grichi
 
Cristiano Politowski
Cristiano PolitowskiCristiano Politowski
Cristiano Politowski
 
Will io t trigger the next software crisis
Will io t trigger the next software crisisWill io t trigger the next software crisis
Will io t trigger the next software crisis
 
MIPA
MIPAMIPA
MIPA
 
Thesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.pptThesis+of+laleh+eshkevari.ppt
Thesis+of+laleh+eshkevari.ppt
 
Thesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.pptThesis+of+nesrine+abdelkafi.ppt
Thesis+of+nesrine+abdelkafi.ppt
 
Medicine15.ppt
Medicine15.pptMedicine15.ppt
Medicine15.ppt
 
Qrs17b.ppt
Qrs17b.pptQrs17b.ppt
Qrs17b.ppt
 
Icpc11c.ppt
Icpc11c.pptIcpc11c.ppt
Icpc11c.ppt
 
Icsme16.ppt
Icsme16.pptIcsme16.ppt
Icsme16.ppt
 
Msr17a.ppt
Msr17a.pptMsr17a.ppt
Msr17a.ppt
 
Icsoc15.ppt
Icsoc15.pptIcsoc15.ppt
Icsoc15.ppt
 

Performance Analysis of Metaheuristic and Constraint Programming for Structural Test Case Generation

  • 1. Performance Analysis of Metaheuristic and Constraint Programming approaches to effectively generate Structural Test Cases Neelesh Bhattacharya1,2, Abdelilah Sakti2,3, Giuliano Antoniol1, Yann-Gaël Guéhéneuc2, and Gilles Pesant3 Yann- 1SOCCER Lab, DGIGL, Écolé Polytechnique de Montréal, Canada 2Ptidej Team, DGIGL, E´cole Polytechnique de Montre Montre´al, Canada 3Quosséça Lab, Department of Computer and Software Engineering E-mail: {neelesh.bhattacharya, abdelilah.sakti, giuliano.antoniol, yann-gael.gueheneuc, gilles.pesant}@polymtl.ca mail: {neelesh.bhattacharya, abdelilah.sakti, giuliano.antoniol, yann-gael.gueheneuc, } Introduction High- High-level • Structural test case generation has been carried out by view of the various approaches in software testing. problem • Metaheuristics and constraint programming approaches are two of the more important approaches used for generating structural test cases. •Metaheuristics and constraint programming approaches have potential limitations. Limitations of CP and Metaheuristic approaches •Metaheuristics get stuck in the local optima and fail to prove that a test target is Infeasible. Expérimentation and Subject program •Constraint programming suffers in terms of execution Empirical Study results time, when the input domain is large. •We characterize a PUT using five dimensions: the domain size •Various input domain ranges are considered. (DS) of program input parameters, the program size (PS), the level of nested conditional statements (LNC), existence of pointers in •The genetic algorithm is the best metaheurisc in term the program and presence of function calls in the program. of fitness calculation required for generating test cases. Goal To overcome the limitations of constraint •The current program under test (CPUT) is a function contains •Constraint programming outperform genetic algorithm programming and metaheuristic approaches and get three statements that can fire divide divide-by-zero exceptions. for all the input domains. the best of both worlds, we want to propose a way to •The CPUT charactetistics are as follows:- Conclusion combine both approaches and the order in which they 500000<=DS<=500000; PS<=50; no pointers; no function call; ; When the test goal is to fire divide-by-zero exceptions would be executed. Combining both of the approaches LNC=1. constraint programming will be executed before would allow their use in various applications. metaheuristics, because constraint programming reaches a solution faster than any other metaheuristic Problem approach. For combining both metaheuristic and constraint programming approaches, we must have sufficient Future Work information about properties of both these approaches. •In the future, we will conducting experiments with well known programs so as to generalize our Solution conclusion. To compare these approaches in term of performance, we generate test cases to fire divide-by-zero •We are presently, working on combining both exceptions in a sample code and compare the number metaheuristic and constraint pogramming approaches of fitness calculations (fails) and execution time in an effective way required by both of these approaches.