SQLInspect: A Static Analyzer to Inspect Database Usage in Java Applications

SQLInspect: A Static Analyzer to Inspect Database Usage in Java Applications
复制标题

SQLInspect:用于检查 Java 应用程序中数据库使用情况的静态分析器

DOI:
10.1145/3183440.3183496
复制
发表时间:
2018
期刊:
2018 IEEE/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion)
影响因子:
--
通讯作者:
Anthony Cleve
Anthony Cleve
中科院分区:
--
文献类型:
--
作者:
Csaba Nagy;Anthony Cleve

文献摘要

参考文献

被引文献

相似文献

我们提供SQLinspect,该工具旨在协助处理Java应用程序中嵌入的SQL代码的开发人员。它被整合到日食中,作为能够通过静态字符串分析从Java代码中提取SQL查询的插件。它解析提取的查询并对它们进行各种分析。结果,人们可以轻松地探索访问数据库给定部分的源代码,或者负责构建给定SQL查询的源代码。与SQL相关的指标和常见的编码错误也用于发现效率低下或缺陷执行SQL语句并识别设计良好的类,例如通过复杂的控制流路径构建许多查询的类别。 Sqlinspect是一种依赖最近的查询提取方法的新颖工具。它目前支持使用JDBC和为MySQL或Apache Impala编写的SQL代码工作的Java应用程序。在http://perso.unamur.be/~cnagy/sqlinspect上查看SQLinspect的实时演示。
We present SQLInspect, a tool intended to assist developers who deal with SQL code embedded in Java applications. It is integrated into Eclipse as a plug-in that is able to extract SQL queries from Java code through static string analysis. It parses the extracted queries and performs various analyses on them. As a result, one can readily explore the source code which accesses a given part of the database, or which is responsible for the construction of a given SQL query. SQL-related metrics and common coding mistakes are also used to spot inefficiently or defectively performing SQL statements and to identify poorly designed classes, like those that construct many queries via complex control-flow paths. SQLInspect is a novel tool that relies on recent query extraction approaches. It currently supports Java applications working with JDBC and SQL code written for MySQL or Apache Impala. Check out the live demo of SQLInspect at http://perso.unamur.be/~cnagy/sqlinspect.
DOI: --
发表时间: 2010
期刊:
影响因子: --
作者:
Kitazaki;M.;Nick Campbell;ニック・キャンベル;Kimiko GOTO;ニック・キャンベル;ニック・キャンベル
通讯作者: ニック・キャンベル