作者
David Anderson, Mark Hills
发表日期
2017/2/20
研讨会论文
2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER 2017)
页码范围
452-456
出版商
IEEE
简介
Most PHP applications use databases, with developers including both static queries, given directly in the code, and dynamic queries, which are based on a mixture of static text, computed values, and user input. In this paper, we focus specifically on how developers create queries that are then used with the original MySQL API library. Based on a collection of open-source PHP applications, our initial results show that many of these queries are created according to a small collection of query construction patterns. We believe that identifying these patterns provides a solid base for program analysis, comprehension, and transformation tools that need to reason about database queries, including tools to support renovating existing PHP code to support safer, more modern database access APIs.
引用总数
2017201820192020202120222023336242
学术搜索中的文章
D Anderson, M Hills - 2017 ieee 24th international conference on software …, 2017