首页> 外文会议>2018 IEEE/ACM 40th International Conference on Software Engineering: Companion >SQLInspect: A Static Analyzer to Inspect Database Usage in Java Applications
【24h】

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

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

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:我们介绍了SQLInspect,该工具旨在帮助开发人员处理嵌入在Java应用程序中的SQL代码。它作为插件集成到Eclipse中,该插件能够通过静态字符串分析从Java代码提取SQL查询。它解析提取的查询并对它们执行各种分析。结果,人们可以轻松地探究访问数据库给定部分或负责构造给定SQL查询的源代码。与SQL有关的度量标准和常见的编码错误也用于发现执行效率低下或缺陷的SQL语句,并标识设计不良的类,例如那些通过复杂的控制流路径构造许多查询的类。 SQLInspect是一种新颖的工具,它依赖于最新的查询提取方法。当前,它支持Java应用程序,这些Java应用程序可使用为MySQL或Apache Impala编写的JDBC和SQL代码。在http://perso.unamur.be/~cnagy/sqlinspect上查看SQLInspect的实时演示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号