arrow
返回

An Efficient and Scalable Platform for Java Source Code Analysis Using Overlaid Graph Representations

delete2020-01-01
delete18
delete
OA
AI
O
Oscar Rodriguez-Prieto
A
Alan Mycroft
F
Francisco Ortín *
DOI:10.1109/ACCESS.2020.2987631delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Although source code programs are commonly written as textual information, they enclose syntactic and semantic information that is usually represented as graphs. This information is used for many different purposes, such as static program analysis, advanced code search, coding guideline checking, software metrics computation, and extraction of semantic and syntactic information to create predictive models. Most of the existing systems that provide these kinds of services are designed ad hoc for the particular purpose they are aimed at. For this reason, we created ProgQuery, a platform to allow users to write their own Java program analyses in a declarative fashion, using graph representations. We modify the Java compiler to compute seven syntactic and semantic representations, and store them in a Neo4j graph database. Such representations are overlaid, meaning that syntactic and semantic nodes of the different graphs are interconnected to allow combining different kinds of information in the queries/analyses. We evaluate ProgQuery and compare it to the related systems. Our platform outperforms the other systems in analysis time, and scales better to program sizes and analysis complexity. Moreover, the queries coded show that ProgQuery is more expressive than the other approaches. The additional information stored by ProgQuery increases the database size and associated insertion time, but these increases are significantly lower than the query/analysis performance gains obtained.
Keyword:
Java
Syntactics
Semantics
Tools
Databases
Ciphers
Database languages
Code analysis
graph database
coding guidelines
declarative query language
program representation
Cypher
Java
Neo4j
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

U
University of Cambridge
学者数:
7.7W
论文数: 7.1W
被引数: 13.7W
U
University of Oviedo
学者数:
1.1W
论文数: 1.0W
被引数: 15
引用论文

引用论文

Pesticides of natural origin
err2009-01-01
err0
PREAI
errWilliam Charles Evans; Daphne Evans
err分享
err收藏
Digital Imaging and Vision Analysis in Science Project improves the self-efficacy and skill of undergraduate students in computational work
err
IF0
err2020-10-26
err0
errOAAI
errTessa Durham Brooks; Raychelle Burks; Erin Doyle; Mark Meysenburg; Tim Frey
err分享
err收藏
err分享
err收藏
学者 查看更多内容