Dynamic Specification Mining with Out-of-Scope Effect Awareness and Result Classification

Date and time: 
Thursday, July 20, 2017 - 10:00
Location: 
220 Deschutes
Author(s):
Ziyad Alsaeed
University of Oregon
Host/Committee: 
  • Michal Young (Chair)
  • Stephen Fickas
  • Christopher Wilson

Abstract

Dynamic specification mining techniques attempt to fill gaps in missing or decaying documentation of software systems to support software maintenance tasks such as testing or bug fixing. Current dynamic mining techniques are blind to common coding styles, and in particular to design patterns that involve dynamic data structures such as lists of listeners for event notification. Because they cannot recover properties involving these dynamic structures, they may produce incomplete or misleading specifications (e.g., suggesting a method may be ``pure'' because its effects are produced indirectly through event notification). We have devised an extension to current dynamic specification mining techniques that ameliorates this shortcoming. The key insight is to monitor not only values dynamically, but also properties to track dynamic data structures commonly used in design patterns. We have implemented this approach as an extension to the instrumentation component of Daikon, the leading example of dynamic invariant mining in the research literature. We have applied our tool to widely used software systems published on GitHub to illustrate and evaluate the usefulness of this pliable monitoring for elucidating the overall behavior of target systems.