Paper: SCOTCH: Improving Test-to-Code Traceability using Slicing and Conceptual Coupling
Authors: Abdallah Qusef, Gabriele Bavota, Rocco Oliveto, Andrea De Lucia, David Binkley
Session: Research Track Session 3: Dynamic Analysis
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Dynamic Analysis - SCOTCH: Improving Test-to-Code Traceability using Slicing and Conceptual Coupling
1. 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
2. Context
Test-to-code traceability recovery
SCOTCH
Slicing and COupling based Test to Code trace Hunter
Empirical Evaluation
SCOTCH vs Naming Convention vs LCBA vs DFA
7. test-to-code traceability
Class_1
ll s Class_2
ca
TestSuite
calls
calls
Class_3
ca
lls
Class_4
challenges
8. test-to-code traceability
Class_1
hel
per
cla
ss
ll s Class_2
ca
TES
TestSuite TED
CLA
calls SS
calls
Class_3
ca
lls moc
Class_4 obj k
ect
hel
per
cla
ss
challenges
14. TestSuite
assertTrue(--)
Identifying the last assert
statement for each method slicing critirion
Dynamic Slicing
Class in STS
Extracting the classes slice
Class in CTS
Conceptual Coupling