Example-based Program Querying. Kellens, A., Brichau, J., & De Roover, C. 6 2008. International Workshop on Query Technologies and Applications for Program Comprehension (QTAPC 2008) ; Conference date: 10-06-2008 Through 10-06-2008
abstract   bibtex   
Program query languages are an essential component of program analysis and manipulation systems. In each such system, a query identifies the source-code parts of interest by reasoning over a program representation that is dedicated to the intent of the system (e.g. call-graphs to detect behavioral flaws, abstract syntax trees for refactorings, concrete source code to verify programming conventions,etc.). In order to detect a wide variety of such patterns of interest, or more importantly, to detect patterns that require a combination of such program representations, developers must understand all the different applicable representations and techniques. We therefore present a logic based language that allows the program's implementation to be queried using concrete source code templates that are matched against a combination of structural and behavioral program representations. These representations include call-graphs, points-to analysis results and abstract syntax trees that are uniformly composed through a customizable unification procedure. The result of our approach is that developers can detect patterns in the queried program using source code excerpts (embedded in logic queries) which act as prototypical samples of the structure and behavior they intend to match.
@conference{e6be211b6e4b43958f0c4cf587316931,
  title    = "Example-based Program Querying",
  abstract = "Program query languages are an essential component of program analysis and manipulation systems. In each such system, a query identifies the source-code parts of interest by reasoning over a program representation that is dedicated to the intent of the system (e.g. call-graphs to detect behavioral flaws, abstract syntax trees for refactorings, concrete source code to verify programming conventions,etc.). In order to detect a wide variety of such patterns of interest, or more importantly, to detect patterns that require a combination of such program representations, developers must understand all the different applicable representations and techniques. We therefore present a logic based language that allows the program's implementation to be queried using concrete source code templates that are matched against a combination of structural and behavioral program representations. These representations include call-graphs, points-to analysis results and abstract syntax trees that are uniformly composed through a customizable unification procedure. The result of our approach is that developers can detect patterns in the queried program using source code excerpts (embedded in logic queries) which act as prototypical samples of the structure and behavior they intend to match.",
  keywords = "Program comprehension, Program querying",
  author   = "Andy Kellens and Johan Brichau and {De Roover}, Coen",
  year     = "2008",
  month    = "6",
  day      = "10",
  language = "English",
  note     = "International Workshop on Query Technologies and Applications for Program Comprehension (QTAPC 2008) ; Conference date: 10-06-2008 Through 10-06-2008",
}

Downloads: 0