SCOTCH Improving Test-to-Code Traceability using Slicing and Conceptual Coupling Abdallah Qusef*, Gabriele Bavota *, Rocco Oliveto ! Andrea De Lucia*, David Binkley " * Software Engineering Lab, University of Salerno, Italy ! STAT Department, University of Molise, Italy " Loyola University Maryland, USA
30
Embed
Dynamic Analysis - SCOTCH: Improving Test-to-Code Traceability using Slicing and Conceptual Coupling
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SCOTCH Improving Test-to-Code Traceability
using Slicing and Conceptual Coupling
Abdallah Qusef*, Gabriele Bavota*, Rocco Oliveto!
Andrea De Lucia*, David Binkley"
* Software Engineering Lab, University of Salerno, Italy! STAT Department, University of Molise, Italy
" Loyola University Maryland, USA
SCOTCHSlicing and COupling based Test to Code trace Hunter
ContextTest-to-code traceability recovery
Empirical EvaluationSCOTCH vs Naming Convention vs LCBA vs DFA
Test-to-code traceability recovery
context
goalTestSuiteClass
Class_1TESTEDCLASS
Class_2TESTEDCLASS
Test-to-code traceability
Software Comprehension
Regression Testing
Impact Analysis
Refactoring
challenges
retrieve links between classes
challenges
test-to-code traceability
TestSuite
Class_1
Class_2
Class_3
Class_4
calls
calls
callscalls
challenges
test-to-code traceability
TestSuite
Class_1
Class_2
Class_3
Class_4
calls
calls
callscalls mockobject
helperclass
helperclass
TESTEDCLASS
state of the art
state of the art
Van Rompaey et al.CSMR 2009
Qusef et al.ICSM 2010
state of the art
Van Rompaey et al.CSMR 2009
Qusef et al.ICSM 2010
Last Call Before Assert
Naming Convention
state of the art
Van Rompaey et al.CSMR 2009
Qusef et al.ICSM 2010
Data Flow Analysis
SCOTCH
Slicing and COupling based Test to Code trace Hunter
TestSuiteIdentifying the last assertstatement for each method
assertTrue(--)
slicing critirion
Dynamic Slicing
sliceExtracting the classes
Class in STS
Conceptual Coupling
Class in CTS
examplepublic class RemoveElementsTest extends TestCase {