Faculty Seminar Series – Kathryn Stolee

Date(s) - 24 Mar 2014
1:10 PM - 2:00 PM

3043 ECpE Building Addition

Kathryn Stolee
Kathryn Stolee

Title: Understanding and Enabling Source Code Reuse

Speaker: Kathryn Stolee, Harpole-Pentair Assistant Professor

Abstract: Programmers frequently use keyword searches to find source code in large repositories. However, to do this effectively, programmers must specify keyword queries that capture implementation details of their desired code. I propose that code search should be about behavior, not about keywords. 

In this talk, I will present an approach to code search that allows programmers to provide inputs and outputs that define the behavior of their desired code. This approach indexes source code repositories by symbolically analyzing the programs and program fragments and transforming them into constraints representing their behavior. Results are identified using an SMT solver, which, given an input/output specification and the constraint representation of a program fragment, determines if the fragment matches the desired behavior. While promoting code reuse, this approach enables reuse where it was not possible before: the constraints can be relaxed, identifying code that approximately matches the specification. Further, the solver can then guide the instantiation of the code to produce the desired behavior. I will illustrate the generality of the approach by showing its instantiation in subsets of three languages, the Java String library, Yahoo! Pipes mashups, and SQL select statements. I will conclude by sharing my vision for new research directions related to this semantic approach to code search.

Download event reminder

back to Seminars list

Events Calendar

<< Jun 2018 >>
27 28 29 30 31 1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Contact Information

Interested in giving a seminar? Contact Professor Ratnesh Kumar.

Announcements and publicity by Kristin Clague, and scheduling by the ECpE department secretary.