Scaling Regression Testing to Large Software Systems

Size: px
Start display at page:

Download "Scaling Regression Testing to Large Software Systems"

Transcription

1 Scaling Regression Testing to Large Software Systems Alessandro Orso Co-authors: Nanjuan Shi, Mary Jean Harrold College of Computing Georgia Institute of Technology Supported in part by National Science Foundation (awards CCR , CCR , CCR , CCR , SBE , and CCR ) and Boeing Commercial Airplane Group.

2 Testing of Evolving Software Program P Test Suite T P T rerun T T T - T rerun P T rerun T - T rerun Time to rerun T Analysis Time Time to rerun T rerun Savings time

3 Previous and Related Work [OOPSLA01] Retest T (coverage info) Ideal solution: two-phase approach P P Class-Level analysis subset of P Stmt-Level Stmt-Level analysis on the subset Analysis T rerun T rerun Time to rerun T Analysis Time Time to rerun T rerun Savings time

4 Previous and Related Work Precise, Retest Expensive Techniques T (coverage info) Ideal solution: two-phase approach P P Class-Level analysis subset of P Stmt-Level Low-Level Stmt-Level analysis on the subset Analysis T rerun T rerun Jboss, web application server, 1 million LOC Time to rerun T Analysis time Time to rerun T rerun time

5 Previous and Related Work Efficient, Imprecise Techniques T (coverage info) P P High-Level Analysis T rerun Time to rerun T Analysis time Time to rerun T rerun time

6 Previous and Related Work Related Work Efficient, Imprecise Techniques P P Analysis time High-Level Analysis T Efficient, less precise (coverage techniques info) White and Leung [CSM92] Chen, Rosenblum, and Vo [ICSE94] Hsia et al. [SMRP97] White and Abdullah [QW97] Ren et al. [OOPSLA04] Expensive, more precise techniques Binkley [TSE97] Rothermel and Harrold [TOSEM97] Vokolos and Frankl [RQSSIS97] Ball [ISSTA 98] Time to rerun Rothermel, T Harrold, and Dedhia [JSTVR00] Harrold et al. [OOPSLA01] Time Bible, to rerun Rothermel, T rerun and Rosenblum [TOSEM01] time T rerun

7 Proposed Solution Two-Phase Technique T (coverage info) P P Class-Level Analysis Subset of P Subset of P Stmt-Level Analysis T rerun Two-phase approach Class-Level analysis subset of P and P Stmt-Level analysis on the subset T rerun

8 Outline Background Technique Empirical Evaluation Conclusion

9 P Motivating Example class A { void foo() { class C extends B { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) {

10 Motivating Example P P class A { class A { void foo() { class C extends B { void foo() { void foo() { class C extends B { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) {

11 Motivating Example P P class A { class A { void foo() { class C extends B { void foo() { void foo() { class C extends B { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) {

12 Motivating Example P P class A { class A { void foo() { class C extends B { void foo() { void foo() { class C extends B { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) {

13 Class-Level Analysis P P void foo() {

14 Class-Level Analysis P P class A { class A { void foo() { class C extends B { void foo() { void foo() { class C extends B {

15 Class-Level Analysis P P class A { class A { void foo() { class C extends B { void foo() { void foo() { class C extends B { void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo();

16 Class-Level Analysis P / P class A { void foo() { void foo() { class C extends B { Interclass Relation Graph (for P an P ) A F void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { B C D E Inheritance edge Use edge

17 Class-Level Analysis P / P class A { void foo() { void foo() { class C extends B { Interclass Relation Graph (for P an P ) A F void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { B C D E Inheritance edge Use edge

18 Class-Level Analysis P / P class A { void foo() { void foo() { class C extends B { Interclass Relation Graph (for P an P ) A F void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { B C D E Inheritance edge Use edge

19 Class-Level Analysis P / P class A { void foo() { void foo() { class C extends B { Interclass Relation Graph (for P an P ) A F void bar() { A ref=null; switch(somevar) { case 1 : ref=new A(); break; case 2 : ref=new B(); break; case 3 : ref=new C(); break; ref.foo(); class E extends D { class F { void bar(d d) { B C D E Inheritance edge Use edge

20 Example: Stmt-Level Analysis Subset of P class A class B { class C void bar() { ; ref.foo(); Subset of P class A class B { void foo() { class C void bar() { ; ref.foo(); G (excerpt) A G (excerpt) A B A.foo() A.foo() ref.foo() C Dangerous Edge ref.foo() C B B.foo()

21 Example: Stmt-Level Analysis Subset of P class A class B { class C void bar() { ; ref.foo(); Subset of P class A class B { void foo() { class C void bar() { ; ref.foo(); G (excerpt) B ref.foo() C A A.foo() Dangerous Edge G (excerpt) Test cases to be rerun: Test cases in T that A.foo() ref.foo() execute the call node B with ref s dynamic type being B or C C A B.foo()

22 Outline Background Technique Empirical Evaluation Conclusion

23 Empirical Setup Tool DejaVOO Subjects Program Versions Classes KLOC Test Cases Retest Time Jaba min Daikon min Jboss 5 2,403 1, min Three empirical studies 1. Effectiveness of Phase 1 2. Precision gain of Phase 2 3. Overall savings in retesting time

24 RQ1: Effectiveness of Phase 1 TwoPhase T (coverage info) P P Class-Level Analysis Subset of P Subset of P Stmt-Level Analysis T rerun

25 RQ1: Effectiveness of Phase 1 Average: 37% Time < 14 seconds

26 RQ3: Overall Savings in retesting Time Time to rerun T Analysis time Time to rerun T rerun Savings time

27 RQ3: Overall Savings in Retesting Time RerunAll TwoPhase

28 RQ3: Overall Savings in Retesting Time RerunAll TwoPhase Savings in Regression Testing Time: TwoPhase vs. RerunAll Jaba:19% Daikon:36% Jboss: 63%

29 Outline Background Technique Empirical Evaluation Conclusion

30 Contribution Extended our existing regression-testing technique Considerable increase in efficiency Same precision First RTS technique that, at the same time: is safe combines coarse and fine-grained analysis handles the features of the Java language Tool (DejaVOO) that implements the technique Empirical results showing the effectiveness of the technique

31 Current and Future Work Further investigate cost-effectiveness of the technique Continuous integration Larger systems Investigate test-suite augmentation Based on changes (program differencing) Based on field-data (impact analysis)

32 Questions?

A METRIC BASED EVALUATION OF TEST CASE PRIORITATION TECHNIQUES- HILL CLIMBING, REACTIVE GRASP AND TABUSEARCH

A METRIC BASED EVALUATION OF TEST CASE PRIORITATION TECHNIQUES- HILL CLIMBING, REACTIVE GRASP AND TABUSEARCH A METRIC BASED EVALUATION OF TEST CASE PRIORITATION TECHNIQUES- HILL CLIMBING, REACTIVE GRASP AND TABUSEARCH 1 M.Manjunath, 2 N.Backiavathi 1 PG Scholar, Department of Information Technology,Jayam College

More information

Lecture 21. Regression Testing Path Spectra. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim

Lecture 21. Regression Testing Path Spectra. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim Lecture 21 Regression Testing Path Spectra Today s Agenda (1) Regression Test Selection Path Spectra Presentation by David (skeptic) Presentation by Sidd (advocate) Presentation by Srinivas (skeptic) Today

More information

Helping Programmers Debug Code Using Semantic Change Impact Analysis PROLANGS

Helping Programmers Debug Code Using Semantic Change Impact Analysis PROLANGS Helping Programmers Debug Code Using Semantic Change Impact Analysis Dr. Barbara G. Ryder Rutgers University http://www.cs.rutgers.edu/~ryder This research is supported by NSF grants CCR-0204410 & CCR-0331797

More information

Regression Test Selection for C++ Software

Regression Test Selection for C++ Software Technical Report 99-60-01, Computer Science Department, Oregon State University, January 1999 Regression Test Selection for C++ Authors: Gregg Rothermel Mary Jean Harrold Jeinay Dedhia Software Sanjay

More information

Review of Regression Test Case Selection Techniques

Review of Regression Test Case Selection Techniques Review of Regression Test Case Selection Manisha Rani CSE Department, DeenBandhuChhotu Ram University of Science and Technology, Murthal, Haryana, India Ajmer Singh CSE Department, DeenBandhuChhotu Ram

More information

A Lightweight Process for Change Identification and Regression Test Selection in Using COTS Components

A Lightweight Process for Change Identification and Regression Test Selection in Using COTS Components A Lightweight Process for Change Identification and Regression Test Selection in Using COTS Components Jiang Zheng 1, Brian Robinson 2, Laurie Williams 1, Karen Smiley 2 1 Department of Computer Science,

More information

A Technique for Enabling and Supporting Debugging of Field Failures

A Technique for Enabling and Supporting Debugging of Field Failures A Technique for Enabling and Supporting Debugging of Field Failures James Clause and Alessandro Orso Georgia Institute of Technology This work was supported in part by NSF awards CCF-0541080 and CCR-0205422

More information

Study and Analysis of Regression Test Case Selection Techniques

Study and Analysis of Regression Test Case Selection Techniques Study and Analysis of Regression Test Case Selection Techniques Sunidhi Puri Department of Computer Science & Engineering Amity University,Noida,U.P Abhishek Singhal Department of Computer Science & Engineering

More information

An Extensive Study of Static Regression Test Selection in Modern Software Evolution

An Extensive Study of Static Regression Test Selection in Modern Software Evolution An Extensive Study of Static Regression Test Selection in Modern Software Evolution Owolabi Legunsen, Farah Hariri, August Shi, Yafeng Lu, Lingming Zhang, and Darko Marinov FSE 2016 Seattle, Washington

More information

Regression Test Selection for Black-box Dynamic Link Library Components

Regression Test Selection for Black-box Dynamic Link Library Components Regression Test Selection for Black-box Dynamic Link Library Components Jiang Zheng 1, Laurie Williams 1, Brian Robinson 2, Karen Smiley 2 1 Department of Computer Science, North Carolina State University,

More information

Ingegneria del Software II academic year: Course Web-site: [www.di.univaq.it/ingegneria2/]

Ingegneria del Software II academic year: Course Web-site: [www.di.univaq.it/ingegneria2/] Course: Ingegneria del Software II academic year: 2004-2005 Course Web-site: [www.di.univaq.it/ingegneria2/] 12.Regression Testing Lecturer: Henry Muccini and Vittorio Cortellessa Computer Science Department

More information

Midterm Wednesday Oct. 27, 7pm, room 142

Midterm Wednesday Oct. 27, 7pm, room 142 Regression Testing Midterm Wednesday Oct. 27, 7pm, room 142 In class, closed book eam Includes all the material covered up (but not including) symbolic eecution Need to understand the concepts, know the

More information

Command-form Coverage for Testing DB Applications

Command-form Coverage for Testing DB Applications Command-form Coverage for Testing DB Applications Alessandro Orso William G.J. Halfond Georgia Institute of Technology Supported by NSF awards CCR- 0205422 and CCR-0306372 to GA Tech and by DHS and US

More information

OOPLs - call graph construction. Example executed calls

OOPLs - call graph construction. Example executed calls OOPLs - call graph construction Compile-time analysis of reference variables and fields Problem: how to resolve virtual function calls? Need to determine to which objects (or types of objects) a reference

More information

Unit Test Virtualization with VMVM

Unit Test Virtualization with VMVM Unit Test Virtualization with VMVM Jonathan Bell and Gail Kaiser Columbia University Fork me on Github Good news: We have tests! No judgement on whether they are complete or not, but we sure have a lot

More information

In this paper, we present the results of a comparative empirical study of two safe RTS techniques. The two techniques we studied have been implemented

In this paper, we present the results of a comparative empirical study of two safe RTS techniques. The two techniques we studied have been implemented ACM Transactions on Software Engineering and Methodology (to appear). A Comparative Study of Coarse- and Fine-Grained Safe Regression Test Selection Techniques John Bible Department of Computer Science

More information

15. Regression testing

15. Regression testing Outline 15. Regression testing Tom Verheyen, Jelle Slowack, Bart Smets, Glenn Van Loon Introduction - What, why, when, how - Regression faults - Test automation - Test suite maintenance - Reducing a test

More information

Research Article Regression Test Selection for C# Programs

Research Article Regression Test Selection for C# Programs Software Engineering Volume 2009, Article ID 535708, 10 pages doi:10.1155/2009/535708 Research Article Regression Test Selection for C# Programs Nashat Mansour and Wael Statieh Department of Computer Science

More information

Continuous Selective Testing

Continuous Selective Testing Continuous Selective Testing Bastian Steinert, Michael Haupt, Robert Krahn, and Robert Hirschfeld Software Architecture Group Hasso Plattner Institute University of Potsdam, Germany firstname.lastname@hpi.uni-potsdam.de

More information

Maintaining Evolving Component-Based Software with UML

Maintaining Evolving Component-Based Software with UML Maintaining Evolving Component-Based Software with UML Ye Wu and Jeff Offutt Information and Software Engineering Department George Mason University Fairfax, VA 22030, USA (703) 993-1651 {wuye, ofut}@ise.gmu.edu

More information

BERT: BEhavioral Regression Testing

BERT: BEhavioral Regression Testing BERT: BEhavioral Regression Testing Alessandro Orso College of Computing Georgia Institute of Technology orso@cc.gatech.edu Tao Xie Department of Computer Science North Carolina State University xie@csc.ncsu.edu

More information

A safe regression test selection technique for database driven applications

A safe regression test selection technique for database driven applications A safe regression test selection technique for database driven applications David Willmor and Suzanne M. Embury School of Computer Science, University of Manchester, Oxford Road, Manchester, M13 9PL, United

More information

Using Component Metadata to Support the Regression Testing of Component-Based Software

Using Component Metadata to Support the Regression Testing of Component-Based Software Using Component Metadata to Support the Regression Testing of Component-Based Software Mary Jean Harrold harrold@cc.gatech.edu Alessandro Orso orso@cc.gatech.edu Mary Lou Soffa soffa@cs.pitt.edu David

More information

2. Background and Related Work This section provides prior work in testing of software component, static binary code analysis, and firewall analysis.

2. Background and Related Work This section provides prior work in testing of software component, static binary code analysis, and firewall analysis. On Regression Testing COTS based Applications Jiang Zheng Department of Computer Science, North Carolina State University, Raleigh, NC 27695 jzheng4@ncsu.edu 1. Problem and Motivation Companies increasingly

More information

Chianti: A Tool for Change Impact Analysis of Java Programs

Chianti: A Tool for Change Impact Analysis of Java Programs Chianti: A Tool for Change Impact Analysis of Java Programs Andrej Galad 04/19/2017 CS 6704 - Software Engineering Research Virginia Polytechnic Institute and State University, Blacksburg, VA Professor

More information

A Differencing Algorithm for Object-Oriented Programs

A Differencing Algorithm for Object-Oriented Programs A Differencing Algorithm for Object-Oriented Programs Taweesup Apiwattanapong, Alessandro Orso, and Mary Jean Harrold Georgia Institute of Technology Atlanta, Georgia {term orso harrold@cc.gatech.edu ABSTRACT

More information

Towards Regression Test Selection for AspectJ Programs

Towards Regression Test Selection for AspectJ Programs Towards Regression Test Selection for AspectJ Programs Jianjun Zhao Department of Computer Science and Engineering Shanghai Jiao Tong University 800 Dongchuan Road, Shanghai 200240, China zhao-jj@cs.sjtu.edu.cn

More information

Improving Web Services Maintenance through Regression Testing

Improving Web Services Maintenance through Regression Testing Volume 3, Issue 5, May-2016, pp. 261-265 ISSN (O): 2349-7084 International Journal of Computer Engineering In Research Trends Available online at: www.ijcert.org Improving Web Services Maintenance through

More information

A Program Model Based Regression Test Selection Technique for Object-Oriented Programs

A Program Model Based Regression Test Selection Technique for Object-Oriented Programs A Program Model Based Regression Test Selection Technique for Object-Oriented Programs Nitesh Chouhan Dr. Maitreyee Dutta Dr. Mayank Singh Assistant Professor Associate Professor Associate Professor Department

More information

Dimensions of Precision in Reference Analysis of Object-oriented Programming Languages. Outline

Dimensions of Precision in Reference Analysis of Object-oriented Programming Languages. Outline Dimensions of Precision in Reference Analysis of Object-oriented Programming Languages Dr. Barbara G. Ryder Rutgers University http://www.cs.rutgers.edu/~ryder http://prolangs.rutgers.edu/ Research supported,

More information

Automated Support for Development, Maintenance, and Testing in the Presence of Implicit Control Flow

Automated Support for Development, Maintenance, and Testing in the Presence of Implicit Control Flow Automated Support for Development, Maintenance, and Testing in the Presence of Implicit Control Flow Saurabh Sinha, Alessandro Orso, and Mary Jean Harrold College of Computing Georgia Institute of Technology

More information

Points-to Analysis for Java Using Annotated Constraints*

Points-to Analysis for Java Using Annotated Constraints* Points-to Analysis for Java Using Annotated Constraints* Dr. Barbara G. Ryder Rutgers University http://www.cs.rutgers.edu/~ryder http://prolangs.rutgers.edu/ *Joint research with Atanas Rountev and Ana

More information

A Safe, Efficient Regression Test Selection Technique

A Safe, Efficient Regression Test Selection Technique A Safe, Efficient Regression Test Selection Technique GREGG ROTHERMEL Oregon State University and MARY JEAN HARROLD The Ohio State University Regression testing is an expensive but necessary maintenance

More information

Lecture 22. Path Spectra Change Impact Analysis. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim

Lecture 22. Path Spectra Change Impact Analysis. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim Lecture 22 Path Spectra Change Impact Analysis Today s Agenda (1) Recap of RTS Presentation Reza (advocate) Xin (skeptic) Brief Discussion on Program Profiling Class activity on statement, branch and path

More information

Effective Test Case Prioritization Technique in Web Application for Regression Test Suite

Effective Test Case Prioritization Technique in Web Application for Regression Test Suite Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 3, Issue. 11, November 2014,

More information

An Empirical Study of Regression Test Selection Techniques

An Empirical Study of Regression Test Selection Techniques ACM Transactions on Software Engineering and Methodology (to appear) An Empirical Study of Regression Test Selection Techniques Todd L. Graves Mary Jean Harrold JungMin Kim Adam Porter Gregg Rothermel

More information

Scalable Statistical Bug Isolation

Scalable Statistical Bug Isolation Post-Deployment Monitoring Scalable Statistical Bug Isolation Ben Liblit, Mayur Naik, Alice Zheng, Alex Aiken, and Michael Jordan University of Wisconsin, Stanford University, and UC Berkeley Goal: Measure

More information

Selective Bisection Debugging

Selective Bisection Debugging Selective Bisection Debugging Ripon Saha 1 and Milos Gligoric 2 1 Fujitsu Laboratories of America, Sunnyvale, CA-94085, USA rsaha@us.fujitsu.com 2 The University of Texas at Austin, Austin, TX-78712, USA

More information

A Differencing Algorithm for Object-Oriented Programs

A Differencing Algorithm for Object-Oriented Programs A Differencing Algorithm for Object-Oriented Programs Taweesup Apiwattanapong, Alessandro Orso, and Mary Jean Harrold Georgia Institute of Technology Atlanta, Georgia E-mail: {term orso harrold@cc.gatech.edu

More information

Combined Static and Dynamic Automated Test Generation

Combined Static and Dynamic Automated Test Generation Combined Static and Dynamic Automated Test Generation Sai Zhang University of Washington Joint work with: David Saff, Yingyi Bu, Michael D. Ernst 1 Unit Testing for Object-oriented Programs Unit test =

More information

Visualization of Test Information to Assist Fault Localization

Visualization of Test Information to Assist Fault Localization Proceedings of the International Conference on Software Engineering, Orlando, Florida, U.S.A., May 2002, ACM Copyright Visualization of Test Information to Assist Fault Localization James A. Jones, Mary

More information

Localizing Failure-Inducing Program Edits Based on Spectrum Information

Localizing Failure-Inducing Program Edits Based on Spectrum Information Localizing Failure-Inducing Program Edits Based on Spectrum Information Lingming Zhang, Miryung Kim, Sarfraz Khurshid Electrical and Computer Engineering The University of Texas at Austin Email: zhanglm10@gmail.com,

More information

Efficient Regression Test Model for Object Oriented Software

Efficient Regression Test Model for Object Oriented Software Efficient Regression Test Model for Object Oriented Software Swarna Lata Pati College of Engg. & Tech, Bhubaneswar Abstract : This paper presents an efficient regression testing model with an integration

More information

A Comparative Study of Five Regression Testing Algorithms

A Comparative Study of Five Regression Testing Algorithms A Comparative Study of Five Regression Testing Algorithms Ghinwa Baradhi and Nashat Mansour Computer Science Lebanese American University nmansour@lau. edu. lb Abstract We compare five regression testing

More information

A Graphical Class Representation for Integrated Black- and White-Box Testing

A Graphical Class Representation for Integrated Black- and White-Box Testing A Graphical Class Representation for Integrated Black- and White-Box Testing Sami Beydeda, Volker Gruhn University of Dortmund Computer Science Department Software Technology 44221 Dortmund, Germany fsami.beydeda,

More information

Automatically Repairing Event Sequence-Based GUI Test Suites for Regression Testing

Automatically Repairing Event Sequence-Based GUI Test Suites for Regression Testing Automatically Repairing Event Sequence-Based GUI Test Suites for Regression Testing Atif M. Memon 4115 A. V. Williams Building, Department of Computer Science University of Maryland, College Park, MD 742,

More information

TEST CASE PRIORITIZATION ALGORITHM BASED UPON MODIFIED CODE COVERAGE IN REGRESSION TESTING

TEST CASE PRIORITIZATION ALGORITHM BASED UPON MODIFIED CODE COVERAGE IN REGRESSION TESTING TEST CASE PRIORITIZATION ALGORITHM BASED UPON MODIFIED CODE COVERAGE IN REGRESSION TESTING ABSTRACT Usha Badhera 1, G.N Purohit 2, Debarupa Biswas 3 Computer Science Department, Banasthali University,

More information

Class 17. Discussion. Mutation analysis and testing. Problem Set 7 discuss Readings

Class 17. Discussion. Mutation analysis and testing. Problem Set 7 discuss Readings Class 17 Questions/comments Graders for Problem Set 6 (4); Graders for Problem set 7 (2-3) (solutions for all); will be posted on T-square Regression testing, Instrumentation Final project presentations:

More information

Automated Software Transplantation

Automated Software Transplantation Automated Software Transplantation Earl T. Mark Yue Alexandru Justyna Barr Harman Jia Marginean Petke CREST, University College London Why Autotransplantation? ~100 players Why not handle H.264? Video

More information

Integrated Impact Analysis for Managing Software Changes. Malcom Gethers, Bogdan Dit, Huzefa Kagdi, Denys Poshyvanyk

Integrated Impact Analysis for Managing Software Changes. Malcom Gethers, Bogdan Dit, Huzefa Kagdi, Denys Poshyvanyk Integrated Impact Analysis for Managing Software Changes Malcom Gethers, Bogdan Dit, Huzefa Kagdi, Denys Poshyvanyk Change Impact Analysis Software change impact analysis aims at estimating the potentially

More information

White Box Testing with Object Oriented programming

White Box Testing with Object Oriented programming White Box Testing with Object Oriented programming Mrs.Randive R.B 1, Mrs.Bansode S.Y 2 1,2 TPCT S College Of Engineering,Osmanabad Abstract:-Software testing is one of the best means to affirm the quality

More information

MINTS: A General Framework and Tool for Supporting Test-suite Minimization

MINTS: A General Framework and Tool for Supporting Test-suite Minimization MINTS: A General Framework and Tool for Supporting Test-suite Minimization Hwa-You Hsu and Alessandro Orso College of Computing Georgia Institute of Technology {hsu orso}@cc.gatech.edu ABSTRACT Regression

More information

3.1. Corrective Maintenance Activities

3.1. Corrective Maintenance Activities Maintaining Evolving Component-Based Software with UML Ye Wu and Jeff Offutt Information and Software Engineering Department George Mason University Fairfax,VA 22030,USA (703) 993-1651 fwuye, ofutg@ise.gmu.edu

More information

Integrating White- and Black-Box Techniques for Class-Level Regression Testing

Integrating White- and Black-Box Techniques for Class-Level Regression Testing Integrating White- and Black-Box Techniques for Class-Level Regression Testing Sami Beydeda, Volker Gruhn University of Dortmund Computer Science Department Software Technology 44221 Dortmund, Germany

More information

Change Impact Analysis for A Class Hierarchy

Change Impact Analysis for A Class Hierarchy Change Impact Analysis for A Class Hierarchy Yoon Kyu Jang, Heung Seok Chae, Yong Rae Kwon, and Doo Hwan Bae Department of Computer Science Korea Advanced Institute of Science and Technology 373-1, Kusong-dong,

More information

Chianti: A Tool for Change Impact Analysis of Java Programs

Chianti: A Tool for Change Impact Analysis of Java Programs Chianti: A Tool for Change Impact Analysis of Java Programs Xiaoxia Ren 1, Fenil Shah 2, Frank Tip 3, Barbara G. Ryder 1, and Ophelia Chesley 1 Division of Computer and Information Sciences 1 IBM Software

More information

Understanding Data Dependences in the Presence of Pointers

Understanding Data Dependences in the Presence of Pointers Technical Report GIT-CERCS-03-10 Understanding Data Dependences in the Presence of Pointers Alessandro Orso, Saurabh Sinha, and Mary Jean Harrold College of Computing, Georgia Institute of Technology 801

More information

Using Positive Tainting and Syntax-Aware Evaluation to Counter SQL Injection Attacks

Using Positive Tainting and Syntax-Aware Evaluation to Counter SQL Injection Attacks Using Positive Tainting and Syntax-Aware Evaluation to Counter SQL Injection Attacks Alex Orso with William Halfond and Pete Manolios Georgia Institute of Technology {orso whalfond manolios}@cc.gatech.edu

More information

BRANCH COVERAGE BASED TEST CASE PRIORITIZATION

BRANCH COVERAGE BASED TEST CASE PRIORITIZATION BRANCH COVERAGE BASED TEST CASE PRIORITIZATION Arnaldo Marulitua Sinaga Department of Informatics, Faculty of Electronics and Informatics Engineering, Institut Teknologi Del, District Toba Samosir (Tobasa),

More information

Regression Test Case Selection &PrioritizationUsing Dependence Graph and Genetic Algorithm

Regression Test Case Selection &PrioritizationUsing Dependence Graph and Genetic Algorithm IOSR Journal of Computer Engineering (IOSR-JCE) e-issn: 2278-0661, p- ISSN: 2278-8727Volume 16, Issue 3, Ver. IV (May-Jun. 2014), PP 38-47 Regression Test Case Selection &PrioritizationUsing Dependence

More information

1/30/18. Overview. Code Clones. Code Clone Categorization. Code Clones. Code Clone Categorization. Key Points of Code Clones

1/30/18. Overview. Code Clones. Code Clone Categorization. Code Clones. Code Clone Categorization. Key Points of Code Clones Overview Code Clones Definition and categories Clone detection Clone removal refactoring Spiros Mancoridis[1] Modified by Na Meng 2 Code Clones Code clone is a code fragment in source files that is identical

More information

Mini Project Report One

Mini Project Report One Mini Project Report One Christoph Csallner September 29, 2003 This project has been sponsored by Professor Dr. Mary Jean Harrold and Dr. Saurabh Sinha of the Aristotle Research Group at Georgia Tech. 1

More information

Analysis of Object-oriented Programming Languages

Analysis of Object-oriented Programming Languages Analysis of Object-oriented Programming Languages Dr. Barbara G. Ryder Rutgers University http://www.cs.rutgers.edu/~ryder http://prolangs.rutgers.edu/ OOAnalysis, Dagstuhl 2/03, BG Ryder 1 Outline Why

More information

Regression Test Cases selection for Object-Oriented Programs based on Affected Statements

Regression Test Cases selection for Object-Oriented Programs based on Affected Statements , pp. 91-108 http://dx.doi.org/10.14257/ijseia.2015.9.10.10 Regression Test Cases selection for Object-Oriented Programs based on Affected Statements Samaila Musa, Abu Bakar Md Sultan, Abdul Azim Bin Abd-Ghani

More information

Optimizing unit test execution in large software programs using dependency analysis

Optimizing unit test execution in large software programs using dependency analysis Optimizing unit test execution in large software programs using dependency analysis Taesoo Kim, Ramesh Chandra, and Nickolai Zeldovich MIT CSAIL Abstract TAO is a system that optimizes the execution of

More information

OOPLs - call graph construction Compile-time analysis of reference variables and fields. Example

OOPLs - call graph construction Compile-time analysis of reference variables and fields. Example OOPLs - call graph construction Compile-time analysis of reference variables and fields Determines to which objects (or types of objects) a reference variable may refer during execution Primarily hierarchy-based

More information

Graphical User Interfaces. Regression Testing of GUIs. GUI Regression Testing Problem. New Event-flow Model. GUI Regression Testing Problem

Graphical User Interfaces. Regression Testing of GUIs. GUI Regression Testing Problem. New Event-flow Model. GUI Regression Testing Problem 1 Graphical User Interfaces 2 Regression Testing of GUIs 50% of code Atif M. Memon atif@cs cs.umd..umd.edu Mary Lou Soffa soffa@cs cs.pitt.edu GUI Dept. of Computer Science & Fraunhofer Center for Empirical

More information

Regression Tes+ng. Midterm Wednesday Oct. 26, 7:00-8:30pm Room 142

Regression Tes+ng. Midterm Wednesday Oct. 26, 7:00-8:30pm Room 142 Regression Tes+ng Computer Science 521-621 Fall 2011 Prof. L. J. Osterweil Material adapted from slides originally prepared by Prof. L. A. Clarke Midterm Wednesday Oct. 26, 7:00-8:30pm Room 142 Closed

More information

A Study of Test Coverage Adequacy in the Presence of Stubs

A Study of Test Coverage Adequacy in the Presence of Stubs Vol. 4, No. 5, July August 2005 A Study of Test Coverage Adequacy in the Presence of Stubs Errol L. Lloyd, Computer and Information Sciences, University of Delaware, Newark, DE 19716, USA Brian A. Malloy,

More information

A Model-based Approach to Regression Testing of Component-based Software *

A Model-based Approach to Regression Testing of Component-based Software * A Model-based Approach to Regression Testing of Component-based Software * Chuanqi Tao, Bixin Li School of Computer Science and Engineering Southeast University, Nanjing, China chuanqi.tao@sjsu.edu, bx.li@seu.edu.cn

More information

Evaluation of Flow Graph and Dependence Graphs for Program Representation

Evaluation of Flow Graph and Dependence Graphs for Program Representation Evaluation of Flow Graph and Dependence Graphs for Program Representation Vinay Arora Thapar University,Patiala CSED Rajesh Kumar Bhatia DCR Uni. of Sc. Tech, Murthal CSED Maninder Singh Thapar University,

More information

COVERAGE BASED TEST SUITE AUGMENTATION TECHNIQUES-A SURVEY

COVERAGE BASED TEST SUITE AUGMENTATION TECHNIQUES-A SURVEY COVERAGE BASED TEST SUITE AUGMENTATION TECHNIQUES-A SURVEY ABSTRACT Bharti Suri 1, Prabhneet Nayyar 2 1 Assistant Professor, USIT Guru Gobind Singh Indraprastha University, Delhi, INDIA bhartisuri@gmail.com

More information

Energy-Directed Test Suite Optimization

Energy-Directed Test Suite Optimization Energy-Directed Test Suite Optimization Ding Li, Cagri Sahin, James Clause, and William G.J. Halfond Computer Science Department University of Southern California, Los Angeles, CA, USA Computer and Information

More information

Chianti: A Prototype Change Impact Analysis Tool for Java

Chianti: A Prototype Change Impact Analysis Tool for Java Chianti: A Prototype Change Impact Analysis Tool for Java Xiaoxia Ren 1,, Fenil Shah 2,, Frank Tip 3,, Barbara G. Ryder 1,, Ophelia Chesley 1,, and Julian Dolby 3 Division of Computer and Information Sciences

More information

Probabilistic Slicing for Predictive Impact Analysis

Probabilistic Slicing for Predictive Impact Analysis Probabilistic Slicing for Predictive Impact Analysis Raul Santelices and Mary Jean Harrold College of Computing, Georgia Institute of Technology E-mail: {raul harrold}@cc.gatech.edu ABSTRACT Program slicing

More information

Lecture 24 Software Visualization and Metrics Polymetric Views. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim

Lecture 24 Software Visualization and Metrics Polymetric Views. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim Lecture 24 Software Visualization and Metrics Polymetric Views Today s Agenda (1) Discussion on Practical Applications of Software Evolution Research Concern Graph Delta Debugging Regression Test Selection

More information

Visualization of Exception Handling Constructs to Support Program Understanding

Visualization of Exception Handling Constructs to Support Program Understanding Visualization of Exception Handling Constructs to Support Program Understanding Hina Shah Carsten Görg and Mary Jean Harrold Supported by NSF under CCR-0205422, CCF-0429117, CCF-0541049, and CCF-0725202,

More information

Dependroid: A Tool for Helping Reduce Testing in Java Programs

Dependroid: A Tool for Helping Reduce Testing in Java Programs Master s Thesis Dependroid: A Tool for Helping Reduce Testing in Java Programs Simon Kämpe & Felix Hall Department of Computer Science Faculty of Engineering LTH Lund University, 2012 ISSN 1650-2884 LU-CS-EX:

More information

MonDe: Safe Updating through Monitored Deployment of New Component Versions

MonDe: Safe Updating through Monitored Deployment of New Component Versions MonDe: Safe Updating through Monitored Deployment of New Component Versions Alessandro Orso Georgia Institute of Technology Jonathan Cook New Mexico State University SPARC This work was supported in part

More information

Test Factoring: Focusing test suites on the task at hand

Test Factoring: Focusing test suites on the task at hand Test Factoring: Focusing test suites on the task at hand, MIT ASE 2005 1 The problem: large, general system tests My test suite One hour Where I changed code Where I broke code How can I get: Quicker feedback?

More information

Alias Analysis & Points-to Analysis. Hwansoo Han

Alias Analysis & Points-to Analysis. Hwansoo Han Alias Analysis & Points-to Analysis Hwansoo Han May vs. Must Information May information The information is true on some path through a CFG Must information The information is true on all paths through

More information

Refactoring Practice: How it is and How it Should be Supported

Refactoring Practice: How it is and How it Should be Supported Refactoring Practice: How it is and How it Should be Supported Zhenchang Xing and EleniStroulia Presented by: Sultan Almaghthawi 1 Outline Main Idea Related Works/Literature Alignment Overview of the Case

More information

Improving software testing cost-effectiveness through dynamic partitioning

Improving software testing cost-effectiveness through dynamic partitioning University of Wollongong Research Online Faculty of Informatics - Papers (Archive) Faculty of Engineering and Information Sciences 2009 Improving software testing cost-effectiveness through dynamic partitioning

More information

Helix Test Case Management Best Practices

Helix Test Case Management Best Practices The following information provides best practices for test case management activities in Helix ALM. These best practices are guidelines. Your testing process and business rules should dictate whether or

More information

AVA: Supporting Debugging With Failure Interpretations

AVA: Supporting Debugging With Failure Interpretations AVA: Supporting Debugging With Failure Interpretations Fabrizio Pastore and Leonardo Mariani University of Milano Bicocca Milan, Italy {pastore,mariani}@disco.unimib.it Abstract Several debugging techniques

More information

Regression Testing of GUIs

Regression Testing of GUIs Regression Testing of GUIs Atif M. Memon Dept. of Computer Science University of Maryland & Fraunhofer Center Maryland College Park, MD 20742 atif@cs.umd.edu Mary Lou Soffa Dept. of Computer Science University

More information

An Empirical Evaluation of Test Adequacy Criteria for Event-Driven Programs

An Empirical Evaluation of Test Adequacy Criteria for Event-Driven Programs An Empirical Evaluation of Test Adequacy Criteria for Event-Driven Programs Jaymie Strecker Department of Computer Science University of Maryland College Park, MD 20742 November 30, 2006 Abstract In model-based

More information

Prioritization of Regression Tests using Singular Value Decomposition with Empirical Change Records

Prioritization of Regression Tests using Singular Value Decomposition with Empirical Change Records Prioritization of Regression Tests using Singular Value Decomposition with Empirical Change Records Mark Sherriff 1,2, Mike Lake 1, and Laurie Williams 2 1 IBM, 2 North Carolina State University mark.sherriff@ncsu.edu,

More information

ARTICLE IN PRESS. The Journal of Systems and Software xxx (2011) xxx xxx. Contents lists available at ScienceDirect

ARTICLE IN PRESS. The Journal of Systems and Software xxx (2011) xxx xxx. Contents lists available at ScienceDirect The Journal of Systems and Software xxx (2011) xxx xxx Contents lists available at ScienceDirect The Journal of Systems and Software j our na l ho mepage: www.elsevier.com/locate/jss Test coverage optimization

More information

Directed Test Suite Augmentation

Directed Test Suite Augmentation University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Computer Science and Engineering: Theses, Dissertations, and Student Research Computer Science and Engineering, Department

More information

Finding latent code errors via machine learning over program executions

Finding latent code errors via machine learning over program executions Finding latent code errors via machine learning over program executions Yuriy Brun Laboratory for Molecular Science University of Southern California Los Angeles, CA 90089 USA brun@alum.mit.edu Michael

More information

Cross-project defect prediction. Thomas Zimmermann Microsoft Research

Cross-project defect prediction. Thomas Zimmermann Microsoft Research Cross-project defect prediction Thomas Zimmermann Microsoft Research Upcoming Events ICSE 2010: http://www.sbs.co.za/icse2010/ New Ideas and Emerging Results ACM Student Research Competition (SRC) sponsored

More information

Automatic Generation of Oracles for Exceptional Behaviors

Automatic Generation of Oracles for Exceptional Behaviors Automatic Generation of Oracles for Exceptional Behaviors ISSTA * * Artifact Consistent * Complete * Well Documented * Easy to Reuse * Evaluated * AEC * Alberto Goffi alberto.goffi@usi.ch USI Università

More information

Testing3. State-based Testing

Testing3. State-based Testing Testing3 State-based testing Inheritance Testing interacting classes Communication diagrams Object relation graph (ORD) Regression testing GUI Testing 1 State-based Testing Natural representation with

More information

An Integrated Regression Testing Framework to Multi-Threaded Java Programs

An Integrated Regression Testing Framework to Multi-Threaded Java Programs An Integrated Regression Testing Framework to Multi-Threaded Java Programs Bixin Li 1,2, Yancheng Wang 1, and LiLi Yang 1 1 School of Computer Science and Engineering, Southeast University No.2 Sipailou

More information

Dynamic Management of Integration Testing for Self-Adaptive Systems

Dynamic Management of Integration Testing for Self-Adaptive Systems Dynamic Management of Integration Testing for Self-Adaptive Systems Carlos Eduardo da Silva Escola de Ciências e Tecnologia UFRN, Natal, RN, Brazil carlos.silva@ect.ufrn.br Rogério de Lemos School of Computing

More information

Automatically Finding Patches Using Genetic Programming. Westley Weimer, Claire Le Goues, ThanVu Nguyen, Stephanie Forrest

Automatically Finding Patches Using Genetic Programming. Westley Weimer, Claire Le Goues, ThanVu Nguyen, Stephanie Forrest Automatically Finding Patches Using Genetic Programming Westley Weimer, Claire Le Goues, ThanVu Nguyen, Stephanie Forrest Motivation Software Quality remains a key problem Over one half of 1 percent of

More information

Efficiently Monitoring Data-Flow Test Coverage

Efficiently Monitoring Data-Flow Test Coverage Efficiently Monitoring Data-Flow Test Coverage Raul Santelices Georgia Institute of Technology College of Computing Atlanta, Georgia, USA 30332 raul@cc.gatech.edu Mary Jean Harrold Georgia Institute of

More information

An Empirical Study of the Effects of Test-Suite Reduction on Fault Localization

An Empirical Study of the Effects of Test-Suite Reduction on Fault Localization An Empirical Study of the Effects of Test-Suite Reduction on Fault Localization Yanbing Yu yyu@cc.gatech.edu James A. Jones jjones@cc.gatech.edu College of Computing Georgia Institute of Technology Atlanta,

More information

InsectJ: A Generic Instrumentation Framework for Collecting Dynamic Information within Eclipse

InsectJ: A Generic Instrumentation Framework for Collecting Dynamic Information within Eclipse InsectJ: A Generic Instrumentation Framework for Collecting Dynamic Information within Eclipse Arjan Seesing and Alessandro Orso Georgia Institute of Technology This work was supported in part by an IBM

More information